osv.dev icon indicating copy to clipboard operation
osv.dev copied to clipboard

Add API ability to enumerate database to create local copies

Open gitgitwhat opened this issue 2 years ago • 4 comments

Related to #546 and similar how NVD (https://nvd.nist.gov/developers/vulnerabilities) allows you to paginate CVEs (lastModStartDate & lastModEndDate). It would be nice if the OSV.dev API had the same ability so local copies of the database can be made.

gitgitwhat avatar Mar 14 '23 22:03 gitgitwhat

Hi! We already have data dumps available here: https://github.com/google/osv.dev#data-dumps

Does this work for your use case?

oliverchang avatar Mar 15 '23 01:03 oliverchang

I can make it work but something a little cleaner such as the NVD method would be useful. The description says "continuously" but is that quantified anywhere? How often do I need to query for updates?

gitgitwhat avatar Mar 15 '23 22:03 gitgitwhat

This will be part of our SLO which will be published very soon. CC @andrewpollock

oliverchang avatar Mar 15 '23 23:03 oliverchang

FYI, SLO is published as an entry at https://osv.dev/faq (sadly I cannot deep-link to it) A related blog post will be live on https://osv.dev/blog next week.

andrewpollock avatar Mar 22 '23 07:03 andrewpollock

This issue has not had any activity for 60 days and will be automatically closed in two weeks

github-actions[bot] avatar Jul 25 '24 18:07 github-actions[bot]

I think an API-based mechanism for obtaining the data is unlikely to be a priority for us, given the exports should be good enough for most people.

  • https://google.github.io/osv.dev/faq/#is-the-database-available-to-download
  • https://google.github.io/osv.dev/data/#data-dumps
  • https://google.github.io/osv.dev/faq/#what-are-osvs-service-level-objectives-slos

andrewpollock avatar Jul 26 '24 05:07 andrewpollock