Skip to content

Commit ac0d920

Browse files
committed
Add appropriate updated
fields to savedsearches.conf
1 parent d93865a commit ac0d920

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contentctl/output/templates/savedsearches_detections.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@ cron_schedule = {{ detection.deployment.scheduling.cron_schedule }}
3535
dispatch.earliest_time = {{ detection.deployment.scheduling.earliest_time }}
3636
dispatch.latest_time = {{ detection.deployment.scheduling.latest_time }}
3737
action.correlationsearch.enabled = 1
38+
action.correlationsearch.detection_type = ebd
3839
action.correlationsearch.label = {{ detection.get_action_dot_correlationsearch_dot_label(app) }}
3940
action.correlationsearch.annotations = {{ detection.annotations | tojson }}
4041
action.correlationsearch.metadata = {{ detection.metadata | tojson }}
4142
schedule_window = {{ detection.deployment.scheduling.schedule_window }}
4243
{% if detection.deployment.alert_action.notable %}
4344
action.notable = 1
45+
action.notable.param._entities = [{"risk_object_field": "N/A", "risk_object_type": "N/A", "risk_score": "0"}]
4446
action.notable.param.nes_fields = {{ detection.nes_fields }}
4547
action.notable.param.rule_description = {{ detection.deployment.alert_action.notable.rule_description | custom_jinja2_enrichment_filter(detection) | escapeNewlines()}}
4648
action.notable.param.rule_title = {% if detection.type | lower == "correlation" %}RBA: {{ detection.deployment.alert_action.notable.rule_title | custom_jinja2_enrichment_filter(detection) }}{% else %}{{ detection.deployment.alert_action.notable.rule_title | custom_jinja2_enrichment_filter(detection) }}{% endif +%}

0 commit comments

Comments
 (0)