mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
simplfy
This commit is contained in:
@@ -5,8 +5,7 @@
|
|||||||
#
|
#
|
||||||
{% for sn, details in suricata_defaults.suricata.classification.items() -%}
|
{% for sn, details in suricata_defaults.suricata.classification.items() -%}
|
||||||
{% if not details -%}
|
{% if not details -%}
|
||||||
{% set details = {} -%}
|
{% set details = {'description': 'The description is not set', 'priority': '1'} -%}
|
||||||
{% do details.update({'description': 'The description is not set', 'priority': '1'}) -%}
|
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
config classification: {{sn}}, {{details.get('description', 'The description is not set')}}, {{details.get('priority', '1')}}
|
config classification: {{sn}}, {{details.get('description', 'The description is not set')}}, {{details.get('priority', '1')}}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user