commit | 3eb86d460cf06b57b88f665dbaa832f7e2e0643e | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Tue Aug 08 15:55:18 2023 -0400 |
committer | Gopher Robot <gobot@golang.org> | Wed Aug 16 17:43:39 2023 +0000 |
tree | c6c9bcaef5efe2cd619c11a9c5621791f821e8f5 | |
parent | e3a5c495d7f3849dc222e07dcf96fe0c1fd9a85f [diff] |
internal/scan: change the way convert mode works This changes convert mode to just modify the source of vulnerabilities This means it builds the output and handles exit codes like normal. This fixes the fact that convert does not obey -show flags, or return failure on vulnerabilities. Change-Id: Ia264d0acbfe49f2ff814be2305e108f144a17d73 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/517156 Run-TryBot: Ian Cottrell <iancottrell@google.com> Reviewed-by: Maceo Thompson <maceothompson@google.com> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> Auto-Submit: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
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.