From 0e39fee41378bbb3678d501b1b19193c0060f540 Mon Sep 17 00:00:00 2001 From: Zvonimir Pavlinovic Date: Tue, 23 Apr 2024 15:43:56 +0000 Subject: [PATCH] internal/sarif: remove originalURIBaseIds We don't need it and it is not actually needed. Sarif validator is fine without it and so is Github Code scanning. Updates golang/go#61347 Change-Id: I1d368422935fddd6b9960917010287ae7bca2683 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/581076 Run-TryBot: Zvonimir Pavlinovic Auto-Submit: Zvonimir Pavlinovic LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Cottrell TryBot-Result: Gopher Robot --- internal/sarif/sarif.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/sarif/sarif.go b/internal/sarif/sarif.go index 53d2ba3..ed55640 100644 --- a/internal/sarif/sarif.go +++ b/internal/sarif/sarif.go @@ -36,9 +36,6 @@ type Run struct { // Results contain govulncheck findings. There should be exactly one // Result per a detected OSV. Results []Result `json:"results,omitempty"` - - // URIBaseIDs encodes the SARIF originalUriBaseIds property - URIBaseIDs map[string]ArtifactLocation `json:"originalUriBaseIds,omitempty"` } // Tool captures information about govulncheck analysis that was run.