Skip to content

Commit 646f489

Browse files
authored
Merge pull request #406 from splunk/risk_from_str_to_int
Risk from str to int
2 parents 2b633b6 + 91a0b75 commit 646f489

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contentctl/output/templates/savedsearches_detections.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ action.correlationsearch.metadata = {{ detection.metadata | tojson }}
4242
schedule_window = {{ detection.deployment.scheduling.schedule_window }}
4343
{% if detection.deployment.alert_action.notable %}
4444
action.notable = 1
45-
action.notable.param._entities = [{"risk_object_field": "N/A", "risk_object_type": "N/A", "risk_score": "0"}]
45+
action.notable.param._entities = [{"risk_object_field": "N/A", "risk_object_type": "N/A", "risk_score": 0}]
4646
action.notable.param.nes_fields = {{ detection.nes_fields }}
4747
action.notable.param.rule_description = {{ detection.deployment.alert_action.notable.rule_description | custom_jinja2_enrichment_filter(detection) | escapeNewlines()}}
4848
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 +%}

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.0"
4+
version = "5.5.1"
55

66
description = "Splunk Content Control Tool"
77
authors = ["STRT <[email protected]>"]

0 commit comments

Comments
 (0)