Skip to content

Commit

Permalink
Add a new Exploitability analysis column #98
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <[email protected]>
  • Loading branch information
tdruez committed Oct 30, 2024
1 parent 34f3905 commit af916f9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@
{% endfor %}
</ul>
</td>
<td>
{% if vulnerability.product_vulnerability_analyses.get %}
<ul class="list-unstyled mb-0">
<li>State: {{ vulnerability.product_vulnerability_analyses.get.state }}</li>
<li>Justification: {{ vulnerability.product_vulnerability_analyses.get.justification }}</li>
<li>Responses: {{ vulnerability.product_vulnerability_analyses.get.responses }}</li>
<li>Detail: {{ vulnerability.product_vulnerability_analyses.get.detail }}</li>
</ul>
{% endif %}
</td>
</tr>
{% empty %}
<tr>
Expand Down
1 change: 1 addition & 0 deletions product_portfolio/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,7 @@ class ProductTabVulnerabilitiesView(
Header("max_score", _("Score"), help_text="Severity score range", filter="max_score"),
Header("summary", _("Summary")),
Header("affected_packages", _("Affected packages"), help_text="Affected product packages"),
Header("exploitability", _("Exploitability analysis"), help_text="TODO"),
)

def get_context_data(self, **kwargs):
Expand Down

0 comments on commit af916f9

Please sign in to comment.