name | data type | description |
---|---|---|
policyVersion | number | |
policies | array of RangerPolicy | |
securityZones | map of SecurityZoneInfo | |
auditMode | string | |
serviceConfig | map of string | |
policyDeltas | array of RangerPolicyDelta | |
tagPolicies | TagPolicies | |
policyUpdateTime | number | |
serviceName | string | |
serviceId | number | |
serviceDef | RangerServiceDef |
Example
{ "policyVersion" : 12345, "policies" : [ { "policyType" : 12345, "description" : "...", "policyItems" : [ { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "validitySchedules" : [ { "startTime" : "...", "endTime" : "...", "timeZone" : "...", "recurrences" : [ { }, { } ] }, { "startTime" : "...", "endTime" : "...", "timeZone" : "...", "recurrences" : [ { }, { } ] } ], "dataMaskPolicyItems" : [ { "dataMaskInfo" : { }, "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "dataMaskInfo" : { }, "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true }, "property2" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true } }, { "property1" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true }, "property2" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "service" : "...", "zoneName" : "...", "conditions" : [ { "values" : [ "...", "..." ], "type" : "..." }, { "values" : [ "...", "..." ], "type" : "..." } ], "denyPolicyItems" : [ { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "denyExceptions" : [ { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true }, "property2" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true } }, "rowFilterPolicyItems" : [ { "rowFilterInfo" : { }, "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "rowFilterInfo" : { }, "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 }, { "policyType" : 12345, "description" : "...", "policyItems" : [ { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "validitySchedules" : [ { "startTime" : "...", "endTime" : "...", "timeZone" : "...", "recurrences" : [ { }, { } ] }, { "startTime" : "...", "endTime" : "...", "timeZone" : "...", "recurrences" : [ { }, { } ] } ], "dataMaskPolicyItems" : [ { "dataMaskInfo" : { }, "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "dataMaskInfo" : { }, "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true }, "property2" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true } }, { "property1" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true }, "property2" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "service" : "...", "zoneName" : "...", "conditions" : [ { "values" : [ "...", "..." ], "type" : "..." }, { "values" : [ "...", "..." ], "type" : "..." } ], "denyPolicyItems" : [ { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "denyExceptions" : [ { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true }, "property2" : { "isExcludes" : true, "values" : [ "...", "..." ], "isRecursive" : true } }, "rowFilterPolicyItems" : [ { "rowFilterInfo" : { }, "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true }, { "rowFilterInfo" : { }, "users" : [ "...", "..." ], "accesses" : [ { }, { } ], "groups" : [ "...", "..." ], "roles" : [ "...", "..." ], "conditions" : [ { }, { } ], "delegateAdmin" : true } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 } ], "securityZones" : { "property1" : { "policies" : [ { "policyType" : 12345, "description" : "...", "policyItems" : [ { }, { } ], "validitySchedules" : [ { }, { } ], "dataMaskPolicyItems" : [ { }, { } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { }, "property2" : { } }, { "property1" : { }, "property2" : { } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { }, { } ], "service" : "...", "zoneName" : "...", "conditions" : [ { }, { } ], "denyPolicyItems" : [ { }, { } ], "denyExceptions" : [ { }, { } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { }, "property2" : { } }, "rowFilterPolicyItems" : [ { }, { } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 }, { "policyType" : 12345, "description" : "...", "policyItems" : [ { }, { } ], "validitySchedules" : [ { }, { } ], "dataMaskPolicyItems" : [ { }, { } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { }, "property2" : { } }, { "property1" : { }, "property2" : { } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { }, { } ], "service" : "...", "zoneName" : "...", "conditions" : [ { }, { } ], "denyPolicyItems" : [ { }, { } ], "denyExceptions" : [ { }, { } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { }, "property2" : { } }, "rowFilterPolicyItems" : [ { }, { } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 } ], "zoneName" : "...", "policyDeltas" : [ { "policy" : { }, "policiesVersion" : 12345, "id" : 12345, "changeType" : 12345 }, { "policy" : { }, "policiesVersion" : 12345, "id" : 12345, "changeType" : 12345 } ], "resources" : [ { "property1" : [ "...", "..." ], "property2" : [ "...", "..." ] }, { "property1" : [ "...", "..." ], "property2" : [ "...", "..." ] } ], "containsAssociatedTagService" : true }, "property2" : { "policies" : [ { "policyType" : 12345, "description" : "...", "policyItems" : [ { }, { } ], "validitySchedules" : [ { }, { } ], "dataMaskPolicyItems" : [ { }, { } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { }, "property2" : { } }, { "property1" : { }, "property2" : { } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { }, { } ], "service" : "...", "zoneName" : "...", "conditions" : [ { }, { } ], "denyPolicyItems" : [ { }, { } ], "denyExceptions" : [ { }, { } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { }, "property2" : { } }, "rowFilterPolicyItems" : [ { }, { } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 }, { "policyType" : 12345, "description" : "...", "policyItems" : [ { }, { } ], "validitySchedules" : [ { }, { } ], "dataMaskPolicyItems" : [ { }, { } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { }, "property2" : { } }, { "property1" : { }, "property2" : { } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { }, { } ], "service" : "...", "zoneName" : "...", "conditions" : [ { }, { } ], "denyPolicyItems" : [ { }, { } ], "denyExceptions" : [ { }, { } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { }, "property2" : { } }, "rowFilterPolicyItems" : [ { }, { } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 } ], "zoneName" : "...", "policyDeltas" : [ { "policy" : { }, "policiesVersion" : 12345, "id" : 12345, "changeType" : 12345 }, { "policy" : { }, "policiesVersion" : 12345, "id" : 12345, "changeType" : 12345 } ], "resources" : [ { "property1" : [ "...", "..." ], "property2" : [ "...", "..." ] }, { "property1" : [ "...", "..." ], "property2" : [ "...", "..." ] } ], "containsAssociatedTagService" : true } }, "auditMode" : "...", "serviceConfig" : { "property1" : "...", "property2" : "..." }, "policyDeltas" : [ { "policy" : { "policyType" : 12345, "description" : "...", "policyItems" : [ { }, { } ], "validitySchedules" : [ { }, { } ], "dataMaskPolicyItems" : [ { }, { } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { }, "property2" : { } }, { "property1" : { }, "property2" : { } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { }, { } ], "service" : "...", "zoneName" : "...", "conditions" : [ { }, { } ], "denyPolicyItems" : [ { }, { } ], "denyExceptions" : [ { }, { } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { }, "property2" : { } }, "rowFilterPolicyItems" : [ { }, { } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 }, "policiesVersion" : 12345, "id" : 12345, "changeType" : 12345 }, { "policy" : { "policyType" : 12345, "description" : "...", "policyItems" : [ { }, { } ], "validitySchedules" : [ { }, { } ], "dataMaskPolicyItems" : [ { }, { } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { }, "property2" : { } }, { "property1" : { }, "property2" : { } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { }, { } ], "service" : "...", "zoneName" : "...", "conditions" : [ { }, { } ], "denyPolicyItems" : [ { }, { } ], "denyExceptions" : [ { }, { } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { }, "property2" : { } }, "rowFilterPolicyItems" : [ { }, { } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 }, "policiesVersion" : 12345, "id" : 12345, "changeType" : 12345 } ], "tagPolicies" : { "auditMode" : "...", "serviceId" : 12345, "serviceDef" : { "rbKeyLabel" : "...", "resources" : [ { }, { } ], "contextEnrichers" : [ { }, { } ], "description" : "...", "implClass" : "...", "enums" : [ { }, { } ], "label" : "...", "configs" : [ { }, { } ], "options" : { "property1" : "...", "property2" : "..." }, "accessTypes" : [ { }, { } ], "dataMaskDef" : { }, "policyConditions" : [ { }, { } ], "displayName" : "...", "name" : "...", "rowFilterDef" : { }, "rbKeyDescription" : "...", "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 }, "serviceName" : "...", "policyUpdateTime" : 12345, "serviceConfig" : { "property1" : "...", "property2" : "..." }, "policies" : [ { "policyType" : 12345, "description" : "...", "policyItems" : [ { }, { } ], "validitySchedules" : [ { }, { } ], "dataMaskPolicyItems" : [ { }, { } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { }, "property2" : { } }, { "property1" : { }, "property2" : { } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { }, { } ], "service" : "...", "zoneName" : "...", "conditions" : [ { }, { } ], "denyPolicyItems" : [ { }, { } ], "denyExceptions" : [ { }, { } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { }, "property2" : { } }, "rowFilterPolicyItems" : [ { }, { } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 }, { "policyType" : 12345, "description" : "...", "policyItems" : [ { }, { } ], "validitySchedules" : [ { }, { } ], "dataMaskPolicyItems" : [ { }, { } ], "options" : { "property1" : { }, "property2" : { } }, "serviceType" : "...", "additionalResources" : [ { "property1" : { }, "property2" : { } }, { "property1" : { }, "property2" : { } } ], "policyPriority" : 12345, "isAuditEnabled" : true, "resourceSignature" : "...", "name" : "...", "allowExceptions" : [ { }, { } ], "service" : "...", "zoneName" : "...", "conditions" : [ { }, { } ], "denyPolicyItems" : [ { }, { } ], "denyExceptions" : [ { }, { } ], "isDenyAllElse" : true, "policyLabels" : [ "...", "..." ], "resources" : { "property1" : { }, "property2" : { } }, "rowFilterPolicyItems" : [ { }, { } ], "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 } ], "policyVersion" : 12345 }, "policyUpdateTime" : 12345, "serviceName" : "...", "serviceId" : 12345, "serviceDef" : { "rbKeyLabel" : "...", "resources" : [ { "type" : "...", "matcherOptions" : { "property1" : "...", "property2" : "..." }, "excludesSupported" : true, "parent" : "...", "name" : "...", "validationRegEx" : "...", "level" : 12345, "lookupSupported" : true, "itemId" : 12345, "validationMessage" : "...", "mandatory" : true, "accessTypeRestrictions" : [ "...", "..." ], "uiHint" : "...", "description" : "...", "matcher" : "...", "rbKeyValidationMessage" : "...", "label" : "...", "rbKeyDescription" : "...", "isValidLeaf" : true, "rbKeyLabel" : "...", "recursiveSupported" : true }, { "type" : "...", "matcherOptions" : { "property1" : "...", "property2" : "..." }, "excludesSupported" : true, "parent" : "...", "name" : "...", "validationRegEx" : "...", "level" : 12345, "lookupSupported" : true, "itemId" : 12345, "validationMessage" : "...", "mandatory" : true, "accessTypeRestrictions" : [ "...", "..." ], "uiHint" : "...", "description" : "...", "matcher" : "...", "rbKeyValidationMessage" : "...", "label" : "...", "rbKeyDescription" : "...", "isValidLeaf" : true, "rbKeyLabel" : "...", "recursiveSupported" : true } ], "contextEnrichers" : [ { "enricher" : "...", "name" : "...", "itemId" : 12345, "enricherOptions" : { "property1" : "...", "property2" : "..." } }, { "enricher" : "...", "name" : "...", "itemId" : 12345, "enricherOptions" : { "property1" : "...", "property2" : "..." } } ], "description" : "...", "implClass" : "...", "enums" : [ { "defaultIndex" : 12345, "name" : "...", "elements" : [ { }, { } ], "itemId" : 12345 }, { "defaultIndex" : 12345, "name" : "...", "elements" : [ { }, { } ], "itemId" : 12345 } ], "label" : "...", "configs" : [ { "itemId" : 12345, "subType" : "...", "type" : "...", "label" : "...", "rbKeyDescription" : "...", "rbKeyLabel" : "...", "defaultValue" : "...", "validationRegEx" : "...", "uiHint" : "...", "rbKeyValidationMessage" : "...", "name" : "...", "description" : "...", "mandatory" : true, "validationMessage" : "..." }, { "itemId" : 12345, "subType" : "...", "type" : "...", "label" : "...", "rbKeyDescription" : "...", "rbKeyLabel" : "...", "defaultValue" : "...", "validationRegEx" : "...", "uiHint" : "...", "rbKeyValidationMessage" : "...", "name" : "...", "description" : "...", "mandatory" : true, "validationMessage" : "..." } ], "options" : { "property1" : "...", "property2" : "..." }, "accessTypes" : [ { "name" : "...", "label" : "...", "itemId" : 12345, "impliedGrants" : [ "...", "..." ], "rbKeyLabel" : "..." }, { "name" : "...", "label" : "...", "itemId" : 12345, "impliedGrants" : [ "...", "..." ], "rbKeyLabel" : "..." } ], "dataMaskDef" : { "maskTypes" : [ { }, { } ], "accessTypes" : [ { }, { } ], "resources" : [ { }, { } ] }, "policyConditions" : [ { "evaluatorOptions" : { "property1" : "...", "property2" : "..." }, "itemId" : 12345, "description" : "...", "validationMessage" : "...", "label" : "...", "name" : "...", "rbKeyValidationMessage" : "...", "rbKeyLabel" : "...", "validationRegEx" : "...", "uiHint" : "...", "rbKeyDescription" : "...", "evaluator" : "..." }, { "evaluatorOptions" : { "property1" : "...", "property2" : "..." }, "itemId" : 12345, "description" : "...", "validationMessage" : "...", "label" : "...", "name" : "...", "rbKeyValidationMessage" : "...", "rbKeyLabel" : "...", "validationRegEx" : "...", "uiHint" : "...", "rbKeyDescription" : "...", "evaluator" : "..." } ], "displayName" : "...", "name" : "...", "rowFilterDef" : { "accessTypes" : [ { }, { } ], "resources" : [ { }, { } ] }, "rbKeyDescription" : "...", "guid" : "...", "isEnabled" : true, "createTime" : 12345, "createdBy" : "...", "updatedBy" : "...", "id" : 12345, "updateTime" : 12345, "version" : 12345 } }