opa
opa copied to clipboard
Open Policy Agent (OPA) is an open source, general-purpose policy engine.
## Short description OPA version - ```1.30.0``` Example policies: main.rego ```rego package main default allow := false allow if { data.support.allow } ``` support.rego ```rego package support default allow :=...
When we want to match each of these paths, ```rego path1 = ["root", "private"] path2 = ["root", "private", "foo"] path3 = ["root", "private", "foo", "bar"] path4 = ["root", "public"] ```...
We've started to build opa ourself. But for our monitoring system to work we need to be able to set LDFLAGS as input to the build command. ## What is...
## Short description From the [documentation](https://www.openpolicyagent.org/docs/latest/configuration/#decision-logs) the `upload_size_limit_bytes` configuration says `Decision log upload size limit in bytes. OPA will chunk uploads to cap message body to this limit.`. This limit...
In order to better be able to analyze and troubleshoot decision log performance over time, it would be useful if OPA exposed metrics around that. Things like: * Current size...
During non-shallow PE, whether a default rule will be added to generated support module(s) is optimized based upon if its return value is compared/unified with a constant value. Because of...
While manually reviewing Regal policies recently, I found one [case](https://github.com/StyraInc/regal/pull/1465) where a `some .. in` construct was put in the start of a rule body, but neither code in the...
### Discussed in https://github.com/orgs/open-policy-agent/discussions/686 Originally posted by **loekensgard** April 4, 2025 Hi, I am currently configuring distributed tracing for OPA using the following configuration: ```yaml distributed_tracing: type: grpc address: service_name:...
https://github.com/rcrowley/go-metrics has been archived on April 1st, 2025 The readme recommends exploring using: * [OpenTelemetry Go SDK](https://opentelemetry.io/docs/languages/go/instrumentation/#metrics) * [Prometheus Go Client Library](https://pkg.go.dev/github.com/prometheus/client_golang/prometheus) Looks like it is only being used in...