ODM Platform Adapter Validator OPA API Reference (0.9.0)

Download OpenAPI specification:Download

ODM Platform Team: odm.info@quantyca.it License: Apache 2.0

This page describe tha API exposed by the Validator OPA Server of the Adapters of the Utility Plane of the Open Data Mesh Platform.

Overview

The Validator OPA Module of the Open Data Mesh platform manages the evaluation requests for OPA policies

Policies evaluation API

API to evaluate one policy for a given object

Evaluate an object

Evaluate an object against the provided policy

Request Body schema: application/json
required
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

Responses

Request samples

Content type
application/json
{
  • "policyEvaluationId": 0,
  • "policy": {
    },
  • "objectToEvaluate": { }
}

Response samples

Content type
application/json
{
  • "policyEvaluationId": 0,
  • "evaluationResult": true,
  • "outputObject": { }
}