Policy

UnboundID Logo

Policy element

Type: PolicyType
Namespace: urn:oasis:names:tc:xacml:3.0:core:schema:wd-17

Example JSON

{ "PolicyId" : ..., "Version" : "...", "RuleCombiningAlgId" : ..., "MaxDelegationDepth" : ..., "Description" : "...", "PolicyIssuer" : { "Content" : { }, "Attribute" : [ { "AttributeId" : ..., "Issuer" : "...", "IncludeInResult" : false, "AttributeValue" : [ { "DataType" : ... }, ... ] }, ... ] }, "PolicyDefaults" : { "XPathVersion" : ... }, "Target" : { "AnyOf" : [ { "AllOf" : [ { "Match" : [ { "MatchId" : ..., "AttributeValue" : { "DataType" : ... }, "AttributeSelector" : { "Category" : ..., "ContextSelectorId" : ..., "Path" : "...", "DataType" : ..., "MustBePresent" : false }, "AttributeDesignator" : { "Category" : ..., "AttributeId" : ..., "DataType" : ..., "Issuer" : "...", "MustBePresent" : false } }, ... ] }, ... ] }, ... ] }, "combinerParametersAndRuleCombinerParametersAndVariableDefinitions" : [ { "VariableId" : "...", "Expression" : { } }, { "CombinerParameter" : [ { "ParameterName" : "...", "AttributeValue" : { "DataType" : ... } }, ... ] }, { "RuleId" : "...", "Effect" : "Permit", "Description" : "...", "Target" : { "AnyOf" : [ { "AllOf" : [ { "Match" : [ { "MatchId" : ..., "AttributeValue" : { "DataType" : ... }, "AttributeSelector" : { "Category" : ..., "ContextSelectorId" : ..., "Path" : "...", "DataType" : ..., "MustBePresent" : false }, "AttributeDesignator" : { "Category" : ..., "AttributeId" : ..., "DataType" : ..., "Issuer" : "...", "MustBePresent" : false } }, ... ] }, ... ] }, ... ] }, "Condition" : { "Expression" : { } }, "ObligationExpressions" : { "ObligationExpression" : [ { "ObligationId" : ..., "FulfillOn" : "Permit", "AttributeAssignmentExpression" : [ { "AttributeId" : ..., "Category" : ..., "Issuer" : "...", "Expression" : { } }, ... ] }, ... ] }, "AdviceExpressions" : { "AdviceExpression" : [ { "AdviceId" : ..., "AppliesTo" : "Permit", "AttributeAssignmentExpression" : [ { "AttributeId" : ..., "Category" : ..., "Issuer" : "...", "Expression" : { } }, ... ] }, ... ] } }, { "RuleIdRef" : "...", "CombinerParameter" : [ { "ParameterName" : "...", "AttributeValue" : { "DataType" : ... } }, ... ] } ], "ObligationExpressions" : { "ObligationExpression" : [ { "ObligationId" : ..., "FulfillOn" : "Permit", "AttributeAssignmentExpression" : [ { "AttributeId" : ..., "Category" : ..., "Issuer" : "...", "Expression" : { } }, ... ] }, ... ] }, "AdviceExpressions" : { "AdviceExpression" : [ { "AdviceId" : ..., "AppliesTo" : "Permit", "AttributeAssignmentExpression" : [ { "AttributeId" : ..., "Category" : ..., "Issuer" : "...", "Expression" : { } }, ... ] }, ... ] } }