vulndb/internal/genericosv
Tatiana Bradley 9c256df087 internal/genericosv: avoid github rate limits in batch commands
Use the authenticated github client instead of a direct HTTP request
to the Github API when fetching the published time for a GHSA.

This allows us to perform batch commands without being rate-limited.

Change-Id: Ie4f357ab9ec105389f6990964a86f27b77079271
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/606357
Auto-Submit: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-19 17:24:33 +00:00
..
testdata internal/report: strip the major version from module path when fixing summary 2024-07-29 18:12:07 +00:00
constants.go internal/genericosv: work around bug in Severity unmarshal 2024-06-25 22:45:44 +00:00
fetch.go internal/genericosv: avoid github rate limits in batch commands 2024-08-19 17:24:33 +00:00
fetch_test.go internal/genericosv: fetch GHSAs from github instead of osv.dev 2024-07-15 17:56:17 +00:00
report.go cmd/vulnreport: consider withdrawn status in vulnreport create commands 2024-08-19 17:24:31 +00:00
report_test.go internal/cvelistrepo: add test output for REVIEWED reports 2024-07-29 18:11:49 +00:00
vulnerability.go internal/genericosv: work around bug in Severity unmarshal 2024-06-25 22:45:44 +00:00