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

PolicyGroup

    PolicyGroup details the name, applicable entities and the applied PolicyPacks.

    Properties

    • name string required
      The name of the policy group.
    • isOrgDefault boolean required
      True if this is either the default stacks or default accounts policy group for the organization.
    • entityType enum required
      The type of entities this policy group applies to (stacks or accounts).
      Values: stacks, accounts
    • mode enum required
      The enforcement mode for the policy group (audit or preventative).
      Values: audit, preventative
    • stacks array[AppPulumiStackReference] required
      List of stacks that are members of this policy group.
    • name string required
      The name
    • routingProject string required
      The routing project
    • appliedPolicyPacks array[AppPolicyPackMetadata] required
      List of policy packs that are applied to this policy group.
    • name string required
      The name
    • displayName string required
      The display name
    • version integer required
      The version number
    • versionTag string required
      The version tag
    • config map[string]object optional
      The configuration that is to be passed to the Policy Pack. This map ties Policies with their configuration.
    • environments array[string] optional
      References to ESC environments to use for this policy pack.
    • accounts array[string] required
      List of Insights account names that are members of this policy group.
    • agentPoolId string optional
      Agent pool ID for audit policy evaluation. Defaults to Pulumi hosted pool if not specified.

      The infrastructure as code platform for any cloud.