Policy

Simulate policy evaluation (no side effects)

Changed on
post/api/v1/policy/simulate

Request

  • Base URL: http://localhost:8081
  • URL: http://localhost:8081/api/v1/policy/simulate
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

X-Tenant-IDstring required

Tenant isolation header (required on all protected routes).

Request body

job_idstring
topicstring
tenantstring
org_idstring
team_idstring
capabilitystring
risk_tagsstring[]
contextobject
labelsobject

Response

Simulation result

decision'ALLOW' | 'DENY' | 'QUARANTINE' | 'REQUIRE_APPROVAL'
reasonstring
rule_idstring nullable
constraintsobject nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status