Download OpenAPI specification:Download
This page describe tha API exposed by the Validator OPA Server of the Adapters of the Utility Plane of the Open Data Mesh Platform.
The Validator OPA Module of the Open Data Mesh platform manages the evaluation requests for OPA policies
Evaluate an object against the provided policy
policyEvaluationId | integer <int64> Policy Evaluation ID to reconcile the evaluation result with the triggering request |
object (PolicyResource) JSON representation of the policy to evaluate against | |
objectToEvaluate | object JSON representation of the object to be evaluated |
{- "policyEvaluationId": 0,
- "policy": {
- "lastVersion": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "rootId": 0,
- "name": "string",
- "displayName": "string",
- "description": "string",
- "blockingFlag": true,
- "rawContent": "string",
- "suite": "string",
- "evaluationEvent": "string",
- "filteringExpression": "string",
- "isLastVersion": true,
- "policyEngine": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "displayName": "string",
- "adapterUrl": "string"
}
}, - "objectToEvaluate": { }
}
{- "policyEvaluationId": 0,
- "evaluationResult": true,
- "outputObject": { }
}