We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef6ed2 commit 622efe8Copy full SHA for 622efe8
cve_bin_tool/cvedb.py
@@ -526,7 +526,6 @@ def populate_db(self) -> None:
526
self.populate_metrics()
527
# EPSS uses metrics table to get the EPSS metric id.
528
# It can't be run before creation of metrics table.
529
- self.populate_purl2cpe()
530
531
for idx, data in enumerate(self.data):
532
_, source_name = data
@@ -539,6 +538,9 @@ def populate_db(self) -> None:
539
538
# if source_name != "NVD" and cve_data[0] is not None:
540
# cve_data = self.update_vendors(cve_data)
541
+ if source_name == "PURL2CPE":
542
+ self.populate_purl2cpe()
543
+
544
if source_name == "EPSS":
545
if cve_data is not None:
546
self.store_epss_data(cve_data)
0 commit comments