media type | data type | description |
---|---|---|
text/plain | string |
GET /plugins/checksso
Content-Type: */*
Accept: text/plain
...
HTTP/1.1 200 OK
Content-Type: text/plain
...
media type | data type | description |
---|---|---|
application/json | map of object (JSON) |
GET /plugins/csrfconf
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
media type | data type | description |
---|---|---|
application/json | RangerServiceDefList (JSON) |
GET /plugins/definitions
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"serviceDefs" : [ {
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ { }, { } ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ { }, { } ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ { }, { } ],
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ { }, { } ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ { }, { } ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ { }, { } ],
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
media type | data type |
---|---|
application/json | RangerServiceDef (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerServiceDef (JSON) |
POST /plugins/definitions
Content-Type: application/json
Accept: application/json
{
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
}, {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
}, {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
media type | data type | description |
---|---|---|
application/json | RangerPolicyList (JSON) |
GET /plugins/policies
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
media type | data type |
---|---|
application/json | RangerPolicy (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) |
POST /plugins/policies
Content-Type: application/json
Accept: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
media type | data type | description |
---|---|---|
application/json | array of string (JSON) |
GET /plugins/policyLabels
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
media type | data type | description |
---|---|---|
application/json | RangerServiceList (JSON) |
GET /plugins/services
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"services" : [ {
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
media type | data type |
---|---|
application/json | RangerService (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerService (JSON) |
POST /plugins/services
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
Delete services/ repos associated with cluster. Only users with Ranger UserAdmin OR KeyAdmin are allowed to access this API.
name | type | description |
---|---|---|
clusterName | path |
media type | data type | description |
---|---|---|
application/json | ResponseEntityOfListOfServiceDeleteResponse (JSON) | List of serviceDeleteResponse. |
DELETE /plugins/cluster-services/{clusterName}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"statusCode" : "PRECONDITION_REQUIRED",
"statusCodeValue" : 12345,
"body" : { },
"headers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /plugins/definitions/{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) |
GET /plugins/definitions/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
}, {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerServiceDef (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerServiceDef (JSON) |
PUT /plugins/definitions/{id}
Content-Type: application/json
Accept: application/json
{
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
}, {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
}, {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
media type | data type | description |
---|---|---|
application/json | RangerPluginInfoList (JSON) |
GET /plugins/plugins/info
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"pluginInfoList" : [ {
"updateTime" : 12345,
"createTime" : 12345,
"serviceName" : "...",
"serviceType" : "...",
"id" : 12345,
"serviceTypeDisplayName" : "...",
"hostName" : "...",
"ipAddress" : "...",
"appType" : "...",
"info" : {
"property1" : "...",
"property2" : "..."
},
"serviceDisplayName" : "..."
}, {
"updateTime" : 12345,
"createTime" : 12345,
"serviceName" : "...",
"serviceType" : "...",
"id" : 12345,
"serviceTypeDisplayName" : "...",
"hostName" : "...",
"ipAddress" : "...",
"appType" : "...",
"info" : {
"property1" : "...",
"property2" : "..."
},
"serviceDisplayName" : "..."
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
media type | data type |
---|---|
application/json | RangerPolicy (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) |
POST /plugins/policies/apply
Content-Type: application/json
Accept: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
media type | data type | description |
---|---|---|
application/json | number (JSON) |
GET /plugins/policies/count
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
GET /plugins/policies/csv
Content-Type: */*
...
HTTP/1.1 200 OK
GET /plugins/policies/downloadExcel
Content-Type: */*
...
HTTP/1.1 200 OK
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) |
GET /plugins/policies/eventTime
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description | constraints |
---|---|---|---|
checkPoliciesExists | query | boolean |
GET /plugins/policies/exportJson
Content-Type: */*
...
HTTP/1.1 200 OK
name | type | description | constraints |
---|---|---|---|
fileDetail | formdata | ||
serviceMapStream | formdata | ||
uploadedInputStream | formdata | ||
zoneMapStream | formdata | ||
importType | query | ||
isOverride | query | boolean |
media type | data type |
---|---|
application/json | (custom) |
multipart/form-data | (custom) |
POST /plugins/policies/importPoliciesFromFile
Content-Type: application/json
...
HTTP/1.1 201 Created
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /plugins/policies/{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) |
GET /plugins/policies/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerPolicy (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) |
PUT /plugins/policies/{id}
Content-Type: application/json
Accept: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description | default | constraints |
---|---|---|---|---|
days | query | 7 | int |
DELETE /plugins/server/policydeltas
Content-Type: */*
...
HTTP/1.1 204 No Content
media type | data type | description |
---|---|---|
application/json | number (JSON) |
GET /plugins/services/count
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
media type | data type |
---|---|
application/json | RangerService (JSON) |
application/xml | rangerService (XML) |
media type | data type | description |
---|---|---|
application/json | VXResponse (JSON) |
POST /plugins/services/validateConfig
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"statusCode" : 12345,
"msgDesc" : "...",
"messageList" : [ {
"name" : "...",
"rbKey" : "...",
"message" : "...",
"objectId" : 12345,
"fieldName" : "...",
"myClassType" : 12345
}, {
"name" : "...",
"rbKey" : "...",
"message" : "...",
"objectId" : 12345,
"fieldName" : "...",
"myClassType" : 12345
} ],
"myClassType" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /plugins/services/{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) |
GET /plugins/services/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
media type | data type |
---|---|
application/json | RangerService (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerService (JSON) |
PUT /plugins/services/{id}
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description |
---|---|---|
name | path |
media type | data type | description |
---|---|---|
application/json | RangerServiceDef (JSON) |
GET /plugins/definitions/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
}, {
"name" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"itemId" : 12345
} ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
}, {
"transformer" : "...",
"dataMaskOptions" : {
"property1" : "...",
"property2" : "..."
},
"rbKeyLabel" : "...",
"itemId" : 12345,
"label" : "...",
"name" : "...",
"description" : "...",
"rbKeyDescription" : "..."
} ],
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description |
---|---|---|
type | path |
media type | data type | description |
---|---|---|
application/json | string (JSON) |
GET /plugins/metrics/type/{type}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Resets/ removes service policy cache for given service.
name | type | description |
---|---|---|
serviceName | query | non-empty serviceName |
media type | data type | description |
---|---|---|
application/json | boolean (JSON) | true if successfully reseted/ removed for given service, false otherwise. |
GET /plugins/policies/cache/reset
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Resets/ removes service policy cache for all.
media type | data type | description |
---|---|---|
application/json | boolean (JSON) | true if successfully reseted/ removed, false otherwise. |
GET /plugins/policies/cache/reset-all
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
name | type | description | default | constraints |
---|---|---|---|---|
serviceName | path | |||
clusterName | query | |||
lastActivationTime | query | 0 | long | |
lastKnownVersion | query | -1 | long | |
pluginCapabilities | query | |||
pluginId | query | |||
supportsPolicyDeltas | query | false | boolean | |
zoneName | query |
media type | data type | description |
---|---|---|
application/json | ServicePolicies (JSON) |
GET /plugins/policies/download/{serviceName}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policyVersion" : 12345,
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"securityZones" : {
"property1" : {
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"zoneName" : "...",
"policyDeltas" : [ {
"policy" : { },
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
}, {
"policy" : { },
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
} ],
"resources" : [ {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}, {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
} ],
"containsAssociatedTagService" : true
},
"property2" : {
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"zoneName" : "...",
"policyDeltas" : [ {
"policy" : { },
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
}, {
"policy" : { },
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
} ],
"resources" : [ {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}, {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
} ],
"containsAssociatedTagService" : true
}
},
"auditMode" : "...",
"serviceConfig" : {
"property1" : "...",
"property2" : "..."
},
"policyDeltas" : [ {
"policy" : {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
},
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
}, {
"policy" : {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
},
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
} ],
"tagPolicies" : {
"auditMode" : "...",
"serviceId" : 12345,
"serviceDef" : {
"rbKeyLabel" : "...",
"resources" : [ { }, { } ],
"contextEnrichers" : [ { }, { } ],
"description" : "...",
"implClass" : "...",
"enums" : [ { }, { } ],
"label" : "...",
"configs" : [ { }, { } ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ { }, { } ],
"dataMaskDef" : { },
"policyConditions" : [ { }, { } ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : { },
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
},
"serviceName" : "...",
"policyUpdateTime" : 12345,
"serviceConfig" : {
"property1" : "...",
"property2" : "..."
},
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"policyVersion" : 12345
},
"policyUpdateTime" : 12345,
"serviceName" : "...",
"serviceId" : 12345,
"serviceDef" : {
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ { }, { } ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ { }, { } ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ { }, { } ],
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
}
name | type | description | default |
---|---|---|---|
guid | path | ||
serviceName | query | ||
zoneName | query |
DELETE /plugins/policies/guid/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | default |
---|---|---|---|
guid | path | ||
serviceName | query | ||
zoneName | query |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) |
GET /plugins/policies/guid/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerPolicyList (JSON) |
GET /plugins/policies/service/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
name | type | description | default |
---|---|---|---|
serviceDefName | path | ||
serviceName | query |
media type | data type | description |
---|---|---|
application/json | array of RangerPolicy (JSON) |
GET /plugins/policies/{serviceDefName}/for-resource
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ]
name | type | description | constraints |
---|---|---|---|
policyId | path | long |
media type | data type | description |
---|---|---|
application/json | VXString (JSON) |
GET /plugins/policy/{policyId}/versionList
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"value" : "...",
"myClassType" : 12345
}
name | type | description |
---|---|---|
serviceName | path |
DELETE /plugins/server/purgepolicies/{serviceName}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
serviceName | path |
media type | data type |
---|---|
application/json | GrantRevokeRequest (JSON) |
media type | data type | description |
---|---|---|
application/json | RESTResponse (JSON) |
POST /plugins/services/grant/{serviceName}
Content-Type: application/json
Accept: application/json
{
"grantorGroups" : [ "...", "..." ],
"remoteIPAddress" : "...",
"accessTypes" : [ "...", "..." ],
"requestData" : "...",
"clientIPAddress" : "...",
"replaceExistingPermissions" : true,
"forwardedAddresses" : [ "...", "..." ],
"ownerUser" : "...",
"enableAudit" : true,
"delegateAdmin" : true,
"sessionId" : "...",
"clusterName" : "...",
"isRecursive" : true,
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"grantor" : "...",
"clientType" : "...",
"roles" : [ "...", "..." ],
"zoneName" : "...",
"resource" : {
"property1" : "...",
"property2" : "..."
}
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"message" : "...",
"httpStatusCode" : 12345,
"msgDesc" : "...",
"statusCode" : 12345,
"messageList" : [ {
"objectId" : 12345,
"fieldName" : "...",
"message" : "...",
"name" : "...",
"rbKey" : "..."
}, {
"objectId" : 12345,
"fieldName" : "...",
"message" : "...",
"name" : "...",
"rbKey" : "..."
} ]
}
name | type | description |
---|---|---|
serviceName | path |
media type | data type |
---|---|
application/json | ResourceLookupContext (JSON) |
media type | data type | description |
---|---|---|
application/json | array of string (JSON) |
POST /plugins/services/lookupResource/{serviceName}
Content-Type: application/json
Accept: application/json
{
"resources" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
},
"userInput" : "...",
"resourceName" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
...
name | type | description |
---|---|---|
name | path |
media type | data type | description |
---|---|---|
application/json | RangerService (JSON) |
GET /plugins/services/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"type" : "...",
"tagUpdateTime" : 12345,
"tagService" : "...",
"description" : "...",
"name" : "...",
"policyVersion" : 12345,
"policyUpdateTime" : 12345,
"displayName" : "...",
"tagVersion" : 12345,
"configs" : {
"property1" : "...",
"property2" : "..."
},
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description |
---|---|---|
serviceName | path |
media type | data type |
---|---|
application/json | GrantRevokeRequest (JSON) |
media type | data type | description |
---|---|---|
application/json | RESTResponse (JSON) |
POST /plugins/services/revoke/{serviceName}
Content-Type: application/json
Accept: application/json
{
"grantorGroups" : [ "...", "..." ],
"remoteIPAddress" : "...",
"accessTypes" : [ "...", "..." ],
"requestData" : "...",
"clientIPAddress" : "...",
"replaceExistingPermissions" : true,
"forwardedAddresses" : [ "...", "..." ],
"ownerUser" : "...",
"enableAudit" : true,
"delegateAdmin" : true,
"sessionId" : "...",
"clusterName" : "...",
"isRecursive" : true,
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"grantor" : "...",
"clientType" : "...",
"roles" : [ "...", "..." ],
"zoneName" : "...",
"resource" : {
"property1" : "...",
"property2" : "..."
}
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"message" : "...",
"httpStatusCode" : 12345,
"msgDesc" : "...",
"statusCode" : 12345,
"messageList" : [ {
"objectId" : 12345,
"fieldName" : "...",
"message" : "...",
"name" : "...",
"rbKey" : "..."
}, {
"objectId" : 12345,
"fieldName" : "...",
"message" : "...",
"name" : "...",
"rbKey" : "..."
} ]
}
name | type | description |
---|---|---|
name | path |
media type | data type | description |
---|---|---|
application/json | RangerPolicyList (JSON) |
GET /plugins/policies/service/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
name | type | description | constraints |
---|---|---|---|
policyId | path | long | |
versionNo | path | required |
media type | data type | description |
---|---|---|
application/json | RangerPolicy (JSON) |
GET /plugins/policy/{policyId}/version/{versionNo}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : {
"conditionExpr" : "...",
"dataMaskType" : "...",
"valueExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : {
"filterExpr" : "..."
},
"users" : [ "...", "..." ],
"accesses" : [ {
"isAllowed" : true,
"type" : "..."
}, {
"isAllowed" : true,
"type" : "..."
} ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
name | type | description | default | constraints |
---|---|---|---|---|
serviceName | path | |||
clusterName | query | |||
lastActivationTime | query | 0 | long | |
lastKnownVersion | query | -1 | long | |
pluginCapabilities | query | |||
pluginId | query | |||
supportsPolicyDeltas | query | false | boolean | |
zoneName | query |
media type | data type | description |
---|---|---|
application/json | ServicePolicies (JSON) |
GET /plugins/secure/policies/download/{serviceName}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policyVersion" : 12345,
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"validitySchedules" : [ {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
}, {
"startTime" : "...",
"endTime" : "...",
"timeZone" : "...",
"recurrences" : [ { }, { } ]
} ],
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"dataMaskInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
}, {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"denyPolicyItems" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"denyExceptions" : [ {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
},
"property2" : {
"isExcludes" : true,
"values" : [ "...", "..." ],
"isRecursive" : true
}
},
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
}, {
"rowFilterInfo" : { },
"users" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"groups" : [ "...", "..." ],
"roles" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"delegateAdmin" : true
} ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"securityZones" : {
"property1" : {
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"zoneName" : "...",
"policyDeltas" : [ {
"policy" : { },
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
}, {
"policy" : { },
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
} ],
"resources" : [ {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}, {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
} ],
"containsAssociatedTagService" : true
},
"property2" : {
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"zoneName" : "...",
"policyDeltas" : [ {
"policy" : { },
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
}, {
"policy" : { },
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
} ],
"resources" : [ {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
}, {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
} ],
"containsAssociatedTagService" : true
}
},
"auditMode" : "...",
"serviceConfig" : {
"property1" : "...",
"property2" : "..."
},
"policyDeltas" : [ {
"policy" : {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
},
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
}, {
"policy" : {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
},
"policiesVersion" : 12345,
"id" : 12345,
"changeType" : 12345
} ],
"tagPolicies" : {
"auditMode" : "...",
"serviceId" : 12345,
"serviceDef" : {
"rbKeyLabel" : "...",
"resources" : [ { }, { } ],
"contextEnrichers" : [ { }, { } ],
"description" : "...",
"implClass" : "...",
"enums" : [ { }, { } ],
"label" : "...",
"configs" : [ { }, { } ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ { }, { } ],
"dataMaskDef" : { },
"policyConditions" : [ { }, { } ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : { },
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
},
"serviceName" : "...",
"policyUpdateTime" : 12345,
"serviceConfig" : {
"property1" : "...",
"property2" : "..."
},
"policies" : [ {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}, {
"policyType" : 12345,
"description" : "...",
"policyItems" : [ { }, { } ],
"validitySchedules" : [ { }, { } ],
"dataMaskPolicyItems" : [ { }, { } ],
"options" : {
"property1" : { },
"property2" : { }
},
"serviceType" : "...",
"additionalResources" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"policyPriority" : 12345,
"isAuditEnabled" : true,
"resourceSignature" : "...",
"name" : "...",
"allowExceptions" : [ { }, { } ],
"service" : "...",
"zoneName" : "...",
"conditions" : [ { }, { } ],
"denyPolicyItems" : [ { }, { } ],
"denyExceptions" : [ { }, { } ],
"isDenyAllElse" : true,
"policyLabels" : [ "...", "..." ],
"resources" : {
"property1" : { },
"property2" : { }
},
"rowFilterPolicyItems" : [ { }, { } ],
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
} ],
"policyVersion" : 12345
},
"policyUpdateTime" : 12345,
"serviceName" : "...",
"serviceId" : 12345,
"serviceDef" : {
"rbKeyLabel" : "...",
"resources" : [ {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
}, {
"type" : "...",
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"excludesSupported" : true,
"parent" : "...",
"name" : "...",
"validationRegEx" : "...",
"level" : 12345,
"lookupSupported" : true,
"itemId" : 12345,
"validationMessage" : "...",
"mandatory" : true,
"accessTypeRestrictions" : [ "...", "..." ],
"uiHint" : "...",
"description" : "...",
"matcher" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"isValidLeaf" : true,
"rbKeyLabel" : "...",
"recursiveSupported" : true
} ],
"contextEnrichers" : [ {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
}, {
"enricher" : "...",
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
}
} ],
"description" : "...",
"implClass" : "...",
"enums" : [ {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ { }, { } ],
"itemId" : 12345
}, {
"defaultIndex" : 12345,
"name" : "...",
"elements" : [ { }, { } ],
"itemId" : 12345
} ],
"label" : "...",
"configs" : [ {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
}, {
"itemId" : 12345,
"subType" : "...",
"type" : "...",
"label" : "...",
"rbKeyDescription" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"name" : "...",
"description" : "...",
"mandatory" : true,
"validationMessage" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"accessTypes" : [ {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
}, {
"name" : "...",
"label" : "...",
"itemId" : 12345,
"impliedGrants" : [ "...", "..." ],
"rbKeyLabel" : "..."
} ],
"dataMaskDef" : {
"maskTypes" : [ { }, { } ],
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"policyConditions" : [ {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
}, {
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"itemId" : 12345,
"description" : "...",
"validationMessage" : "...",
"label" : "...",
"name" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyLabel" : "...",
"validationRegEx" : "...",
"uiHint" : "...",
"rbKeyDescription" : "...",
"evaluator" : "..."
} ],
"displayName" : "...",
"name" : "...",
"rowFilterDef" : {
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"rbKeyDescription" : "...",
"guid" : "...",
"isEnabled" : true,
"createTime" : 12345,
"createdBy" : "...",
"updatedBy" : "...",
"id" : 12345,
"updateTime" : 12345,
"version" : 12345
}
}
name | type | description |
---|---|---|
serviceName | path |
media type | data type |
---|---|
application/json | GrantRevokeRequest (JSON) |
media type | data type | description |
---|---|---|
application/json | RESTResponse (JSON) |
POST /plugins/secure/services/grant/{serviceName}
Content-Type: application/json
Accept: application/json
{
"grantorGroups" : [ "...", "..." ],
"remoteIPAddress" : "...",
"accessTypes" : [ "...", "..." ],
"requestData" : "...",
"clientIPAddress" : "...",
"replaceExistingPermissions" : true,
"forwardedAddresses" : [ "...", "..." ],
"ownerUser" : "...",
"enableAudit" : true,
"delegateAdmin" : true,
"sessionId" : "...",
"clusterName" : "...",
"isRecursive" : true,
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"grantor" : "...",
"clientType" : "...",
"roles" : [ "...", "..." ],
"zoneName" : "...",
"resource" : {
"property1" : "...",
"property2" : "..."
}
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"message" : "...",
"httpStatusCode" : 12345,
"msgDesc" : "...",
"statusCode" : 12345,
"messageList" : [ {
"objectId" : 12345,
"fieldName" : "...",
"message" : "...",
"name" : "...",
"rbKey" : "..."
}, {
"objectId" : 12345,
"fieldName" : "...",
"message" : "...",
"name" : "...",
"rbKey" : "..."
} ]
}
name | type | description |
---|---|---|
serviceName | path |
media type | data type |
---|---|
application/json | GrantRevokeRequest (JSON) |
media type | data type | description |
---|---|---|
application/json | RESTResponse (JSON) |
POST /plugins/secure/services/revoke/{serviceName}
Content-Type: application/json
Accept: application/json
{
"grantorGroups" : [ "...", "..." ],
"remoteIPAddress" : "...",
"accessTypes" : [ "...", "..." ],
"requestData" : "...",
"clientIPAddress" : "...",
"replaceExistingPermissions" : true,
"forwardedAddresses" : [ "...", "..." ],
"ownerUser" : "...",
"enableAudit" : true,
"delegateAdmin" : true,
"sessionId" : "...",
"clusterName" : "...",
"isRecursive" : true,
"groups" : [ "...", "..." ],
"users" : [ "...", "..." ],
"grantor" : "...",
"clientType" : "...",
"roles" : [ "...", "..." ],
"zoneName" : "...",
"resource" : {
"property1" : "...",
"property2" : "..."
}
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"message" : "...",
"httpStatusCode" : 12345,
"msgDesc" : "...",
"statusCode" : 12345,
"messageList" : [ {
"objectId" : 12345,
"fieldName" : "...",
"message" : "...",
"name" : "...",
"rbKey" : "..."
}, {
"objectId" : 12345,
"fieldName" : "...",
"message" : "...",
"name" : "...",
"rbKey" : "..."
} ]
}