Cedar Policies

Test Cedar policy evaluation

Evaluate the organization's Cedar policies against a test request.

post/v1/org/cedar-policies/test

Request

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

Request body

cedar_textstring

Optional inline Cedar text to test

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.