Skip to content

Commit 9c7d469

Browse files
committed
Added Severity and Scoring system at http://127.0.0.1:8000/vulnerabilities/<vulnerability_id>
Signed-off-by: Pushpit <pushpit07@gmail.com>
1 parent c65589e commit 9c7d469

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

vulnerabilities/templates/vulnerability.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ <h3>References:</h3>
2525
<th> Reference ID </th>
2626
<th> URL </th>
2727
<th> Severity </th>
28+
<th> Scoring System </th>
2829
</tr>
2930
{% for ref in object_list %}
3031
<tr>
@@ -44,6 +45,14 @@ <h3>References:</h3>
4445

4546
{% endif %}
4647

48+
{% if ref %}
49+
<td>{{severity.value}}</td>
50+
51+
{% else %}
52+
<td>-</td>
53+
54+
{% endif %}
55+
4756
{% if ref %}
4857
<td>{{severity.scoring_system}}</td>
4958

0 commit comments

Comments
 (0)