mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +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
|
# idstools - disable.conf
|
||||||
|
|
||||||
# Example of disabling a rule by signature ID (gid is optional).
|
# Example of disabling a rule by signature ID (gid is optional).
|
||||||
@@ -8,3 +10,7 @@
|
|||||||
# - All regular expression matches are case insensitive.
|
# - All regular expression matches are case insensitive.
|
||||||
# re:hearbleed
|
# re:hearbleed
|
||||||
# re:MS(0[7-9]|10)-\d+
|
# 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
|
# idstools-rulecat - enable.conf
|
||||||
|
|
||||||
# Example of enabling a rule by signature ID (gid is optional).
|
# Example of enabling a rule by signature ID (gid is optional).
|
||||||
@@ -8,3 +10,7 @@
|
|||||||
# - All regular expression matches are case insensitive.
|
# - All regular expression matches are case insensitive.
|
||||||
# re:hearbleed
|
# re:hearbleed
|
||||||
# re:MS(0[7-9]|10)-\d+
|
# re:MS(0[7-9]|10)-\d+
|
||||||
|
|
||||||
|
{%- for sid in enabled_sids %}
|
||||||
|
{{ sid }}
|
||||||
|
{% endfor -%}
|
||||||
@@ -66,3 +66,5 @@ so-idstools:
|
|||||||
- binds:
|
- binds:
|
||||||
- /opt/so/conf/idstools/etc:/opt/so/idstools/etc:ro
|
- /opt/so/conf/idstools/etc:/opt/so/idstools/etc:ro
|
||||||
- /opt/so/rules/nids:/opt/so/rules/nids:rw
|
- /opt/so/rules/nids:/opt/so/rules/nids:rw
|
||||||
|
- watch:
|
||||||
|
- file: idstoolsetcsync
|
||||||
|
|||||||
Reference in New Issue
Block a user