lyft / cartography

Cartography is a Python tool that consolidates infrastructure assets and the relationships between them in an intuitive graph view powered by a Neo4j database.

Home Page:https://lyft.github.io/cartography/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UPDATE CVE module to use NVD API instead of JSON feed

heryxpc opened this issue · comments

Feature request template

Title: UPDATE CVE module to use NVD API instead of JSON feed

Description:
NIST National Vulnerability Database will deprecate all data feeds in favor of their CVE API in December 15th 2023.
The CVE import module currently uses JSON 1.1 Vulnerability Feed at

url = f"{nist_cve_url}/nvdcve-1.1-{cve_type}.json.gz"

Using the new API would involve a new approach to perform incremental updates based on their API guidance, like:

[ Relevant Links:]

[Additional context:]
CVE ingestion is used for both Semgrep and Crowdstrke Spotlight ingestion.