Query OPA decision
opa_query_decisionEvaluate policy decisions by submitting input to an OPA data path and retrieving the rule's result, such as allow or deny.
Instructions
Evaluate a decision against the running OPA server. POSTs to the data path with {input} and returns whatever the rule produces. Use this to ask the server "given this input, what does data.X.allow say?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Decision path under `data.`, e.g. "rbac/allow" or "rbac.allow". | |
| input | No | Input document to evaluate against. | |
| explain | No | Include a trace at the requested level. | |
| metrics | No | Include metrics in the response. | |
| segments | No | Path as literal key segments, e.g. ["labels", "app.kubernetes.io/name"]. Use instead of `path` when a key contains a dot or a slash. |