Skip to content

Commit 54e246d

Browse files
committed
how to fetch policies
1 parent 64da0d6 commit 54e246d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

articles/purview/troubleshoot-policy-distribution.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,45 @@ There are 3 top-level policy constructs used within the full pull (/policyElemen
171171

172172
PolicySet associates Policy to a resource scope. Purview policy decision compute starts with a list of PolicySets. PolicySet evaluation triggers evaluation of Policy referenced in the PolicySet.
173173

174+
|member|value|type|cardinality|description|
175+
|------|-----|----|-----------|-----------|
176+
|Id| |string|1||
177+
|name| |string|1||
178+
|kind| |string|1||
179+
|version|1|number|1||
180+
|updatedAt| |string|1|String representation of time in yyyy-MM-ddTHH:mm:ss.fffffffZ Ex: "2022-01-11T09:55:52.6472858Z"|
181+
|preconditionRules| |array[Object:Rule]|0..1||
182+
|policyRefs| |array[string]|1|List of policy Ids|
174183

175184
### Policy
176185

177186
Policy specifies decision that should be emitted if the policy is applicable for the request provided request context attributes satisfy attribute predicates specified in the policy. Evaluation of policy triggers evaluation of AttributeRules referenced in the Policy.
178187

188+
|member|value|type|cardinality|description|
189+
|------|-----|----|-----------|-----------|
190+
|Id| |string|1||
191+
|name| |string|1||
192+
|kind| |string|1||
193+
|version|1|number|1||
194+
|updatedAt| |string|1|String representation of time in yyyy-MM-ddTHH:mm:ss.fffffffZ Ex: "2022-01-11T09:55:52.6472858Z"|
195+
|preconditionRules| |array[Object:Rule]|0..1|All the rules are 'anded'|
196+
|decisionRules| |array[Object:DecisionRule]|1||
197+
198+
179199
### AttributeRule
180200

181201
AttributeRule produces derived attributes and add them to request context attributes. Evaluation of AttributeRule triggers evaluation of additional AttributeRules referenced in the AttributeRule.
182202

203+
|member|value|type|cardinality|description|
204+
|------|-----|----|-----------|-----------|
205+
|Id| |string|1||
206+
|name| |string|1||
207+
|kind|AttributeRule|string|1||
208+
|version|1|number|1||
209+
|dnfCondition| |array[array[Object:AttributePredicate]]|0..1||
210+
|cnfCondition| |array[array[Object:AttributePredicate]]|0..1||
211+
|condition| |Object: Condition|0..1||
212+
|derivedAttributes| |array[Object:DerivedAttribute]|1||
183213

184214
## Common sub-constructs used in PolicySet, Policy, AttributeRule
185215

0 commit comments

Comments
 (0)