mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-27 18:33:31 +01:00
so defaults filebeat modules
This commit is contained in:
16
salt/filebeat/etc/module_config.yml.jinja
Normal file
16
salt/filebeat/etc/module_config.yml.jinja
Normal file
@@ -0,0 +1,16 @@
|
||||
# DO NOT EDIT THIS FILE
|
||||
{% for module in MODULES.modules.keys() %}
|
||||
- module: {{ module }}
|
||||
{%- for fileset in MODULES.modules[module] %}
|
||||
{{ fileset }}:
|
||||
enabled: {{ MODULES.modules[module][fileset].enabled }}
|
||||
{#- 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 %}
|
||||
@@ -1,16 +0,0 @@
|
||||
# DO NOT EDIT THIS FILE
|
||||
{% for module in THIRDPARTY.modules.keys() %}
|
||||
- module: {{ module }}
|
||||
{%- for fileset in THIRDPARTY.modules[module] %}
|
||||
{{ fileset }}:
|
||||
enabled: {{ THIRDPARTY.modules[module][fileset].enabled }}
|
||||
{#- only manage the settings if the fileset is enabled #}
|
||||
{%- if THIRDPARTY.modules[module][fileset].enabled %}
|
||||
{%- for var, value in THIRDPARTY.modules[module][fileset].items() %}
|
||||
{%- if var|lower != 'enabled' %}
|
||||
{{ var }}: {{ value }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user