зеркало из https://github.com/golang/vulndb.git
2b185852c9
Separate triage-related code to its own internal package so it can be re-used throughout. Change-Id: I1c143624d718b896edb64afa020875925210b094 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/601378 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
log | ||
static | ||
store | ||
testdata | ||
README.md | ||
config.go | ||
false_positive_records.gen.go | ||
false_positives.go | ||
false_positives_test.go | ||
gen_false_positives.go | ||
server.go | ||
server_test.go | ||
update.go | ||
update_test.go | ||
util.go | ||
worker.go | ||
worker_test.go |
README.md
Go Vulnerability Worker
The vuln worker triages incoming security advisories and scans selected modules for vulnerabilities.
The Go security team runs the worker on Google Cloud Platform's Cloud Run
product. See the repo's terraform
directory for more on the deployment setup.
The main program for the worker, in the repo's cmd/worker
directory, can also
be used as a command-line tool for one-off executions of some of the server's
actions.
Browsing the worker
Accessing the worker server's home page from a browser requires authentication. We recommend cloud-run-proxy for painless browsing. Install it with
go install github.com/GoogleCloudPlatform/cloud-run-proxy@latest
Run it from the repo root with
./devtools/proxy_worker.sh prod