Skip to content

Commit

Permalink
Keep 2018 as the default year
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jul 10, 2024
1 parent 98631a4 commit a68f361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vdb/lib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# NVD CVE json feed url
NVD_URL = "https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-%(year)s.json.gz"

# NVD start year. 2019 is quicker. 2002 is quite detailed but slow
NVD_START_YEAR = os.getenv("NVD_START_YEAR", "2019")
# NVD start year. 2018 is quicker. 2002 is quite detailed but slow
NVD_START_YEAR = os.getenv("NVD_START_YEAR", "2018")
try:
NVD_START_YEAR = int(NVD_START_YEAR)
except ValueError:
Expand Down

0 comments on commit a68f361

Please sign in to comment.