Skip to content

Commit

Permalink
add cwe to list
Browse files Browse the repository at this point in the history
  • Loading branch information
dlicheva committed Nov 8, 2024
1 parent 40e1030 commit 956441a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/consumers/pdf/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,18 @@ <h4 class="finding-title" id="{{ .RawIssue.Title | urlquery }}">{{ .RawIssue.Tit
<td>{{.RawIssue.Cve}}</td>
</tr>
{{ end }}

{{if gt (len .RawIssue.Cwe) 0}}
<tr class="cwe-list">
<th>CWE</th>
<td>
{{range .RawIssue.Cwe}}
<a href="https://cwe.mitre.org/data/definitions/{{ . }}.html">{{ . }}</a>
{{end}}
</td>
</tr>
{{end}}

{{ if and .RawIssue.Confidence (ne .RawIssue.Confidence nil) }}
<tr>
<th>Confidence</th>
Expand Down

0 comments on commit 956441a

Please sign in to comment.