Organizations
PolicyPacks

GetPolicyPack

Returns the metadata and list of individual policies for a specific version of a Policy Pack. Each policy includes its name, description, enforcement level (advisory, mandatory, or disabled), and configuration schema. Returns 400 if the Policy Pack version is not yet complete (still being uploaded), or 404 if the organization or pack is not found.

get/api/orgs/{orgName}/policypacks/{policyPackName}/versions/{version}

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}/policypacks/{policyPackName}/versions/{version}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

policyPackNamestring required

The policy pack name

versionstring required

The version number

Response

OK

appliedboolean required

Whether this policy pack version is currently applied to any policy group.

displayNamestring required

Human-readable display name of the policy pack.

namestring required

The unique name of the policy pack.

versioninteger required

Numeric version of the policy pack, auto-incremented on each publish.

versionTagstring required

Semantic version tag for this policy pack version (e.g. '1.2.0').

Changes

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