-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partial repopulation in case NVD API fails #299
Comments
Manual solution using
|
@P-T-I Using the files might work for now, but we moved to the API mainly for the reason that the JSON feeds had been planned to retire in 2023, although it has other advantages, too. The retirement is currently postponed to "in 2024" in the timeline.
While we could guess it might be postponed again, I'm not that sure we should be building new features over deprecated data sources. The latest status update says:
I hope the current timeouts and 503 errors are caused by the increasing usage instead of Analygence's consultants breaking up the API. 😅 We should get quite good services with the $125M of U.S. tax money invested in this! 💸 |
I don't mean falling back to the json feeds from NIST; I was looking more along the lines of https://github.com/fkie-cad/nvd-json-data-feeds which has cached NIST data; and would be a nice fall back? |
Ah, yes, those might live longer, and the repository states they are using the same API for collecting the data. |
@P-T-I cve-search/cve-search#1110 is on tap to add a command line option |
There have been problems with the NVD API for a few days: it has been either slow or returning 503 without completely failing. As a result, same updates are only partly successful. Currently, the only option would be repopulating the entire database, but due to the same problems that would result in more CVEs missing.
Currently,
source_process.py:158-161
compares thelastModified
date of the most recent CPE, and703-706
does the same for CVEs:We need a solution to define a timestamp that could be used instead, causing all items after that timestamp to be fetched and updated regardless if they are already there, inserting the missing documents.
The text was updated successfully, but these errors were encountered: