mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-26 22:47:49 +02:00
LOAD to LOCAL in local.zeek and sort local.zeek and zeekctl.cfg output
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
{%- set ALLOWEDOPTIONS = [ 'load', 'load-sigs', 'redef' ] %}
|
||||
|
||||
{%- for k, v in LOAD.items() %}
|
||||
{%- for k, v in LOCAL.items() %}
|
||||
{%- if k|lower in ALLOWEDOPTIONS %}
|
||||
{%- for li in v %}
|
||||
@{{ k }} {{ v }}
|
||||
{%- for li in v|sort %}
|
||||
@{{ k }} {{ li }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
Reference in New Issue
Block a user