diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index 76bc88b0ba..c7e30dfd2b 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -735,6 +735,10 @@ td.cve-unknown {
background: #ffd870;
}
+td.cve_ignored {
+ background: #ccc;
+}
+
Statistics of Buildroot packages
@@ -909,6 +913,15 @@ def dump_html_pkg(f, pkg):
f.write(" N/A\n")
f.write(" \n")
+ # CVEs Ignored
+ td_class = ["centered"]
+ if pkg.ignored_cves:
+ td_class.append("cve_ignored")
+ f.write(" \n" % " ".join(td_class))
+ for ignored_cve in pkg.ignored_cves:
+ f.write(" %s \n" % (ignored_cve, ignored_cve))
+ f.write(" | \n")
+
# CPE ID
td_class = ["left"]
if pkg.is_status_ok("cpe"):
@@ -948,6 +961,7 @@ def dump_html_all_pkgs(f, packages):
Warnings |
Upstream URL |
CVEs |
+CVEs Ignored |
CPE ID |
""")