Merge pull request #904 from Security-Onion-Solutions/issue/583

Issue/583
This commit is contained in:
Josh Patterson
2020-06-29 16:17:22 -04:00
committed by GitHub
4 changed files with 13 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
{% 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 +9,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,4 @@
{% 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 +9,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

View File

@@ -1 +1 @@
# Put your own custom Snort/Suricata rules in here. # Put your own custom Snort/Suricata rules in /opt/so/saltstack/local/salt/idstools/localrules/.