Test workload identity policy
Requires an organization owner or an API key with api-admin. Transformations are required; admission and authorization rules are optional. The test does not persist policy or issue credentials.
Authentication
AuthorizationBearer
Console user session, Mixlayer API key, or Mixlayer workload access token supplied as a Bearer token.
Path parameters
org_id
Organization ID
Request
This endpoint expects an object.
assertion
Example external assertion supplied directly to the policy evaluator.
attribute_transformations
CEL expressions mapping assertion values to normalized attributes.
attribute_condition
Optional CEL condition that admits or rejects the workload.
Response
Policy test result
data
Non-issuing result for testing an assertion against workload identity policy.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
413
Content Too Large Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
500
Internal Server Error