opa
opa copied to clipboard
Open Policy Agent (OPA) is an open source, general-purpose policy engine.
## Short description There was an update to the prometheus exports that go provides as of Go 1.18 this means the `go_memstats_gc_cpu_fraction` metric is no longer available from the metrics...
## What is the underlying problem you're trying to solve? The current decision log plugin runs in two variants: unbounded (all decisions are kept) and bound (decisions are discarded if...
I expected this policy to compile: ```rego package play import rego.v1 p[x].foo.bar if { x := "a" not p[x].foo.baz } p[x].foo.baz if { x := "a" false } ``` But...
When I create a regular bundle I can contain there both data and policy. I would like to request a similar option when creating a `wasm` file. Sometimes the data...
It's not often I get to use `opa inspect`, but when I do, it's often to help me understand how annotations have been processed in a file. However.. ```shell >...
Version: 0.64.1 In practice it is not possible to use `opa.runtime().env` with partial eval. This is a test to reproduce issue: ```go func TestPartialEvalLoosesRuntime(t *testing.T) { module := ` package...
OPA v0.65.0 brought annotations to rule nodes, and it's been great to work with in [Regal](https://docs.styra.com/regal)! I think it's probably just an oversight, but annotations for packages are still not...
## Short description Test coverage calculation changed in 0.63.0 when multiple conditions are matched. Previously both condition trees were being marked as covered by a single test, now the first...
NOTE: This issue is related to issue: https://github.com/open-policy-agent/opa/issues/6753 There we discussed the OOM caused by loading big data objects due to AST loading, on this issue we point out the...
```rego package has["weird/package"].but import rego.v1 # METADATA # entrypoint: true it_is := true ``` This package, when built into a wasm module via `opa build -t wasm policy.rego`, will end...