commit | 0550a0e9779d46d03cd8d2d3a89450cfe3b22f30 | [log] [tgz] |
---|---|---|
author | Tatiana Bradley <tatianabradley@google.com> | Wed Jul 17 17:16:16 2024 -0400 |
committer | Tatiana Bradley <tatianabradley@google.com> | Fri Jul 19 16:05:29 2024 +0000 |
tree | 7d37d2726d2b7b385b9f4d0f576ece7c9ace2ca6 | |
parent | 6d0cca342cc45d35f5f7d2eb46f540576f8f0fa1 [diff] |
cmd/vulnreport: only write files if they would be modified Before writing YAML/OSV/CVE files, check if their contents would be modified. The main benefit of this is that we now only print out the written filename if its contents change, which is helpful for determining the impact of batch operations. Change-Id: Ieae133a1697d98b99cb40dda56826a5c46f40487 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/599179 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
This repository contains the infrastructure and internal reports to create the Go Vulnerability Database.
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
Click here to report a public vulnerability in the Go ecosystem, or give feedback about the project.
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 are distributed under the terms of the CC-BY-4.0 license. See go.dev/security/vuln/database for information on how to access these entries.