Skip to content

Commit 993b85a

Browse files
authored
Merge pull request #465 from splunk/inspect_fix
Move default stanza outside of detections section
2 parents 569a5e9 + 61b5d52 commit 993b85a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

contentctl/output/templates/savedsearches_detections.j2

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
### {{app.label}} DETECTIONS ###
2-
31
[default]
42
disabled = 1
53
description = "This search was removed in a previous release, or is otherwise not present."
64
search = | makeresults | eval text = "This search was removed in a previous release, or is otherwise not present."
75

6+
### {{app.label}} DETECTIONS ###
7+
8+
89
{% for detection in objects %}
910
[{{ detection.get_conf_stanza_name(app) }}]
1011
action.escu = 0
1112
action.escu.enabled = 1
12-
description = {{ detection.status_aware_description | escapeNewlines() }}
13+
description = {{ detection.status_aware_description | escapeNewlines() }}
1314
action.escu.mappings = {{ detection.mappings | tojson }}
1415
action.escu.data_models = {{ detection.datamodel | tojson }}
1516
action.escu.eli5 = {{ detection.status_aware_description | escapeNewlines() }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "contentctl"
33

4-
version = "5.5.11"
4+
version = "5.5.12"
55

66
description = "Splunk Content Control Tool"
77
authors = ["STRT <research@splunk.com>"]

0 commit comments

Comments
 (0)