Skip to content

Commit b7fa03e

Browse files
authored
Merge pull request #395 from splunk/email_action_fix
fixes #394, adds action.email to email output
2 parents 629bd88 + e60cc46 commit b7fa03e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contentctl/output/templates/savedsearches_detections.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ action.notable.param.severity = high
7373
{% endif %}
7474
{% endif %}
7575
{% if detection.deployment.alert_action.email %}
76+
action.email = 1
7677
action.email.subject.alert = {{ detection.deployment.alert_action.email.subject | custom_jinja2_enrichment_filter(detection) | escapeNewlines() }}
7778
action.email.to = {{ detection.deployment.alert_action.email.to }}
7879
action.email.message.alert = {{ detection.deployment.alert_action.email.message | custom_jinja2_enrichment_filter(detection) | escapeNewlines() }}

0 commit comments

Comments
 (0)