Skip to content

Commit 43d9fc0

Browse files
committed
Fix incorrect default starting year in NVD importer
1 parent 4402d6e commit 43d9fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vulnerabilities/pipelines/v2_importers/nvd_importer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def fetch(url, logger=None):
111111
return json.loads(data)
112112

113113

114-
def fetch_cve_data_1_1(starting_year=2025, logger=None):
114+
def fetch_cve_data_1_1(starting_year=2002, logger=None):
115115
"""
116116
Yield tuples of (year, lists of CVE mappings) from the NVD, one for each
117117
year since ``starting_year`` defaulting to 2002.

0 commit comments

Comments
 (0)