RangerPolicy Data Type

Subtypes
RangerAuditPolicy
Properties
name data type description
denyExceptions array of RangerPolicyItem
allowExceptions array of RangerPolicyItem
validitySchedules array of RangerValiditySchedule
policyPriority number
policyType number
isAuditEnabled boolean
zoneName string
denyPolicyItems array of RangerPolicyItem
service string
resources map of RangerPolicyResource
dataMaskPolicyItems array of RangerDataMaskPolicyItem
rowFilterPolicyItems array of RangerRowFilterPolicyItem
policyItems array of RangerPolicyItem
policyLabels array of string
resourceSignature string
isDenyAllElse boolean
name string
serviceType string
description string
conditions array of RangerPolicyItemCondition
options map of object
Properties inherited from RangerBaseModelObject
createTime number
id number
updatedBy string
version number
createdBy string
guid string
updateTime number
isEnabled boolean

Example

{
  "denyExceptions" : [ {
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  }, {
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  } ],
  "allowExceptions" : [ {
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  }, {
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  } ],
  "validitySchedules" : [ {
    "recurrences" : [ {
      "interval" : { },
      "schedule" : { }
    }, {
      "interval" : { },
      "schedule" : { }
    } ],
    "startTime" : "...",
    "timeZone" : "...",
    "endTime" : "..."
  }, {
    "recurrences" : [ {
      "interval" : { },
      "schedule" : { }
    }, {
      "interval" : { },
      "schedule" : { }
    } ],
    "startTime" : "...",
    "timeZone" : "...",
    "endTime" : "..."
  } ],
  "policyPriority" : 12345,
  "policyType" : 12345,
  "isAuditEnabled" : true,
  "zoneName" : "...",
  "denyPolicyItems" : [ {
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  }, {
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  } ],
  "service" : "...",
  "resources" : {
    "property1" : {
      "values" : [ "...", "..." ],
      "isRecursive" : true,
      "isExcludes" : true
    },
    "property2" : {
      "values" : [ "...", "..." ],
      "isRecursive" : true,
      "isExcludes" : true
    }
  },
  "dataMaskPolicyItems" : [ {
    "dataMaskInfo" : {
      "dataMaskType" : "...",
      "valueExpr" : "...",
      "conditionExpr" : "..."
    },
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  }, {
    "dataMaskInfo" : {
      "dataMaskType" : "...",
      "valueExpr" : "...",
      "conditionExpr" : "..."
    },
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  } ],
  "rowFilterPolicyItems" : [ {
    "rowFilterInfo" : {
      "filterExpr" : "..."
    },
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  }, {
    "rowFilterInfo" : {
      "filterExpr" : "..."
    },
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  } ],
  "policyItems" : [ {
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  }, {
    "groups" : [ "...", "..." ],
    "accesses" : [ {
      "type" : "...",
      "isAllowed" : true
    }, {
      "type" : "...",
      "isAllowed" : true
    } ],
    "delegateAdmin" : true,
    "users" : [ "...", "..." ],
    "conditions" : [ {
      "values" : [ "...", "..." ],
      "type" : "..."
    }, {
      "values" : [ "...", "..." ],
      "type" : "..."
    } ],
    "roles" : [ "...", "..." ]
  } ],
  "policyLabels" : [ "...", "..." ],
  "resourceSignature" : "...",
  "isDenyAllElse" : true,
  "name" : "...",
  "serviceType" : "...",
  "description" : "...",
  "conditions" : [ {
    "values" : [ "...", "..." ],
    "type" : "..."
  }, {
    "values" : [ "...", "..." ],
    "type" : "..."
  } ],
  "options" : {
    "property1" : { },
    "property2" : { }
  },
  "createTime" : 12345,
  "id" : 12345,
  "updatedBy" : "...",
  "version" : 12345,
  "createdBy" : "...",
  "guid" : "...",
  "updateTime" : 12345,
  "isEnabled" : true
}