mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-27 19:33:14 +01:00
19 lines
710 B
Django/Jinja
19 lines
710 B
Django/Jinja
# DO NOT EDIT THIS FILE
|
|
{%- if MODULES.modules is iterable and MODULES.modules is not string and MODULES.modules|length > 0%}
|
|
{%- for module in MODULES.modules.keys() %}
|
|
- module: {{ module }}
|
|
{%- for fileset in MODULES.modules[module] %}
|
|
{{ fileset }}:
|
|
enabled: {{ MODULES.modules[module][fileset].enabled|string|lower }}
|
|
{#- only manage the settings if the fileset is enabled #}
|
|
{%- if MODULES.modules[module][fileset].enabled %}
|
|
{%- for var, value in MODULES.modules[module][fileset].items() %}
|
|
{%- if var|lower != 'enabled' %}
|
|
{{ var }}: {{ value }}
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
{%- endfor %}
|
|
{% endif %}
|