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>
This commit is contained in:
VictorRodriguez 2020-01-09 17:12:21 -06:00
parent efd8f0521f
commit c23eddb3dc
1 changed files with 1 additions and 1 deletions

View File

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