Commit 0e955c1b authored by Ad Schellevis's avatar Ad Schellevis

(ids) add template for user defined rule settings

parent 5819684b
rc.conf.d:/etc/rc.conf.d/suricata
rules.config:/usr/local/etc/suricata/rules.config
#
# OPNsense suricata rule template, this configuration will be used together with all installed
# rules to generate the desired ruleset for OPNsense.
#
{% if helpers.exists('OPNsense.IDS.rules.rule') %}
{% for rule in helpers.toList('OPNsense.IDS.rules.rule') %}
[rule_{{rule.sid|default('0')}}]
enabled={{ rule.enabled|default('0') }}
{% endfor %}
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment