commit | 5f17880d53ce70137397694a3bf65a8a7d80c5e2 | [log] [tgz] |
---|---|---|
author | Tatiana Bradley <tatianabradley@google.com> | Thu Sep 22 12:24:10 2022 -0400 |
committer | Tatiana Bradley <tatiana@golang.org> | Thu Sep 22 17:26:43 2022 +0000 |
tree | 00c999bd9f3cc5bcb3909f1f387f6c67dbf21f23 | |
parent | 8bf9754cd616e384398ba70bdc46c37d779e214d [diff] |
cmd/vulnreport: add module info to excluded reports in vulnreport create For golang/go#55348 Change-Id: Ibcaeef8f195a5f44b62dde082bdf481b9dc697e0 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/432876 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Tatiana Bradley <tatiana@golang.org>
diff --git a/cmd/vulnreport/main.go b/cmd/vulnreport/main.go index 70d5087..1f786ae 100644 --- a/cmd/vulnreport/main.go +++ b/cmd/vulnreport/main.go
@@ -346,6 +346,11 @@ if excluded != "" { r = &report.Report{ + Modules: []*report.Module{ + { + Module: modulePath, + }, + }, Excluded: excluded, CVEs: r.CVEs, GHSAs: r.GHSAs,