opa
opa copied to clipboard
Open Policy Agent (OPA) is an open source, general-purpose policy engine.
```rego package play import rego.v1 x := "node" obj[x].y := "foo" obj[x].z contains "bar" ``` gives ``` 1 error occurred: policy.rego:7: rego_type_error: conflicting rules data.play.obj[__local1__].z found ``` There shouldn't be...
Optimizations, i.e. running partial eval, before compiling into Wasm is something you could want to do. However, at the moment, the only way to get that done is to do...
Using nested/ref head rules is nice, as it allows incrementally building nested structures. Given a common example like the one below however poses a challenge for metadata: ```rego package policy...