mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
pillarize idstools - https://github.com/Security-Onion-Solutions/securityonion/issues/583
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
{% set disabled_sids = salt['pillar.get']('idstools:sids:disabled', {}) -%}
|
||||
|
||||
# idstools - disable.conf
|
||||
|
||||
# Example of disabling a rule by signature ID (gid is optional).
|
||||
@@ -8,3 +10,7 @@
|
||||
# - All regular expression matches are case insensitive.
|
||||
# re:hearbleed
|
||||
# re:MS(0[7-9]|10)-\d+
|
||||
|
||||
{%- for sid in disabled_sids %}
|
||||
{{ sid }}
|
||||
{% endfor -%}
|
||||
@@ -1,3 +1,5 @@
|
||||
{% set enabled_sids = salt['pillar.get']('idstools:sids:enabled', {}) -%}
|
||||
|
||||
# idstools-rulecat - enable.conf
|
||||
|
||||
# Example of enabling a rule by signature ID (gid is optional).
|
||||
@@ -8,3 +10,7 @@
|
||||
# - All regular expression matches are case insensitive.
|
||||
# re:hearbleed
|
||||
# re:MS(0[7-9]|10)-\d+
|
||||
|
||||
{%- for sid in enabled_sids %}
|
||||
{{ sid }}
|
||||
{% endfor -%}
|
||||
@@ -66,3 +66,5 @@ so-idstools:
|
||||
- binds:
|
||||
- /opt/so/conf/idstools/etc:/opt/so/idstools/etc:ro
|
||||
- /opt/so/rules/nids:/opt/so/rules/nids:rw
|
||||
- watch:
|
||||
- file: idstoolsetcsync
|
||||
|
||||
Reference in New Issue
Block a user