OPA Policies

Test OPA policy evaluation

Evaluate the organization's OPA policies against a test input.

post/v1/org/opa-policies/test

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/org/opa-policies/test
  • Auth: HTTP bearer

Request body

principal_typestring required
principal_idstring uuid required
actionstring required
resource_pathstring required
vault_idstring uuid required
contextobject

Response

Policy evaluation result

decision'allow' | 'deny'
backendstring
enforcement_status'shadow' | 'enforce' | 'inactive'
notestring

Changes

No recorded changes to this operation across all 1 revision of this API.