(ids) add configuration template for rule download tool

This commit is contained in:
Ad Schellevis 2015-06-30 21:47:06 +02:00
parent 834a23d086
commit e8d67e8ffd
2 changed files with 12 additions and 0 deletions

View File

@ -2,3 +2,4 @@ rc.conf.d:/etc/rc.conf.d/suricata
rules.config:/usr/local/etc/suricata/rules.config
suricata.yaml:/usr/local/etc/suricata/suricata.yaml
newsyslog.conf:/etc/newsyslog.conf.d/suricata
rule-updater.config:/usr/local/etc/suricata/rule-updater.config

View File

@ -0,0 +1,11 @@
{#
create configuration for OPNsense suricata rule file downloader
#}
# autogenerated, do not edit.
{% if helpers.exists('OPNsense.IDS.files.file') %}
{% for file in helpers.toList('OPNsense.IDS.files.file') %}
[{{file.filename|default('-')}}]
enabled={{ file.enabled|default('0') }}
{% endfor %}
{% endif %}