Apache Ranger · JSON Structure

Apache Ranger Policy Resource Structure

Resource specification in a Ranger policy

Type: object Properties: 3
Access ControlAuthorizationHadoopPolicy ManagementSecurityApacheOpen Source

PolicyResource is a JSON Structure definition published by Apache Ranger, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

values isRecursive isExcludes

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-ranger/refs/heads/main/json-structure/apache-ranger-policy-resource-structure.json",
  "description": "Resource specification in a Ranger policy",
  "type": "object",
  "properties": {
    "values": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Resource values (paths, tables, etc.)"
    },
    "isRecursive": {
      "type": "boolean",
      "description": "Whether to apply recursively"
    },
    "isExcludes": {
      "type": "boolean",
      "description": "Whether this is an exclusion list"
    }
  },
  "name": "PolicyResource"
}