Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. InsightsPolicyResults

InsightsPolicyResults

    Results of policy evaluation for Insights resources.

    Properties

    • succeeded boolean required
      Whether the policy evaluation succeeded without violations
    • results array[InsightsPolicyViolation] optional
      The list of policy results found, if any. Takes precedence over ‘violations’ when both are set.
    • ↳ message string required
      The violation message
    • ↳ policyName string required
      The name of the policy that was violated
    • ↳ policyPackName string required
      The name of the policy pack containing the violated policy
    • ↳ policyPackVersion string required
      The version of the policy pack
    • ↳ enforcementLevel enum required
      The enforcement level of the violated policy
      Values: advisory, mandatory, remediate, disabled
    • ↳ kind enum required
      The kind of policy issue
      Values: audit, preventative
    • ↳ resourceURN string required
      The URN of the resource that violated the policy
    • violations array[InsightsPolicyViolation] optional
      Superseded by ‘results’; still accepted from older clients. The list of policy violations found, if any.
    • ↳ message string required
      The violation message
    • ↳ policyName string required
      The name of the policy that was violated
    • ↳ policyPackName string required
      The name of the policy pack containing the violated policy
    • ↳ policyPackVersion string required
      The version of the policy pack
    • ↳ enforcementLevel enum required
      The enforcement level of the violated policy
      Values: advisory, mandatory, remediate, disabled
    • ↳ kind enum required
      The kind of policy issue
      Values: audit, preventative
    • ↳ resourceURN string required
      The URN of the resource that violated the policy

      The infrastructure platform for humans and agents.