vulndb/cmd/vulnreport
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
..
color
log cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
testdata cmd/vulnreport: simplify the duplicates process 2024-08-16 17:42:07 +00:00
command.go cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
commit.go cmd/vulnreport: don't run fix twice for unreviewed reports 2024-06-26 14:52:33 +00:00
create.go cmd/vulnreport: consider withdrawn status in vulnreport create commands 2024-08-19 17:24:31 +00:00
create_excluded.go cmd/vulnreport: consider withdrawn status in vulnreport create commands 2024-08-19 17:24:31 +00:00
creator.go cmd/vulnreport: consider withdrawn status in vulnreport create commands 2024-08-19 17:24:31 +00:00
cve.go cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
environment.go all: move triage-related code to its own package 2024-07-30 15:43:52 +00:00
find_aliases.go internal/genericosv: avoid github rate limits in batch commands 2024-08-19 17:24:33 +00:00
find_aliases_test.go cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
fix.go cmd/vulnreport: check if packages exist in vulnreport fix 2024-07-19 16:06:05 +00:00
git.go
issue_client.go cmd/vulnreport: simplify the duplicates process 2024-08-16 17:42:07 +00:00
issue_parser.go cmd/vulreport: fix duplicate finding in vulnreport triage 2024-06-20 18:17:18 +00:00
lint.go cmd/vulnreport: fix bug in duplicate-finding for triage 2024-07-22 18:24:17 +00:00
main.go cmd/vulnreport: add command vulnreport withdraw 2024-07-15 17:56:36 +00:00
osv.go cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
regenerate.go cmd/vulnreport: further unify code of vulnreport regen and review 2024-06-28 15:28:22 +00:00
review.go cmd/vulnreport: further unify code of vulnreport regen and review 2024-06-28 15:28:22 +00:00
run_test.go all: move triage-related code to its own package 2024-07-30 15:43:52 +00:00
set_dates.go cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
suggest.go cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
symbols.go cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
triage.go cmd/vulnreport: simplify the duplicates process 2024-08-16 17:42:07 +00:00
unexclude.go cmd/vulnreport: consider withdrawn status in vulnreport create commands 2024-08-19 17:24:31 +00:00
vulnreport_test.go cmd/vulnreport: add test framework for vulnreport 2024-06-13 15:59:21 +00:00
withdraw.go cmd/vulnreport: add command vulnreport withdraw 2024-07-15 17:56:36 +00:00
writer.go cmd/vulnreport: only write files if they would be modified 2024-07-19 16:05:29 +00:00
xref.go all: move triage-related code to its own package 2024-07-30 15:43:52 +00:00