Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/open-policy-agent/opa from 0.19.1 to 0.68.0 #8626

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/authz-service/engine/opa/opa.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ func (s *State) ProjectsAuthorized(
resource engine.Resource,
projects engine.Projects) ([]string, error) {

subs := make(ast.Array, len(subjects))
subs := make([]*ast.Term, len(subjects))
for i, sub := range subjects {
subs[i] = ast.NewTerm(ast.String(sub))
}
projs := make(ast.Array, len(projects))
projs := make([]*ast.Term, len(projects))
for i, proj := range projects {
projs[i] = ast.NewTerm(ast.String(proj))
}
Expand Down
73 changes: 44 additions & 29 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ require (
github.com/dave/jennifer v1.7.0
github.com/dexidp/dex v2.35.0+incompatible
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/envoyproxy/protoc-gen-validate v0.4.0
github.com/envoyproxy/protoc-gen-validate v1.0.4
github.com/fatih/color v1.17.0
github.com/ghodss/yaml v1.0.1-0.20180503022059-e9ed3c6dfb39
github.com/go-chef/chef v0.30.1
Expand All @@ -34,7 +34,7 @@ require (
github.com/gofrs/uuid v4.4.0+incompatible
github.com/golang-migrate/migrate v3.5.4+incompatible
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.5.3
github.com/golang/protobuf v1.5.4
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/gorilla/mux v1.8.1
Expand All @@ -59,10 +59,10 @@ require (
github.com/mitchellh/mapstructure v1.5.0
github.com/muesli/crunchy v0.4.0
github.com/nats-io/nats-streaming-server v0.24.3
github.com/nats-io/nats.go v1.28.0
github.com/nats-io/nats.go v1.31.0
github.com/nats-io/stan.go v0.10.2
github.com/olivere/elastic/v7 v7.0.28
github.com/open-policy-agent/opa v0.19.1
github.com/open-policy-agent/opa v0.68.0
github.com/opentracing/opentracing-go v1.2.0
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/pelletier/go-toml v1.9.5
Expand All @@ -71,14 +71,14 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1 // indirect
github.com/pquerna/cachecontrol v0.2.0 // indirect
github.com/prometheus/client_golang v1.14.0
github.com/prometheus/client_golang v1.20.2
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/russellhaering/goxmldsig v1.1.0 // indirect
github.com/schollz/closestmatch v2.1.1-0.20170908204616-19d3b334fdfc+incompatible
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.0
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.9.0
github.com/teambition/rrule-go v1.8.2
github.com/uber/jaeger-client-go v2.30.0+incompatible
Expand All @@ -87,15 +87,15 @@ require (
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
gocloud.dev v0.22.0
golang.org/x/crypto v0.23.0
golang.org/x/crypto v0.26.0
golang.org/x/oauth2 v0.22.0
golang.org/x/perf v0.0.0-20190823172224-ecb187b06eb0
golang.org/x/text v0.15.0
google.golang.org/api v0.102.0
google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6
google.golang.org/grpc v1.53.0-dev
golang.org/x/text v0.17.0
google.golang.org/api v0.153.0
google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 // indirect
google.golang.org/grpc v1.66.0
google.golang.org/grpc/examples v0.0.0-20220413171549-7567a5d96538
google.golang.org/protobuf v1.28.1
google.golang.org/protobuf v1.34.2
gopkg.in/cheggaaa/pb.v1 v1.0.28
gopkg.in/robfig/cron.v2 v2.0.0-20150107220207-be2e0b0deed5
gopkg.in/segmentio/analytics-go.v3 v3.1.0
Expand All @@ -114,49 +114,64 @@ require (
github.com/prashantv/gostub v1.1.0
github.com/shirou/gopsutil v3.21.11+incompatible
go.uber.org/automaxprocs v1.5.3
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094
)

require (
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/felixge/fgprof v0.9.4 // indirect
github.com/gofiber/adaptor/v2 v2.1.31 // indirect
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
google.golang.org/appengine v1.6.7 // indirect
)

require (
cloud.google.com/go/compute/metadata v0.5.0 // indirect
cloud.google.com/go/iam v0.7.0 // indirect
cloud.google.com/go/iam v1.1.5 // indirect
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/chzyer/readline v1.5.1 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/go-ini/ini v1.67.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.3 // indirect
github.com/hashicorp/go-msgpack v1.1.5 // indirect
github.com/hashicorp/go-msgpack/v2 v2.1.1 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/lyft/protoc-gen-star/v2 v2.0.3 // indirect
github.com/minio/highwayhash v1.0.3 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/nats-io/jwt/v2 v2.5.8 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/tchap/go-patricia/v2 v2.3.1 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
go.mongodb.org/mongo-driver v1.16.1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/metric v1.29.0 // indirect
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/time v0.6.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

require (
cloud.google.com/go v0.105.0 // indirect
cloud.google.com/go/storage v1.27.0
cloud.google.com/go v0.110.10 // indirect
cloud.google.com/go/storage v1.35.1
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
Expand All @@ -165,7 +180,7 @@ require (
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/Masterminds/semver/v3 v3.3.0
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/OneOfOne/xxhash v1.2.8 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
Expand All @@ -191,7 +206,7 @@ require (
github.com/golang/glog v1.2.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/wire v0.5.0 // indirect
github.com/googleapis/gax-go/v2 v2.6.0 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/gorilla/handlers v1.3.0 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
Expand Down Expand Up @@ -222,13 +237,13 @@ require (
github.com/nats-io/nuid v1.0.1 // indirect
github.com/peterh/liner v1.2.2 // indirect
github.com/pkg/profile v1.7.0 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.42.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rs/xid v1.6.0 // indirect
github.com/segmentio/backo-go v1.1.0 // indirect
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
Expand All @@ -247,11 +262,11 @@ require (
// go.opencensus.io v0.24.0 // indirect
go.starlark.net v0.0.0-20190702223751-32f345186213 // indirect
golang.org/x/arch v0.0.0-20171004143515-077ac972c2e4 // indirect
golang.org/x/mod v0.13.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/tools v0.14.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 // indirect
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
gopkg.in/fsnotify.v1 v1.4.7 // indirect
Expand Down
Loading
Loading