Oso Cloud · Schema

PolicyError

Error report for a failed Polar policy test, to be displayed to user. Sent to `oso-cloud` CLI as JSON.

AuthorizationAccess ControlRBACReBACABACPermissionsPolicySecurityIdentity

Properties

Name Type Description
error_type object Type of error encountered.
message string Error message to display to the user.
View JSON Schema on GitHub

JSON Schema

PolicyError.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.osohq.com/schemas/PolicyError.json",
  "title": "PolicyError",
  "description": "Error report for a failed Polar policy test, to be displayed to user. Sent to `oso-cloud` CLI as JSON.",
  "type": "object",
  "required": [
    "error_type",
    "message"
  ],
  "properties": {
    "error_type": {
      "description": "Type of error encountered.",
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyFailure"
        }
      ]
    },
    "message": {
      "description": "Error message to display to the user.",
      "type": "string"
    }
  }
}