InsightsPolicyResults
Results of policy evaluation for Insights resources.
Properties
succeededboolean requiredWhether the policy evaluation succeeded without violations- The list of policy results found, if any. Takes precedence over ‘violations’ when both are set.
- ↳
messagestring requiredThe violation message - ↳
policyNamestring requiredThe name of the policy that was violated - ↳
policyPackNamestring requiredThe name of the policy pack containing the violated policy - ↳
policyPackVersionstring requiredThe version of the policy pack - ↳
enforcementLevelenum requiredThe enforcement level of the violated policyValues:advisory,mandatory,remediate,disabled - ↳
kindenum requiredThe kind of policy issueValues:audit,preventative - ↳
resourceURNstring requiredThe URN of the resource that violated the policy - Superseded by ‘results’; still accepted from older clients. The list of policy violations found, if any.
- ↳
messagestring requiredThe violation message - ↳
policyNamestring requiredThe name of the policy that was violated - ↳
policyPackNamestring requiredThe name of the policy pack containing the violated policy - ↳
policyPackVersionstring requiredThe version of the policy pack - ↳
enforcementLevelenum requiredThe enforcement level of the violated policyValues:advisory,mandatory,remediate,disabled - ↳
kindenum requiredThe kind of policy issueValues:audit,preventative - ↳
resourceURNstring requiredThe URN of the resource that violated the policy