Skip to content

Commit

Permalink
Store CVE configurations (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbtuda authored Apr 8, 2024
1 parent 89401d0 commit a2d314c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CveXplore/core/database_maintenance/sources_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ def process_the_item(self, item: dict = None):
cve["products"] = []
cve["vulnerable_product_stems"] = []
cve["vulnerable_configuration_stems"] = []
cve["configurations"] = item["cve"]["configurations"]
for node in item["cve"]["configurations"]:
for cpe in node["nodes"]:
if "cpeMatch" in cpe:
Expand Down

0 comments on commit a2d314c

Please sign in to comment.