mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-04 06:13:31 +01:00
change how we populate local.zeek - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/585
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
##! Local site policy.
|
||||
|
||||
{%- set ALLOWEDOPTIONS = [ 'load', 'load-sigs', 'redef' ] %}
|
||||
{%- set ALLOWEDOPTIONS = [ '@load', '@load-sigs', 'redef' ] %}
|
||||
|
||||
{%- for k, v in LOCAL.items() %}
|
||||
{%- if k|lower in ALLOWEDOPTIONS %}
|
||||
{%- for li in v|sort %}
|
||||
@{{ k }} {{ li }}
|
||||
{{ k }} {{ li }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
@@ -6,4 +6,4 @@
|
||||
{%- if option|lower in ALLOWEDOPTIONS %}
|
||||
{{ option }} = {{ ZEEKCTL[option] }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
Reference in New Issue
Block a user