apidocs/json_TagPolicies.html (648 lines of code) (raw):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Ranger REST API: TagPolicies</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/enunciate.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Ranger REST API: TagPolicies</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_TagPolicies.html">TagPolicies</a></li>
</ol>
<h1 class="page-header">TagPolicies <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span id="prop-policyUpdateTime" class="property-name">policyUpdateTime</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span id="prop-serviceConfig" class="property-name">serviceConfig</span>
</td>
<td> <span class="datatype-reference">map of string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span id="prop-policyVersion" class="property-name">policyVersion</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span id="prop-auditMode" class="property-name">auditMode</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span id="prop-serviceId" class="property-name">serviceId</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span id="prop-serviceName" class="property-name">serviceName</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span id="prop-serviceDef" class="property-name">serviceDef</span>
</td>
<td> <span class="datatype-reference"><a href="json_RangerServiceDef.html">RangerServiceDef</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span id="prop-policies" class="property-name">policies</span>
</td>
<td> <span class="datatype-reference">array of <a href="json_RangerPolicy.html">RangerPolicy</a>
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
"policyUpdateTime" : 12345,
"serviceConfig" : {
"property1" : "...",
"property2" : "..."
},
"policyVersion" : 12345,
"auditMode" : "...",
"serviceId" : 12345,
"serviceName" : "...",
"serviceDef" : {
"accessTypes" : [ {
"impliedGrants" : [ "...", "..." ],
"name" : "...",
"label" : "...",
"itemId" : 12345,
"rbKeyLabel" : "..."
}, {
"impliedGrants" : [ "...", "..." ],
"name" : "...",
"label" : "...",
"itemId" : 12345,
"rbKeyLabel" : "..."
} ],
"label" : "...",
"rbKeyLabel" : "...",
"dataMaskDef" : {
"maskTypes" : [ { }, { } ],
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"resources" : [ {
"recursiveSupported" : true,
"label" : "...",
"excludesSupported" : true,
"parent" : "...",
"matcher" : "...",
"type" : "...",
"accessTypeRestrictions" : [ "...", "..." ],
"lookupSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"name" : "...",
"rbKeyLabel" : "...",
"mandatory" : true,
"validationMessage" : "...",
"level" : 12345,
"itemId" : 12345,
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"description" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "..."
}, {
"recursiveSupported" : true,
"label" : "...",
"excludesSupported" : true,
"parent" : "...",
"matcher" : "...",
"type" : "...",
"accessTypeRestrictions" : [ "...", "..." ],
"lookupSupported" : true,
"isValidLeaf" : true,
"matcherOptions" : {
"property1" : "...",
"property2" : "..."
},
"name" : "...",
"rbKeyLabel" : "...",
"mandatory" : true,
"validationMessage" : "...",
"level" : 12345,
"itemId" : 12345,
"uiHint" : "...",
"rbKeyValidationMessage" : "...",
"description" : "...",
"validationRegEx" : "...",
"rbKeyDescription" : "..."
} ],
"options" : {
"property1" : "...",
"property2" : "..."
},
"rowFilterDef" : {
"accessTypes" : [ { }, { } ],
"resources" : [ { }, { } ]
},
"description" : "...",
"policyConditions" : [ {
"uiHint" : "...",
"description" : "...",
"itemId" : 12345,
"name" : "...",
"validationRegEx" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"validationMessage" : "...",
"evaluator" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyDescription" : "..."
}, {
"uiHint" : "...",
"description" : "...",
"itemId" : 12345,
"name" : "...",
"validationRegEx" : "...",
"label" : "...",
"rbKeyLabel" : "...",
"evaluatorOptions" : {
"property1" : "...",
"property2" : "..."
},
"validationMessage" : "...",
"evaluator" : "...",
"rbKeyValidationMessage" : "...",
"rbKeyDescription" : "..."
} ],
"implClass" : "...",
"displayName" : "...",
"name" : "...",
"contextEnrichers" : [ {
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"enricher" : "..."
}, {
"name" : "...",
"itemId" : 12345,
"enricherOptions" : {
"property1" : "...",
"property2" : "..."
},
"enricher" : "..."
} ],
"enums" : [ {
"name" : "...",
"defaultIndex" : 12345,
"elements" : [ { }, { } ],
"itemId" : 12345
}, {
"name" : "...",
"defaultIndex" : 12345,
"elements" : [ { }, { } ],
"itemId" : 12345
} ],
"rbKeyDescription" : "...",
"configs" : [ {
"rbKeyDescription" : "...",
"subType" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"mandatory" : true,
"validationRegEx" : "...",
"validationMessage" : "...",
"type" : "...",
"uiHint" : "..."
}, {
"rbKeyDescription" : "...",
"subType" : "...",
"rbKeyLabel" : "...",
"defaultValue" : "...",
"rbKeyValidationMessage" : "...",
"label" : "...",
"name" : "...",
"description" : "...",
"itemId" : 12345,
"mandatory" : true,
"validationRegEx" : "...",
"validationMessage" : "...",
"type" : "...",
"uiHint" : "..."
} ],
"createTime" : 12345,
"id" : 12345,
"updatedBy" : "...",
"version" : 12345,
"createdBy" : "...",
"guid" : "...",
"updateTime" : 12345,
"isEnabled" : true
},
"policies" : [ {
"denyExceptions" : [ {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"allowExceptions" : [ {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"validitySchedules" : [ {
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "...",
"endTime" : "..."
}, {
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "...",
"endTime" : "..."
} ],
"policyPriority" : 12345,
"policyType" : 12345,
"isAuditEnabled" : true,
"zoneName" : "...",
"denyPolicyItems" : [ {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"service" : "...",
"resources" : {
"property1" : {
"values" : [ "...", "..." ],
"isRecursive" : true,
"isExcludes" : true
},
"property2" : {
"values" : [ "...", "..." ],
"isRecursive" : true,
"isExcludes" : true
}
},
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"dataMaskInfo" : { },
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"rowFilterInfo" : { },
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"policyItems" : [ {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"isDenyAllElse" : true,
"name" : "...",
"serviceType" : "...",
"description" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"createTime" : 12345,
"id" : 12345,
"updatedBy" : "...",
"version" : 12345,
"createdBy" : "...",
"guid" : "...",
"updateTime" : 12345,
"isEnabled" : true
}, {
"denyExceptions" : [ {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"allowExceptions" : [ {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"validitySchedules" : [ {
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "...",
"endTime" : "..."
}, {
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "...",
"endTime" : "..."
} ],
"policyPriority" : 12345,
"policyType" : 12345,
"isAuditEnabled" : true,
"zoneName" : "...",
"denyPolicyItems" : [ {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"service" : "...",
"resources" : {
"property1" : {
"values" : [ "...", "..." ],
"isRecursive" : true,
"isExcludes" : true
},
"property2" : {
"values" : [ "...", "..." ],
"isRecursive" : true,
"isExcludes" : true
}
},
"dataMaskPolicyItems" : [ {
"dataMaskInfo" : { },
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"dataMaskInfo" : { },
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"rowFilterPolicyItems" : [ {
"rowFilterInfo" : { },
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"rowFilterInfo" : { },
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"policyItems" : [ {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
}, {
"groups" : [ "...", "..." ],
"accesses" : [ { }, { } ],
"delegateAdmin" : true,
"users" : [ "...", "..." ],
"conditions" : [ { }, { } ],
"roles" : [ "...", "..." ]
} ],
"policyLabels" : [ "...", "..." ],
"resourceSignature" : "...",
"isDenyAllElse" : true,
"name" : "...",
"serviceType" : "...",
"description" : "...",
"conditions" : [ {
"values" : [ "...", "..." ],
"type" : "..."
}, {
"values" : [ "...", "..." ],
"type" : "..."
} ],
"options" : {
"property1" : { },
"property2" : { }
},
"createTime" : 12345,
"id" : 12345,
"updatedBy" : "...",
"version" : 12345,
"createdBy" : "...",
"guid" : "...",
"updateTime" : 12345,
"isEnabled" : true
} ]
}</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>