Use list not string

This commit is contained in:
DefensiveDepth
2024-04-04 16:58:39 -04:00
parent 49d5fa95a2
commit ca807bd6bd

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 #}