LOAD to LOCAL in local.zeek and sort local.zeek and zeekctl.cfg output

This commit is contained in:
m0duspwnens
2020-04-28 12:08:32 -04:00
parent ca42850a0c
commit c46a45f00f
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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 %}