opa icon indicating copy to clipboard operation
opa copied to clipboard

Open Policy Agent (OPA) is an open source, general-purpose policy engine.

Results 459 opa issues
Sort by recently updated
recently updated
newest added

``` $ echo 123 | opa eval -I -fpretty 'input.foo with input.foo as input' -twasm undefined $ echo 123 | opa eval -I -fpretty 'input.foo with input.foo as input' 123...

bug
ir/wasm
inactive

## What is the underlying problem you're trying to solve? I have a use case where I need to use a user-defined Rego function from another policy that is part...

feature-request
inactive

The way we currently report `rego_unsafe_var_error`s is really confusing, and reasonably more so for people new to Rego. Given a policy like this: ```rego package play rule { my_string :=...

feature-request
usability
rego

It's possible to declare functions with zero arguments in Rego: ```rego package example foo() := 1 ``` these are however treated as regular rules, and there is no semantic difference...

feature-request
rego

The following policy: ```rego package play p := 1 p.q := 2 p.r[s] := 3 { s := "s" } ``` will generate the error: ``` 1 error occurred: policy.rego:3:...

bug

The serialized AST contains a number rules, and it contains a number of annotations (if present). This is good, and tools using the AST, like [Regal](https://github.com/styraInc/regal) may use this to...

feature-request
rego
inactive

```rego package play allow { some x print(x) } ``` ``` 1 error occurred: policy.rego:5: rego_compile_error: var __local0__ is undeclared ```

bug
rego

The following policy is rejected by the type checker: ```rego package bin a := {1, 2, 3, 4} b := {3, 4, 5} c := {4, 5, 6} d :=...

bug
inactive

There are a few instances where the grammar has not kept up-to-date with the parser: ``` 1. The % operator is missing 2. data.refrules.fruit["[color.name](http://color.name/)"](fruit.apple, "green") is a valid expr-call 3....

bug
docs
inactive

The format of the nd_builtin_cache field in decision_logs makes it difficult and computationally expensive to mask sensitive values: ```json -----------8

bug