commit | bf472d2030dca36c085c870538ba5d22d8db3fc5 | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Thu Nov 21 19:28:43 2024 +0000 |
committer | Zvonimir Pavlinovic <zpavlinovic@google.com> | Fri Nov 22 18:51:56 2024 +0000 |
tree | c0801527837cf07317038e15f959b2168f39b519 | |
parent | 072d4ef972913b7136211efe702a1e8bac3e7c6c [diff] |
cmd/govulncheck: mask dirty dependency versions Go tip has a new change that creates a valid dirty Go version for dependencies that were before always (devel). We mask such versions to devel for the tests to pass. We will remove this mask after the new change to Go versioning is the only one supported on builders. Change-Id: I0b8bc6238db47fbf808401047dfb6d5676d2f6c4 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/630735 Reviewed-by: Ian Cottrell <iancottrell@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Go's support for vulnerability management includes tooling for analyzing your codebase and binaries to surface known vulnerabilities in your dependencies. This tooling is backed by the Go vulnerability database, which is curated by the Go security team. Go’s tooling reduces noise in your results by only surfacing vulnerabilities in functions that your code is actually calling.
You can install the latest version of govulncheck using go install
go install golang.org/x/vuln/cmd/govulncheck@latest
Then, run govulncheck inside your module:
govulncheck ./...
See the govulncheck tutorial to get started, and https://go.dev/security/vuln for more information about Go's support for vulnerability management. The API documentation can be found at https://pkg.go.dev/golang.org/x/vuln/scan.
The privacy policy for govulncheck
can be found at https://vuln.go.dev/privacy.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.