name | type | description |
---|---|---|
policyname | query | |
servicename | query |
DELETE /public/v2/api/policy
Content-Type: */*
...
HTTP/1.1 204 No Content
media type | data type | description |
---|---|---|
application/json | array of RangerPolicy (JSON) | |
application/xml | list of rangerPolicy (XML) |
GET /public/v2/api/policy
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
} ]
media type | data type |
---|---|
application/json | RangerPolicy (JSON) |
application/xml | rangerPolicy (XML) |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) | |
application/xml | rangerPolicy (XML) |
POST /public/v2/api/policy
Content-Type: application/json
Accept: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
media type | data type | description |
---|---|---|
application/json | array of RangerRole (JSON) | |
application/xml | list of rangerRole (XML) |
GET /public/v2/api/roles
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
} ]
name | type | description | default | constraints |
---|---|---|---|---|
createNonExistUserGroup | query | false | boolean | |
serviceName | query |
media type | data type |
---|---|
application/json | RangerRole (JSON) |
application/xml | rangerRole (XML) |
media type | data type | description |
---|---|---|
application/json | RangerRole (JSON) | |
application/xml | rangerRole (XML) |
POST /public/v2/api/roles
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
media type | data type | description |
---|---|---|
application/json | array of RangerService (JSON) | |
application/xml | list of rangerService (XML) |
GET /public/v2/api/service
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
} ]
media type | data type |
---|---|
application/json | RangerService (JSON) |
application/xml | rangerService (XML) |
media type | data type | description |
---|---|---|
application/json | RangerService (JSON) | |
application/xml | rangerService (XML) |
POST /public/v2/api/service
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
media type | data type | description |
---|---|---|
application/json | array of RangerServiceDef (JSON) | |
application/xml | list of rangerServiceDef (XML) |
GET /public/v2/api/servicedef
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
} ]
media type | data type |
---|---|
application/json | RangerServiceDef (JSON) |
application/xml | rangerServiceDef (XML) |
media type | data type | description |
---|---|---|
application/json | RangerServiceDef (JSON) | |
application/xml | rangerServiceDef (XML) |
POST /public/v2/api/servicedef
Content-Type: application/json
Accept: application/json
{
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
media type | data type | description |
---|---|---|
application/json | array of RangerSecurityZone (JSON) | |
application/xml | list of rangerSecurityZone (XML) |
GET /public/v2/api/zones
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"auditUserGroups" : [ "...", "..." ],
"tagServices" : [ "...", "..." ],
"services" : {
"property1" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
},
"property2" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
}
},
"adminUsers" : [ "...", "..." ],
"name" : "...",
"adminUserGroups" : [ "...", "..." ],
"description" : "...",
"auditUsers" : [ "...", "..." ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
} ]
media type | data type |
---|---|
application/json | RangerSecurityZone (JSON) |
application/xml | rangerSecurityZone (XML) |
media type | data type | description |
---|---|---|
application/json | RangerSecurityZone (JSON) | |
application/xml | rangerSecurityZone (XML) |
POST /public/v2/api/zones
Content-Type: application/json
Accept: application/json
{
"auditUserGroups" : [ "...", "..." ],
"tagServices" : [ "...", "..." ],
"services" : {
"property1" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
},
"property2" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
}
},
"adminUsers" : [ "...", "..." ],
"name" : "...",
"adminUserGroups" : [ "...", "..." ],
"description" : "...",
"auditUsers" : [ "...", "..." ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"auditUserGroups" : [ "...", "..." ],
"tagServices" : [ "...", "..." ],
"services" : {
"property1" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
},
"property2" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
}
},
"adminUsers" : [ "...", "..." ],
"name" : "...",
"adminUserGroups" : [ "...", "..." ],
"description" : "...",
"auditUsers" : [ "...", "..." ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
media type | data type | description |
---|---|---|
application/json | array of RangerPluginInfo (JSON) | |
application/xml | list of rangerPluginInfo (XML) |
GET /public/v2/api/plugins/info
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"ipAddress" : "...",
"id" : 12345,
"serviceName" : "...",
"updateTime" : 12345,
"serviceDisplayName" : "...",
"serviceTypeDisplayName" : "...",
"info" : {
"property1" : "...",
"property2" : "..."
},
"createTime" : 12345,
"serviceType" : "...",
"appType" : "...",
"hostName" : "..."
} ]
media type | data type |
---|---|
application/json | RangerPolicy (JSON) |
application/xml | rangerPolicy (XML) |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) | |
application/xml | rangerPolicy (XML) |
POST /public/v2/api/policy/apply
Content-Type: application/json
Accept: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /public/v2/api/policy/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) | |
application/xml | rangerPolicy (XML) |
GET /public/v2/api/policy/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerPolicy (JSON) |
application/xml | rangerPolicy (XML) |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) | |
application/xml | rangerPolicy (XML) |
PUT /public/v2/api/policy/{id}
Content-Type: application/json
Accept: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
execUser | query | |
serviceName | query |
media type | data type | description |
---|---|---|
application/json | array of string (JSON) | |
application/xml | list of string (XML) |
GET /public/v2/api/roles/names
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /public/v2/api/roles/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerRole (JSON) | |
application/xml | rangerRole (XML) |
GET /public/v2/api/roles/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | default | constraints |
---|---|---|---|---|
id | path | long | ||
createNonExistUserGroup | query | false | boolean |
media type | data type |
---|---|
application/json | RangerRole (JSON) |
application/xml | rangerRole (XML) |
media type | data type | description |
---|---|---|
application/json | RangerRole (JSON) | |
application/xml | rangerRole (XML) |
PUT /public/v2/api/roles/{id}
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | default | constraints |
---|---|---|---|---|
days | query | 7 | int |
DELETE /public/v2/api/server/policydeltas
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | default | constraints |
---|---|---|---|---|
days | query | 7 | int |
DELETE /public/v2/api/server/tagdeltas
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /public/v2/api/service/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerService (JSON) | |
application/xml | rangerService (XML) |
GET /public/v2/api/service/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerService (JSON) |
application/xml | rangerService (XML) |
media type | data type | description |
---|---|---|
application/json | RangerService (JSON) | |
application/xml | rangerService (XML) |
PUT /public/v2/api/service/{id}
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /public/v2/api/servicedef/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerServiceDef (JSON) | |
application/xml | rangerServiceDef (XML) |
GET /public/v2/api/servicedef/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerServiceDef (JSON) |
application/xml | rangerServiceDef (XML) |
media type | data type | description |
---|---|---|
application/json | RangerServiceDef (JSON) | |
application/xml | rangerServiceDef (XML) |
PUT /public/v2/api/servicedef/{id}
Content-Type: application/json
Accept: application/json
{
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /public/v2/api/zones/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerSecurityZone (JSON) | |
application/xml | rangerSecurityZone (XML) |
GET /public/v2/api/zones/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"auditUserGroups" : [ "...", "..." ],
"tagServices" : [ "...", "..." ],
"services" : {
"property1" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
},
"property2" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
}
},
"adminUsers" : [ "...", "..." ],
"name" : "...",
"adminUserGroups" : [ "...", "..." ],
"description" : "...",
"auditUsers" : [ "...", "..." ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerSecurityZone (JSON) |
application/xml | rangerSecurityZone (XML) |
media type | data type | description |
---|---|---|
application/json | RangerSecurityZone (JSON) | |
application/xml | rangerSecurityZone (XML) |
PUT /public/v2/api/zones/{id}
Content-Type: application/json
Accept: application/json
{
"auditUserGroups" : [ "...", "..." ],
"tagServices" : [ "...", "..." ],
"services" : {
"property1" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
},
"property2" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
}
},
"adminUsers" : [ "...", "..." ],
"name" : "...",
"adminUserGroups" : [ "...", "..." ],
"description" : "...",
"auditUsers" : [ "...", "..." ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"auditUserGroups" : [ "...", "..." ],
"tagServices" : [ "...", "..." ],
"services" : {
"property1" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
},
"property2" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
}
},
"adminUsers" : [ "...", "..." ],
"name" : "...",
"adminUserGroups" : [ "...", "..." ],
"description" : "...",
"auditUsers" : [ "...", "..." ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | default |
---|---|---|---|
serviceDefName | path | ||
serviceName | query |
media type | data type | description |
---|---|---|
application/json | array of RangerPolicy (JSON) | |
application/xml | list of rangerPolicy (XML) |
GET /public/v2/api/policies/{serviceDefName}/for-resource
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
} ]
name | type | description |
---|---|---|
serviceName | path |
media type | data type |
---|---|
application/json | GrantRevokeRoleRequest (JSON) |
application/xml | grantRevokeRoleRequest (XML) |
media type | data type | description |
---|---|---|
application/json | RESTResponse (JSON) | |
application/xml | RESTResponse (XML) |
PUT /public/v2/api/roles/grant/{serviceName}
Content-Type: application/json
Accept: application/json
{
"targetRoles" : [ "...", "..." ],
"grantorGroups" : [ "...", "..." ],
"requestData" : "...",
"clusterName" : "...",
"grantor" : "...",
"roles" : [ "...", "..." ],
"groups" : [ "...", "..." ],
"clientType" : "...",
"clientIPAddress" : "...",
"users" : [ "...", "..." ],
"grantOption" : true,
"sessionId" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"msgDesc" : "...",
"message" : "...",
"httpStatusCode" : 12345,
"messageList" : [ {
"rbKey" : "...",
"objectId" : 12345,
"message" : "...",
"name" : "...",
"fieldName" : "..."
}, {
"rbKey" : "...",
"objectId" : 12345,
"message" : "...",
"name" : "...",
"fieldName" : "..."
} ],
"statusCode" : 12345
}
name | type | description |
---|---|---|
name | path | |
execUser | query | |
serviceName | query |
DELETE /public/v2/api/roles/name/{name}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
name | path | |
execUser | query | |
serviceName | query |
media type | data type | description |
---|---|---|
application/json | RangerRole (JSON) | |
application/xml | rangerRole (XML) |
GET /public/v2/api/roles/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
serviceName | path |
media type | data type |
---|---|
application/json | GrantRevokeRoleRequest (JSON) |
application/xml | grantRevokeRoleRequest (XML) |
media type | data type | description |
---|---|---|
application/json | RESTResponse (JSON) | |
application/xml | RESTResponse (XML) |
PUT /public/v2/api/roles/revoke/{serviceName}
Content-Type: application/json
Accept: application/json
{
"targetRoles" : [ "...", "..." ],
"grantorGroups" : [ "...", "..." ],
"requestData" : "...",
"clusterName" : "...",
"grantor" : "...",
"roles" : [ "...", "..." ],
"groups" : [ "...", "..." ],
"clientType" : "...",
"clientIPAddress" : "...",
"users" : [ "...", "..." ],
"grantOption" : true,
"sessionId" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"msgDesc" : "...",
"message" : "...",
"httpStatusCode" : 12345,
"messageList" : [ {
"rbKey" : "...",
"objectId" : 12345,
"message" : "...",
"name" : "...",
"fieldName" : "..."
}, {
"rbKey" : "...",
"objectId" : 12345,
"message" : "...",
"name" : "...",
"fieldName" : "..."
} ],
"statusCode" : 12345
}
name | type | description |
---|---|---|
user | path |
media type | data type | description |
---|---|---|
application/json | array of string (JSON) | |
application/xml | list of string (XML) |
GET /public/v2/api/roles/user/{user}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | boolean (JSON) |
application/xml | boolean (XML) |
media type | data type | description |
---|---|---|
application/json | RangerRole (JSON) | |
application/xml | rangerRole (XML) |
PUT /public/v2/api/roles/{id}/addUsersAndGroups
Content-Type: application/json
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | array of string (JSON) |
application/xml | list of string (XML) |
media type | data type | description |
---|---|---|
application/json | RangerRole (JSON) | |
application/xml | rangerRole (XML) |
PUT /public/v2/api/roles/{id}/removeAdminFromUsersAndGroups
Content-Type: application/json
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | array of string (JSON) |
application/xml | list of string (XML) |
media type | data type | description |
---|---|---|
application/json | RangerRole (JSON) | |
application/xml | rangerRole (XML) |
PUT /public/v2/api/roles/{id}/removeUsersAndGroups
Content-Type: application/json
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"createdByUser" : "...",
"groups" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"users" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"roles" : [ {
"name" : "...",
"isAdmin" : true
}, {
"name" : "...",
"isAdmin" : true
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
serviceName | path |
DELETE /public/v2/api/server/purgepolicies/{serviceName}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
name | path |
DELETE /public/v2/api/service/name/{name}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
name | path |
media type | data type | description |
---|---|---|
application/json | RangerService (JSON) | |
application/xml | rangerService (XML) |
GET /public/v2/api/service/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
name | path |
media type | data type |
---|---|
application/json | RangerService (JSON) |
application/xml | rangerService (XML) |
media type | data type | description |
---|---|---|
application/json | RangerService (JSON) | |
application/xml | rangerService (XML) |
PUT /public/v2/api/service/name/{name}
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"name" : "...",
"displayName" : "...",
"tagVersion" : 12345,
"policyUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"policyVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
servicename | path |
media type | data type | description |
---|---|---|
application/json | array of RangerPolicy (JSON) | |
application/xml | list of rangerPolicy (XML) |
GET /public/v2/api/service/{servicename}/policy
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
} ]
name | type | description |
---|---|---|
name | path |
DELETE /public/v2/api/servicedef/name/{name}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
name | path |
media type | data type | description |
---|---|---|
application/json | RangerServiceDef (JSON) | |
application/xml | rangerServiceDef (XML) |
GET /public/v2/api/servicedef/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
name | path |
media type | data type |
---|---|
application/json | RangerServiceDef (JSON) |
application/xml | rangerServiceDef (XML) |
media type | data type | description |
---|---|---|
application/json | RangerServiceDef (JSON) | |
application/xml | rangerServiceDef (XML) |
PUT /public/v2/api/servicedef/name/{name}
Content-Type: application/json
Accept: application/json
{
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"options" : {
"property1" : "...",
"property2" : "..."
},
"configs" : [ {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
}, {
"validationRegEx" : "...",
"type" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"description" : "...",
"subType" : "...",
"name" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"uiHint" : "...",
"mandatory" : true
} ],
"rowFilterDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ]
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"itemId" : 12345,
"validationMessage" : "...",
"uiHint" : "...",
"evaluator" : "...",
"description" : "...",
"name" : "..."
} ],
"description" : "...",
"displayName" : "...",
"name" : "...",
"dataMaskDef" : {
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"maskTypes" : [ {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"rbKeyLabel" : "...",
"transformer" : "...",
"rbKeyDescription" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"resources" : [ {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
}, {
"validationMessage" : "...",
"recursiveSupported" : true,
"description" : "...",
"rbKeyDescription" : "...",
"uiHint" : "...",
"validationRegEx" : "...",
"lookupSupported" : true,
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"name" : "...",
"matcher" : "...",
"mandatory" : true,
"parent" : "...",
"excludesSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"accessTypeRestrictions" : [ "...", "..." ],
"label" : "...",
"type" : "...",
"level" : 12345
} ],
"contextEnrichers" : [ {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
}, {
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"enricher" : "...",
"name" : "..."
} ],
"rbKeyLabel" : "...",
"rbKeyDescription" : "...",
"implClass" : "...",
"label" : "...",
"enums" : [ {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
}, {
"itemId" : 12345,
"name" : "...",
"elements" : [ {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
}, {
"rbKeyLabel" : "...",
"label" : "...",
"name" : "...",
"itemId" : 12345
} ],
"defaultIndex" : 12345
} ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
name | path |
DELETE /public/v2/api/zones/name/{name}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
name | path |
media type | data type | description |
---|---|---|
application/json | RangerSecurityZone (JSON) | |
application/xml | rangerSecurityZone (XML) |
GET /public/v2/api/zones/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"auditUserGroups" : [ "...", "..." ],
"tagServices" : [ "...", "..." ],
"services" : {
"property1" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
},
"property2" : {
"resources" : [ {
"property1" : [ ],
"property2" : [ ]
}, {
"property1" : [ ],
"property2" : [ ]
} ]
}
},
"adminUsers" : [ "...", "..." ],
"name" : "...",
"adminUserGroups" : [ "...", "..." ],
"description" : "...",
"auditUsers" : [ "...", "..." ],
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
policyname | path | |
servicename | path |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) | |
application/xml | rangerPolicy (XML) |
GET /public/v2/api/service/{servicename}/policy/{policyname}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
name | type | description |
---|---|---|
policyname | path | |
servicename | path |
media type | data type |
---|---|
application/json | RangerPolicy (JSON) |
application/xml | rangerPolicy (XML) |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) | |
application/xml | rangerPolicy (XML) |
PUT /public/v2/api/service/{servicename}/policy/{policyname}
Content-Type: application/json
Accept: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"dataMaskInfo" : {
"valueExpr" : "...",
"conditionExpr" : "...",
"dataMaskType" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"isAuditEnabled" : true,
"options" : {
"property1" : { },
"property2" : { }
},
"name" : "...",
"serviceType" : "...",
"zoneName" : "...",
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyPriority" : 12345,
"denyExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyType" : 12345,
"allowExceptions" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ],
"resources" : {
"property1" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isExcludes" : true,
"isRecursive" : true,
"values" : [ "...", "..." ]
}
},
"validitySchedules" : [ {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"timeZone" : "...",
"endTime" : "...",
"startTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"service" : "...",
"isDenyAllElse" : true,
"denyPolicyItems" : [ {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
}, {
"accesses" : [ {
"type" : "...",
"isAllowed" : true
}, {
"type" : "...",
"isAllowed" : true
} ],
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"delegateAdmin" : true,
"roles" : [ "...", "..." ],
"conditions" : [ {
"type" : "...",
"values" : [ "...", "..." ]
}, {
"type" : "...",
"values" : [ "...", "..." ]
} ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"description" : "...",
"updatedBy" : "...",
"version" : 12345,
"id" : 12345,
"createdBy" : "...",
"updateTime" : 12345,
"isEnabled" : true,
"createTime" : 12345,
"guid" : "..."
}