mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
sort local.zeek so redef is last
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
{%- set ALLOWEDOPTIONS = [ '@load', '@load-sigs', 'redef' ] %}
|
{%- set ALLOWEDOPTIONS = [ '@load', '@load-sigs', 'redef' ] %}
|
||||||
|
|
||||||
{%- for k, v in LOCAL.items() %}
|
{%- for k, v in LOCAL.items() | sort %}
|
||||||
{%- if k|lower in ALLOWEDOPTIONS %}
|
{%- if k|lower in ALLOWEDOPTIONS %}
|
||||||
{%- for li in v|sort %}
|
{%- for li in v %}
|
||||||
{{ k }} {{ li }}
|
{{ k }} {{ li }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user