From f94421b20479af8851aa9ecc80a1142ad6f63c93 Mon Sep 17 00:00:00 2001 From: Zvonimir Pavlinovic Date: Tue, 9 Jul 2024 16:30:56 +0000 Subject: [PATCH] cmd/govulncheck/integration: adjust k8s expectations Due to a withdrawn containerd vuln. Change-Id: I5734ea3a4336be6550d557753b980953a7ece49b Reviewed-on: https://go-review.googlesource.com/c/vuln/+/597315 Reviewed-by: Maceo Thompson LUCI-TryBot-Result: Go LUCI Auto-Submit: Zvonimir Pavlinovic --- cmd/govulncheck/integration/k8s/k8s.go | 39 ++++++++++---------------- 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/cmd/govulncheck/integration/k8s/k8s.go b/cmd/govulncheck/integration/k8s/k8s.go index f4cd3be..bb001ee 100644 --- a/cmd/govulncheck/integration/k8s/k8s.go +++ b/cmd/govulncheck/integration/k8s/k8s.go @@ -23,30 +23,21 @@ func main() { out := os.Args[1] want := map[string]bool{ - "github.com/containerd/containerd/api/services/containers/v1": true, - "github.com/containerd/containerd/api/services/tasks/v1": true, - "github.com/containerd/containerd/api/services/version/v1": true, - "github.com/containerd/containerd/api/types": true, - "github.com/containerd/containerd/api/types/task": true, - "github.com/containerd/containerd/containers": true, - "github.com/containerd/containerd/dialer": true, - "github.com/containerd/containerd/errdefs": true, - "github.com/containerd/containerd/namespaces": true, - "github.com/containernetworking/cni/pkg/invoke": true, - "github.com/evanphx/json-patch": true, - "github.com/heketi/heketi/client/api/go-client": true, - "github.com/heketi/heketi/pkg/glusterfs/api": true, - "github.com/heketi/heketi/pkg/utils": true, - "github.com/opencontainers/selinux/go-selinux": true, - "github.com/prometheus/client_golang/prometheus/promhttp": true, - "golang.org/x/crypto/cryptobyte": true, - "golang.org/x/crypto/salsa20/salsa": true, - "golang.org/x/crypto/ssh": true, - "golang.org/x/net/http/httpguts": true, - "golang.org/x/net/http2": true, - "golang.org/x/net/http2/hpack": true, - "golang.org/x/text/encoding/unicode": true, - "google.golang.org/grpc": true, + "github.com/containernetworking/cni/pkg/invoke": true, + "github.com/evanphx/json-patch": true, + "github.com/heketi/heketi/client/api/go-client": true, + "github.com/heketi/heketi/pkg/glusterfs/api": true, + "github.com/heketi/heketi/pkg/utils": true, + "github.com/opencontainers/selinux/go-selinux": true, + "github.com/prometheus/client_golang/prometheus/promhttp": true, + "golang.org/x/crypto/cryptobyte": true, + "golang.org/x/crypto/salsa20/salsa": true, + "golang.org/x/crypto/ssh": true, + "golang.org/x/net/http/httpguts": true, + "golang.org/x/net/http2": true, + "golang.org/x/net/http2/hpack": true, + "golang.org/x/text/encoding/unicode": true, + "google.golang.org/grpc": true, } if err := integration.CompareVulns(out, want); err != nil { log.Fatal(err)