Skip to content

Commit 80fe95c

Browse files
authored
UI: Show Vuln ID from tool (DefectDojo#9034)
1 parent 070b917 commit 80fe95c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dojo/templates/dojo/view_finding.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ <h3 class="pull-left finding-title">
271271
<th>CWE</th>
272272
<th>Vulnerability Id</th>
273273
<th>Found by</th>
274+
{% if finding.vuln_id_from_tool %}
275+
<th>Vuln ID from tool</th>
276+
{% endif %}
274277
{% endblock header_head %}
275278
</tr>
276279
<tr>
@@ -422,6 +425,9 @@ <h3 class="pull-left finding-title">
422425
{{ scanner }}
423426
{% endfor %}</td>
424427
{% endwith %}
428+
{% if finding.vuln_id_from_tool %}
429+
<td>{{ finding.vuln_id_from_tool }}</td>
430+
{% endif %}
425431
{% endblock header_body %}
426432
</tr>
427433
</table>

0 commit comments

Comments
 (0)