From 956441a7a3a0a3d40bf1d86a17672acbe8918336 Mon Sep 17 00:00:00 2001 From: dlicheva Date: Fri, 8 Nov 2024 17:06:51 +0000 Subject: [PATCH] add cwe to list --- components/consumers/pdf/default.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/consumers/pdf/default.html b/components/consumers/pdf/default.html index aa5545078..a104c6c0c 100644 --- a/components/consumers/pdf/default.html +++ b/components/consumers/pdf/default.html @@ -244,6 +244,18 @@

{{ .RawIssue.Tit {{.RawIssue.Cve}} {{ end }} + + {{if gt (len .RawIssue.Cwe) 0}} + + CWE + + {{range .RawIssue.Cwe}} + {{ . }} + {{end}} + + + {{end}} + {{ if and .RawIssue.Confidence (ne .RawIssue.Confidence nil) }} Confidence