Browse Source

Fix bug in CVE html report generation

This patch fix a bug in the CVEs report generation. It needs to iterate
over the cves_w_errors list instead of cves_to_track

Closes-Bug: 1859482

Change-Id: Ic61acadf650733b9d7a7d6763c99b0f85394f1a2
Signed-off-by: VictorRodriguez <vm.rod25@gmail.com>
changes/60/701860/4
VictorRodriguez 1 month ago
parent
commit
c23eddb3dc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cve_support/template.txt

+ 1
- 1
cve_support/template.txt View File

@@ -93,7 +93,7 @@
<h2>ERROR: CVEs that have no cvss2Score or cvss2Vector:{{cves_w_errors | length}}</h2>
<table>
{% if cves_w_errors|length >= 1 %}
{% for cve in cves_to_track %}
{% for cve in cves_w_errors %}
<tr>
<td>{{cve["id"]}}</td>
<td>{{cve["status"]}}</td>


Loading…
Cancel
Save