Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 492 Bytes

File metadata and controls

26 lines (20 loc) · 492 Bytes

Expected output from OPA policy evaluation

This document describes the expected output from OPA policy query

Expected Fields

allowed

  • Type: Boolean
  • Description: Indicates whether the action is permitted.

violations

  • Type: List of Strings
  • Description: Reasons why the action is not allowed.

Example output expected from OPA policy query

{
  "allowed": false,
  "violations": [
    "No job execution is allowed",
    ...
  ],
  ...
}