mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #904 from Security-Onion-Solutions/issue/583
Issue/583
This commit is contained in:
@@ -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 %}
|
||||||
@@ -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 %}
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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/.
|
||||||
Reference in New Issue
Block a user