Optional
batchOptional
childrenOptional
defaultThe default function to apply to the policy evaluation result to get a boolean decision.
It can be overridden from Authz
and useAuthz
.
If unset, any non-undefined, non-false (i.e. "truthy") result will be taken to mean "authorized".
Optional
defaultDefault input for every decision, merged with any passed-in input. Use the latter to override the defaults.
Optional
defaultDefault path for every decision. Override by providingpath
.
The @styra/opa
OPAClient instance to use.
Optional
retryWhether or not policy evaluations should retry on transient failures. false
means never; true
means infinite retry; any number N means N retries. Defaults to 3.
Batch policy evaluation queries when possible, and supported by the backend. Defaults to
false
.