Stacks
StackPolicy
GetStackPolicyPacks
Returns the policy packs currently enforced on the specified stack through its policy group memberships. The optional 'mode' query parameter filters results by enforcement mode: 'audit' (violations are logged but allowed) or 'preventative' (violations block the update). Returns 400 if the mode parameter is invalid.
get/api/stacks/{orgName}/{projectName}/{stackName}/policypacks
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/stacks/{orgName}/{projectName}/{stackName}/policypacks
- Auth: none declared
Path parameters
orgNamestring required
The organization name
projectNamestring required
The project name
stackNamestring required
The stack name
Query parameters
mode'audit' | 'preventative'
Filter by policy group enforcement mode ('audit' or 'preventative')
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.