WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit be70c70

Browse files
author
Andrei Banaru
committed
fix: alert.digest_mode should be dynamic
1 parent 093d75b commit be70c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contentctl/output/templates/savedsearches_detections.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ action.sendtophantom.param.phantom_server = {{ detection.deployment.alert_action
6969
action.sendtophantom.param.sensitivity = {{ detection.deployment.alert_action.phantom.sensitivity | custom_jinja2_enrichment_filter(detection) }}
7070
action.sendtophantom.param.severity = {{ detection.deployment.alert_action.phantom.severity | custom_jinja2_enrichment_filter(detection) }}
7171
{% endif %}
72-
alert.digest_mode = 1
72+
alert.digest_mode = {% if detection.tags.throttling and detection.tags.throttling.fields %}0{% else %}1{% endif %}
7373
disabled = {{ (not detection.enabled_by_default) | lower }}
7474
enableSched = 1
7575
allow_skew = 100%

0 commit comments

Comments
 (0)