opa
opa copied to clipboard
Open Policy Agent (OPA) is an open source, general-purpose policy engine.
### Why the changes in this PR are needed? When running OPA with the distributed tracing option enabled, the OpenTelemetry trace exporter is not gracefully shut down when the server...
## Short description There appears to be situations where `some .. in` iteration syntax is less performant than the legacy bracket syntax. Examples: ```rego all_operations contains operation if { role_allowed_operations[_][operation]...
Trying to reference an item in a generated map by its numeric index in a `some .. in` iteration seems to have the type checker confused. I'd expect this to...
Whether `else` should be moved to a line of its own at all is debatable, but I think the formatter at minimum should respect simple one-liner constructs when `else` is...
## What is the underlying problem you're trying to solve? Hi! We are currently using the Rego Go API (not the SDK) to execute Rego files. This works quite well...
we are working with OPA as our policy agent. we deploy multiple instances of OPA as docker containers on kubernetes. Each OPA has k8s memory limit of 4GB. also, each...
## Short description Using opa against a non existent rego files returns with an error message on STDOUT and errcode 2. I would think such an error really should be...
## Short description Play: https://play.openpolicyagent.org/p/1qlgPwcNXA Snippet: ``` obj["a"] := input.a obj["b"] := input.b test_obj2 if { {"a":"1"} == obj with input as {"a": "1"} } ``` The code should be...
## What is the underlying problem you're trying to solve? Making it easier to copy the commands from the docs. ## Describe the ideal solution Having a "copy" button on...
## Short description * OPA version: v0.46.0+ * Affects REPL only Example CLI session: ``` $ opa run OPA 0.48.0-dev (commit d12e959922e3f2df55f9add4a2ce945017fd669f-dirty, built at 2022-12-19T21:30:11Z) Run 'help' to see a...