Oso Cloud · Schema

AuthorizeResourcesQuery

AuthorizationAccess ControlRBACReBACABACPermissionsPolicySecurityIdentity

Properties

Name Type Description
actor_type string
actor_id string
action string
resources array
context_facts array
View JSON Schema on GitHub

JSON Schema

AuthorizeResourcesQuery.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.osohq.com/schemas/AuthorizeResourcesQuery.json",
  "title": "AuthorizeResourcesQuery",
  "type": "object",
  "required": [
    "action",
    "actor_id",
    "actor_type",
    "resources"
  ],
  "properties": {
    "actor_type": {
      "type": "string"
    },
    "actor_id": {
      "type": "string"
    },
    "action": {
      "type": "string"
    },
    "resources": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Value"
      }
    },
    "context_facts": {
      "default": [],
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Fact"
      }
    }
  }
}