opa
opa copied to clipboard
Open Policy Agent (OPA) is an open source, general-purpose policy engine.
Results
302
opa issues
Sort by
recently updated
recently updated
newest added
It's often necessary to select a nested field out of a document but fallback to a default value if the referenced field is undefined. In the past users could write...
design
rego
```rego package p import rego.v1 foo := data.foo.bar["contains"]("baz") ``` running `opa fmt` on this file rewrites the ref: ```rego package p import rego.v1 foo := data.foo.bar.contains("baz") ``` which doesn't parse,...
bug