Skip to content

Commit

Permalink
cmd/govulncheck/integration/k8s: update expectations
Browse files Browse the repository at this point in the history
Due to new entries in the db.

Change-Id: I911bd9308fbae679a9c210e7a5f950a022087b65
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/590555
Auto-Submit: Zvonimir Pavlinovic <zpavlinovic@google.com>
Reviewed-by: Maceo Thompson <maceothompson@google.com>
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
zpavlinovic authored and gopherbot committed Jun 5, 2024
1 parent 03e66a6 commit 65c6e2b
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions cmd/govulncheck/integration/k8s/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,30 @@ func main() {
out := os.Args[1]

want := map[string]bool{
"github.com/containernetworking/cni/pkg/invoke": true,
"github.com/evanphx/json-patch": 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/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,
}
if err := integration.CompareNonStdVulns(out, want); err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 65c6e2b

Please sign in to comment.