m0duspwnens
2020-06-29 11:21:47 -04:00
parent b99b19ce58
commit 8ee2142de4
3 changed files with 14 additions and 0 deletions

View File

@@ -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 -%}

View File

@@ -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 -%}

View File

@@ -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