Skip to content

Commit 170509e

Browse files
committed
make labels a bit shorter
1 parent 016f616 commit 170509e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

contentctl/output/templates/savedsearches_detections.j2

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,7 @@ cron_schedule = {{ detection.deployment.scheduling.cron_schedule }}
5757
dispatch.earliest_time = {{ detection.deployment.scheduling.earliest_time }}
5858
dispatch.latest_time = {{ detection.deployment.scheduling.latest_time }}
5959
action.correlationsearch.enabled = 1
60-
{% if detection.status == "deprecated" %}
61-
action.correlationsearch.label = {{APP_NAME}} - Deprecated - {{ detection.name }} - Rule
62-
{% elif detection.status == "experimental" %}
63-
action.correlationsearch.label = {{APP_NAME}} - Experimental - {{ detection.name }} - Rule
64-
{% elif detection.type | lower == "correlation" %}
65-
action.correlationsearch.label = {{APP_NAME}} - RIR - {{ detection.name }} - Rule
66-
{% else %}
6760
action.correlationsearch.label = {{APP_NAME}} - {{ detection.name }} - Rule
68-
{% endif %}
6961
action.correlationsearch.annotations = {{ detection.annotations | tojson }}
7062
action.correlationsearch.metadata = {{ detection.getMetadata() | tojson }}
7163
{% if detection.deployment.scheduling.schedule_window is defined %}

0 commit comments

Comments
 (0)