Skip to content

Commit

Permalink
Update nautobot_device_lifecycle_mgmt/jobs/cve_tracking.py
Browse files Browse the repository at this point in the history
Co-authored-by: Przemek Rogala <[email protected]>
  • Loading branch information
bminnix and progala authored Nov 29, 2024
1 parent 7403c2e commit e003333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautobot_device_lifecycle_mgmt/jobs/cve_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def get_cve_info(self, cpe_software_search_urls: list, software_id=None) -> dict
extra={"object": SoftwareVersion.objects.get(id=software_id), "grouping": "CVE Creation"},
)
cve_list = [cve["cve"] for cve in result["vulnerabilities"]]
dlc_cves = [cve.name for cve in CVELCM.objects.all()]
dlc_cves = CVELCM.objects.values_list("name", flat=True)

all_cve_info = self.process_cves(cve_list, dlc_cves, software_id)

Expand Down

0 comments on commit e003333

Please sign in to comment.