Skip to content

Commit 8657351

Browse files
authored
INS-1040: Fix OPA vulnerability in insights-plugins (#257)
* Update OPA in insights-cli * Update OPA in insights-cli
1 parent 940a8af commit 8657351

3 files changed

Lines changed: 81 additions & 86 deletions

File tree

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
resource_class: large
2020
docker:
2121
# Note the goreleaser version is also referenced in the release and snapshot jobs.
22-
- image: goreleaser/goreleaser:v2.3.2
22+
- image: goreleaser/goreleaser:v2.9.0
2323
steps:
2424
- checkout
2525
- run:
@@ -47,7 +47,7 @@ jobs:
4747
resource_class: large
4848
docker:
4949
# Note the goreleaser version is also referenced in the release and test jobs.
50-
- image: goreleaser/goreleaser:v2.3.2
50+
- image: goreleaser/goreleaser:v2.9.0
5151
steps:
5252
- checkout
5353
- setup_remote_docker:
@@ -63,7 +63,7 @@ jobs:
6363
shell: /bin/bash
6464
docker:
6565
# Note the goreleaser version is also referenced in the snapshot and test jobs.
66-
- image: goreleaser/goreleaser:v2.3.2
66+
- image: goreleaser/goreleaser:v2.9.0
6767
steps:
6868
- checkout
6969
- run: ./.circleci/scripts/e2e-env.sh

go.mod

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
module github.com/fairwindsops/insights-cli
22

3-
go 1.23.0
3+
go 1.23.8
44

5-
toolchain go1.23.4
5+
toolchain go1.24.2
66

77
require (
8-
github.com/fairwindsops/insights-plugins/plugins/opa v0.0.0-20241126145703-73ccd19c1bbb
8+
github.com/fairwindsops/insights-plugins/plugins/opa v0.0.0-20250516170732-21710c3468ac
99
github.com/fatih/color v1.18.0
1010
github.com/google/go-cmp v0.7.0
1111
github.com/hashicorp/go-multierror v1.1.1
1212
github.com/imroc/req/v3 v3.49.1
13-
github.com/open-policy-agent/opa v1.1.0
13+
github.com/open-policy-agent/opa v1.4.2
1414
github.com/rogpeppe/go-internal v1.14.1
1515
github.com/samber/lo v1.49.1
1616
github.com/sirupsen/logrus v1.9.3
1717
github.com/spf13/cobra v1.9.1
1818
github.com/stretchr/testify v1.10.0
1919
github.com/xlab/treeprint v1.2.0
20-
golang.org/x/net v0.35.0
20+
golang.org/x/net v0.38.0
2121
gopkg.in/yaml.v2 v2.4.0
2222
gopkg.in/yaml.v3 v3.0.1
2323
k8s.io/apimachinery v0.32.2
2424
sigs.k8s.io/yaml v1.4.0
2525
)
2626

2727
require (
28-
github.com/OneOfOne/xxhash v1.2.8 // indirect
29-
github.com/agnivade/levenshtein v1.2.0 // indirect
28+
github.com/agnivade/levenshtein v1.2.1 // indirect
3029
github.com/andybalholm/brotli v1.1.1 // indirect
3130
github.com/beorn7/perks v1.0.1 // indirect
3231
github.com/cespare/xxhash/v2 v2.3.0 // indirect
@@ -56,7 +55,7 @@ require (
5655
github.com/inconshreveable/mousetrap v1.1.0 // indirect
5756
github.com/josharian/intern v1.0.0 // indirect
5857
github.com/json-iterator/go v1.1.12 // indirect
59-
github.com/klauspost/compress v1.17.11 // indirect
58+
github.com/klauspost/compress v1.18.0 // indirect
6059
github.com/mailru/easyjson v0.9.0 // indirect
6160
github.com/mattn/go-colorable v0.1.14 // indirect
6261
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -66,7 +65,7 @@ require (
6665
github.com/onsi/ginkgo/v2 v2.22.2 // indirect
6766
github.com/pkg/errors v0.9.1 // indirect
6867
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
69-
github.com/prometheus/client_golang v1.20.5 // indirect
68+
github.com/prometheus/client_golang v1.21.1 // indirect
7069
github.com/prometheus/client_model v0.6.1 // indirect
7170
github.com/prometheus/common v0.62.0 // indirect
7271
github.com/prometheus/procfs v0.15.1 // indirect
@@ -81,23 +80,23 @@ require (
8180
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
8281
github.com/yashtewari/glob-intersection v0.2.0 // indirect
8382
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
84-
go.opentelemetry.io/otel v1.34.0 // indirect
85-
go.opentelemetry.io/otel/metric v1.34.0 // indirect
86-
go.opentelemetry.io/otel/sdk v1.34.0 // indirect
87-
go.opentelemetry.io/otel/trace v1.34.0 // indirect
83+
go.opentelemetry.io/otel v1.35.0 // indirect
84+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
85+
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
86+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
8887
go.uber.org/mock v0.5.0 // indirect
89-
golang.org/x/crypto v0.33.0 // indirect
88+
golang.org/x/crypto v0.36.0 // indirect
9089
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
9190
golang.org/x/mod v0.22.0 // indirect
92-
golang.org/x/oauth2 v0.25.0 // indirect
93-
golang.org/x/sync v0.11.0 // indirect
94-
golang.org/x/sys v0.30.0 // indirect
95-
golang.org/x/term v0.29.0 // indirect
96-
golang.org/x/text v0.22.0 // indirect
97-
golang.org/x/time v0.9.0 // indirect
91+
golang.org/x/oauth2 v0.26.0 // indirect
92+
golang.org/x/sync v0.12.0 // indirect
93+
golang.org/x/sys v0.31.0 // indirect
94+
golang.org/x/term v0.30.0 // indirect
95+
golang.org/x/text v0.23.0 // indirect
96+
golang.org/x/time v0.11.0 // indirect
9897
golang.org/x/tools v0.29.0 // indirect
9998
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
100-
google.golang.org/protobuf v1.36.4 // indirect
99+
google.golang.org/protobuf v1.36.6 // indirect
101100
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
102101
gopkg.in/inf.v0 v0.9.1 // indirect
103102
k8s.io/api v0.32.1 // indirect

0 commit comments

Comments
 (0)