RangerPolicy Data Type

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

Example

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