Organizations
PolicyGroups

GetPolicyGroup

Returns the details of a specific Policy Group, including the list of Policy Packs applied to it and their enforcement levels (advisory, mandatory, or disabled), as well as the stacks or cloud accounts assigned to the group. Policy Groups enable targeted policy enforcement by associating sets of policies with specific infrastructure resources.

get/api/orgs/{orgName}/policygroups/{policyGroup}

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/policygroups/{policyGroup}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

policyGroupstring required

The policy group name

Response

OK

accountsstring[] required

List of Insights account names that are members of this policy group.

agentPoolIdstring

Agent pool ID for audit policy evaluation. Defaults to Pulumi hosted pool if not specified.

entityType'stacks' | 'accounts' required

The type of entities this policy group applies to (stacks or accounts).

isOrgDefaultboolean required

True if this is either the default stacks or default accounts policy group for the organization.

mode'audit' | 'preventative' required

The enforcement mode for the policy group (audit or preventative).

namestring required

The name of the policy group.

Changes

No recorded changes to this operation across all 1 revision of this API.