Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryxias committed Mar 27, 2020
1 parent fec062b commit 8f97786
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 10 additions & 6 deletions docs/source/config-global.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,23 @@ Configuration
],
"rule_locations": [
"rules"
],
"scheduled_query_locations": [
"scheduled_queries"
]
}
}
Options
-------
====================== ============ ================= ===============
**Key** **Required** **Default** **Description**
---------------------- ------------ ----------------- ---------------
``matcher_locations`` Yes ``["matchers"]`` List of local paths where ``matchers`` are defined
``rule_locations`` Yes ``["rules"]`` List of local paths where ``rules`` are defined
====================== ============ ================= ===============
============================= ============= ========================= ===============
**Key** **Required** **Default** **Description**
----------------------------- ------------- ------------------------- ---------------
``matcher_locations`` Yes ``["matchers"]`` List of local paths where ``matchers`` are defined
``rule_locations`` Yes ``["rules"]`` List of local paths where ``rules`` are defined
``scheduled_query_locations`` Yes ``["scheduled_queries"]`` List of local paths where ``scheduled_queries`` are defined
============================= ============= ========================= ===============


**************
Expand Down
3 changes: 1 addition & 2 deletions streamalert/scheduled_queries/query_packs/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,4 @@ def register(cls, config):

@classmethod
def load_packs(cls, directories):
for dir in directories:
import_folders(dir)
import_folders(*directories)

0 comments on commit 8f97786

Please sign in to comment.