vulndb/cmd
Tatiana Bradley b75d871dca cmd/cve,deploy: publish CVEs automatically
The post-submit trigger that deploys vulndb now
additionally publishes or updates any CVEs that
have changed via the CVE Services API.

This means we no longer need to manually publish
CVEs in the normal course of business.

This is safe because the CVE program no longer
makes direct edits to CVE records, so the records
in data/cve/v5 are canonical.

This CL additionally removes the logic to handle
the case in which a record was modified by the CVE
program, and adds a convenience command "publish-all"
which non-interactively publishes/updates all
CVEs that need it.

API user name and token for the service account
are stored in GCP Secret Manager.

Manual tests via "gcloud builds submit" worked.

Change-Id: I68ce77001067c6e1eff9478234ec7fc76dac587d
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/606779
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-19 21:20:54 +00:00
..
checkdb
checkdeploy
cve cmd/cve,deploy: publish CVEs automatically 2024-08-19 21:20:54 +00:00
forks
gendb
indexdb
inspect internal/{report,ghsarepo}: add functions NewLocalClient 2024-07-30 15:44:29 +00:00
issue
modinfo
priority
triage cmd/triage: add command triage 2024-07-30 15:44:07 +00:00
vulnreport internal/genericosv: avoid github rate limits in batch commands 2024-08-19 17:24:33 +00:00
worker