summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-23 21:54:41 +0200
committerChristian Breunig <christian@breunig.cc>2024-05-23 21:54:41 +0200
commit01464a6069fa7cf02d5545c02ed03fa69679c32c (patch)
tree8abff24b247a53a5a1c5b3222f74846b0f35c1d5 /data/templates
parent2af04a53a4c1aa30118f4c799eb7d1c4cd63be66 (diff)
downloadvyos-1x-01464a6069fa7cf02d5545c02ed03fa69679c32c.tar.gz
vyos-1x-01464a6069fa7cf02d5545c02ed03fa69679c32c.zip
suricata: T751: use key_mangling in get_config_dict()
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/ids/suricata.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/ids/suricata.j2 b/data/templates/ids/suricata.j2
index 1bd90b67f..585db93eb 100644
--- a/data/templates/ids/suricata.j2
+++ b/data/templates/ids/suricata.j2
@@ -15,12 +15,12 @@
vars:
# more specific is better for alert accuracy and performance
address-groups:
-{% for (name, value) in suricata['address-group'] %}
+{% for (name, value) in suricata['address_group'] %}
{{ name }}: "[{{ value | join(',') }}]"
{% endfor %}
port-groups:
-{% for (name, value) in suricata['port-group'] %}
+{% for (name, value) in suricata['port_group'] %}
{{ name }}: "[{{ value | join(',') }}]"
{% endfor %}