Skip to content

Commit

Permalink
Merge pull request #2 from Res260/issue313
Browse files Browse the repository at this point in the history
Fix a bug where the jinja template for `analyticsories_detection` cra…
  • Loading branch information
Res260 authored Oct 24, 2024
2 parents d32a52d + f7a0963 commit 083adfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contentctl/output/templates/analyticstories_detections.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% if (detection.type == 'TTP' or detection.type == 'Anomaly' or detection.type == 'Hunting' or detection.type == 'Correlation') %}
[savedsearch://{{ detection.get_conf_stanza_name(app) }}]
type = detection
asset_type = {{ detection.tags.asset_type.value }}
asset_type = {{ detection.tags.asset_type }}
confidence = medium
explanation = {{ (detection.explanation if detection.explanation else detection.description) | escapeNewlines() }}
{% if detection.how_to_implement is defined %}
Expand Down

0 comments on commit 083adfc

Please sign in to comment.