Organizations
PolicyGroups

GetPolicyGroupMetadata

Returns high-level policy protection metrics for an organization, including the number of stacks protected by policy enforcement, the total number of Policy Groups, and overall policy coverage statistics.

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

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/metadata
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Response

OK

AuditStackResourcesinteger required

Number of resources in stacks in audit policy groups

AuditStacksinteger required

Number of stacks in audit policy groups

PreventativeStackResourcesinteger required

Number of resources in stacks in preventative policy groups

PreventativeStacksinteger required

Number of stacks in preventative policy groups

ProtectedAccountResourcesinteger required

Number of resources in accounts in policy groups

ProtectedAccountsinteger required

Number of accounts in policy groups

ProtectedStackResourcesinteger required

Number of resources in unique stacks in any policy group (preventative or audit). Deprecated: Use PreventativeStackResources and AuditStackResources for breakdown by mode

ProtectedStacksinteger required

Number of unique stacks in any policy group (preventative or audit). Deprecated: Use PreventativeStacks and AuditStacks for breakdown by mode

TotalAccountResourcesinteger required

Total number of resources in all accounts

TotalAccountsinteger required

Total number of accounts in the organization

TotalStackResourcesinteger required

Total number of resources in all stacks

TotalStacksinteger required

Total number of stacks in the organization

Changes

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