Merge pull request #12756 from Security-Onion-Solutions/2.4/detections-defaults

Use list not string
This commit is contained in:
Josh Brower
2024-04-04 17:00:38 -04:00
committed by GitHub

View File

@@ -32,7 +32,7 @@
{# do not automatically enable Sigma rules if install is Eval or Import #} {# do not automatically enable Sigma rules if install is Eval or Import #}
{% if grains['role'] in ['so-eval', 'so-import'] %} {% if grains['role'] in ['so-eval', 'so-import'] %}
{% do SOCMERGED.config.server.modules.elastalertengine.update({'autoEnabledSigmaRules': ""}) %} {% do SOCMERGED.config.server.modules.elastalertengine.update({'autoEnabledSigmaRules': []}) %}
{% endif %} {% endif %}
{# remove these modules if detections is disabled #} {# remove these modules if detections is disabled #}