This commit is contained in:
m0duspwnens
2022-05-26 11:51:17 -04:00
parent 1bfde852f5
commit 53d6e1d30d

View File

@@ -5,8 +5,7 @@
#
{% for sn, details in suricata_defaults.suricata.classification.items() -%}
{% if not details -%}
{% set details = {} -%}
{% do details.update({'description': 'The description is not set', 'priority': '1'}) -%}
{% set details = {'description': 'The description is not set', 'priority': '1'} -%}
{% endif -%}
config classification: {{sn}}, {{details.get('description', 'The description is not set')}}, {{details.get('priority', '1')}}
{% endfor -%}