Skip to content
This repository has been archived by the owner. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ it to the minions.
cd hubblestack-nebula.git
mkdir -p /srv/salt/_modules/
cp _modules/nebula_osquery.py /srv/salt/_modules/
cp pillar.example /srv/pillar/hubblestack_nebula.sls
mkdir /srv/salt/hubblestack_nebula
cp hubblestack_nebula/hubblestack_nebula_queries.yaml /srv/salt/hubblestack_nebula

salt \* saltutil.sync_modules

Expand Down
4 changes: 2 additions & 2 deletions _modules/nebula_osquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ def __virtual__():


def queries(query_group,
query_file='salt://hubblestack_nebula_queries.yaml',
query_file='salt://hubblestack_nebula/hubblestack_nebula_queries.yaml',
verbose=False):
'''
Run the set of queries represented by ``query_group`` from the
configuration in the pillar key ``nebular_osquery``.
configuration in the file query_file

query_group
Group of queries to run
Expand Down