From 93590d76f510c280573a7adec911c1b7a465a8f6 Mon Sep 17 00:00:00 2001 From: patel-bhavin Date: Mon, 16 May 2022 12:41:48 -0700 Subject: [PATCH] adding hyperlink to detection page --- .../adapter/templates/doc_detection_page.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/contentctl_project/contentctl_infrastructure/adapter/templates/doc_detection_page.j2 b/bin/contentctl_project/contentctl_infrastructure/adapter/templates/doc_detection_page.j2 index 358b3ebe7c..b6bcd04fb1 100644 --- a/bin/contentctl_project/contentctl_infrastructure/adapter/templates/doc_detection_page.j2 +++ b/bin/contentctl_project/contentctl_infrastructure/adapter/templates/doc_detection_page.j2 @@ -14,6 +14,6 @@ sidebar: {% if detection.tags.mitre_attack_enrichments %} | [{{ detection.name }}](/{{ detection.source }}/{{ detection.name | lower | replace(' ', '_') }}/) | {% for attack in detection.tags.mitre_attack_enrichments -%} [{{ attack.mitre_attack_technique }}](/tags/#{{ attack.mitre_attack_technique | lower | replace(" ", "-") }}){% if not loop.last -%}, {% endif -%}{%- endfor %} | [{{ detection.type }}](https://github.com/splunk/security_content/wiki/Detection-Analytic-Types) | {%- else %} -| [{{ detection.name }}]() | None | [{{ detection.type }}](https://github.com/splunk/security_content/wiki/Detection-Analytic-Types) | +| [{{ detection.name }}](/{{ detection.source }}/{{ detection.name | lower | replace(' ', '_') }}/) | None | [{{ detection.type }}](https://github.com/splunk/security_content/wiki/Detection-Analytic-Types) | {%- endif -%} {%- endfor -%}