1+ .. _nova_introduction :
2+
13Introduction
24============
35
@@ -12,13 +14,17 @@ track versioned, packaged updates to Hubble's components.
1214The second method installs directly from git. It should be considered bleeding
1315edge and possibly unstable.
1416
17+ .. _nova_installation :
18+
1519Installation
1620============
1721
1822Each of the four HubbleStack components have been packaged for use with Salt's
1923Package Manager (SPM). Note that all SPM installation commands should be done
2024on the *Salt Master *.
2125
26+ .. _nova_installation_config :
27+
2228**Required Configuration **
2329
2430Salt's Package Manager (SPM) installs files into ``/srv/spm/{salt,pillar} ``.
@@ -34,6 +40,8 @@ Ensure that this path is defined in your Salt Master's ``file_roots``:
3440
3541.. tip :: Remember to restart the Salt Master after making this change to the configuration.
3642
43+ .. _nova_installation_packages :
44+
3745Installation (Packages)
3846-----------------------
3947
@@ -43,8 +51,8 @@ repo for updates and bugfixes!)
4351
4452.. code-block :: shell
4553
46- wget https://spm.hubblestack.io/2016.7.0 /hubblestack_nova-2016.7.0 -1.spm
47- spm local install hubblestack_nova-2016.7.0 -1.spm
54+ wget https://spm.hubblestack.io/2016.7.1 /hubblestack_nova-2016.7.1 -1.spm
55+ spm local install hubblestack_nova-2016.7.1 -1.spm
4856
4957 You should now be able to sync the new modules to your minion(s) using the
5058``sync_modules `` Salt utility:
@@ -53,9 +61,11 @@ You should now be able to sync the new modules to your minion(s) using the
5361
5462 salt \* saltutil.sync_modules
5563
56- Once these modules are synced you are ready to run a HubbleStack Nova audit.
64+ Once these modules are synced you are ready to run a HubbleStack Nova audit.
5765
58- Skip to [Usage].
66+ Skip to :ref: `Usage <nova_usage >`.
67+
68+ .. _nova_installation_manual :
5969
6070Installation (Manual)
6171---------------------
@@ -74,13 +84,17 @@ it to the minions.
7484 salt \* saltutil.sync_modules
7585 salt \* hubble.sync
7686
87+ .. _nova_usage :
88+
89+ Skip to :ref: `Usage <nova_usage >`.
90+
7791Usage
7892=====
7993
8094There are four primary functions in the hubble.py module:
8195
82961. ``hubble.sync `` will sync the ``hubblestack_nova/ `` directory to the minion(s).
83- 2. ``hubble.load `` will load the synced audit modules and their yaml configuration files.
97+ 2. ``hubble.load `` will load the synced audit modules and their yaml configuration files.
84983. ``hubble.audit `` will audit the minion(s) using the YAML profile(s) you provide as comma-separated arguments
85994. ``hubble.top `` will audit the minion(s) using the ``top.nova `` configuration.
86100
@@ -110,6 +124,7 @@ Here are some example calls:
110124 # with "CIS"
111125 salt \* hubble.audit foo,bar tags=' CIS*'
112126
127+ .. _nova_usage_topfile :
113128
114129Nova Topfiles
115130-------------
@@ -148,6 +163,7 @@ Examples:
148163 salt ' *' hubble.top foo/bar/top.nova
149164 salt ' *' hubble.top foo/bar.nova verbose=True
150165
166+ .. _nova_usage_control :
151167
152168Compensating Control Configuration
153169----------------------------------
@@ -188,6 +204,7 @@ still run, but if any of the controlled checks fail, they will be removed from
188204``Failure `` and added to ``Controlled ``, and will be treated as a Success for
189205the purposes of compliance percentage.
190206
207+ .. _nova_usage_schedule :
191208
192209Schedule
193210--------
@@ -200,10 +217,19 @@ In order to run the audits once daily, you can use the following schedule:
200217 nova_day :
201218 function : hubble.top
202219 seconds : 86400
220+ kwargs :
221+ verbose : True
222+ show_profile : True
223+ returner : splunk_nova_return
224+ return_job : False
225+
226+ .. _nova_configuration :
203227
204228Configuration
205229=============
206230
231+ .. _nova_under_the_hood :
232+
207233Under the Hood
208234==============
209235
@@ -230,12 +256,16 @@ shown, change to False to disable behaviors):
230256 autosync : True
231257 autoload : True
232258
259+ .. _nova_development :
260+
233261Development
234262===========
235263
236264If you're interested in contributing to this project this section outlines the
237265structure and requirements for Nova audit module development.
238266
267+ .. _nova_development_anatomy :
268+
239269Anatomy of a Nova audit module
240270------------------------------
241271
@@ -257,7 +287,6 @@ Anatomy of a Nova audit module
257287 All Nova plugins should include the above header, expanding the docstring to
258288include full documentation
259289
260-
261290.. code-block :: python
262291
263292 import fnmatch
@@ -315,6 +344,8 @@ one-key dictionaries in the form of ``{<tag>: <string_description>}``, or a
315344list of one-key dictionaries in the form of ``{<tag>: <data_dict>} `` (in the
316345case of ``verbose ``).
317346
347+ .. _nova_contribute :
348+
318349Contribute
319350==========
320351
0 commit comments