Modify a Policy Pack

In this guide, you will learn how to modify an existing policy pack. This covers three common operations: adding a policy setting to the pack, editing the pack's title or description, and deleting the pack entirely.

Prerequisites

Add a Policy Setting

Policy settings are the core of a policy pack: they define what the pack actually enforces. When you add a setting to a pack, it applies to every resource the pack is attached to.

Step 1: Open the Policies Tab

Navigate to Policies > Policy Packs and click the policy pack you want to modify. It opens on the Policies tab, which lists the settings currently in the pack.

Step 2: Add the Setting

Click New Policy Setting. This opens the standard Create Policy Setting form, with the Resource already set to the pack itself (the setting applies wherever the pack is attached, not to a fixed resource).

Select a Policy Type, then choose the value. For this example, select AWS > S3 > Bucket > Versioning and set the value to Enforce: Enabled, leaving the precedence as Required.

The Create Policy Setting form with the pack as the Resource and Versioning set to Enforce: Enabled

The value you select depends on the policy type. Common patterns include:

Value PatternMeaning
Check: ...Guardrails monitors and reports violations but doesn't remediate.
Enforce: ...Guardrails actively remediates resources that don't comply.
SkipGuardrails ignores this policy for the attached resources.

Step 3: Create the Setting

Click Create. The setting appears on the Policies tab.

The pack's Policies tab showing the Versioning setting with an Enforce: Enabled value

You can add multiple settings to a single pack. Each setting enforces a different policy type, and together they define the complete governance posture for the pack.

Edit Title and Description

Step 1: Open the Edit Dialog

On the policy pack detail page, click Edit in the top-right corner. The Edit Policy Pack dialog opens with the current title and description.

The Edit Policy Pack dialog showing the editable Title and Description fields

Step 2: Update and Save

Change the Title, Description, or both, then click Update.

Renaming a pack doesn't affect its settings or attachments. Everything continues to work as before with the new name.

Delete a Policy Pack

Deleting a pack removes it and all of its settings from Guardrails. If the pack is attached to any resources, those attachments are removed as well and Guardrails re-evaluates the affected controls.

Step 1: Open the Delete Dialog

On the policy pack detail page, click Delete in the top-right corner. A confirmation dialog appears, summarizing what will be removed and requiring you to type the pack's full name to confirm.

The Remove Policy Pack confirmation dialog with a text field requiring the pack's full name

Step 2: Confirm

Type the pack name exactly as shown and click Delete. The pack, its settings, and all attachments are removed from Guardrails.

[!NOTE] Guardrails keeps a full history of deleted items, and the action only removes data from Guardrails, not from your cloud accounts. Leave Retain history for deleted resources checked if you want that history preserved.

Troubleshooting

IssueSolution
Can't find the policy type on the Create Policy Setting formVerify the required mod is installed. Policy types are defined by mods; if the mod isn't installed, its policy types won't appear.
Setting added but controls aren't changingConfirm the pack is attached to at least one resource. A pack with settings but no attachments is inert.
Delete button requires name confirmationThis is intentional. Type the pack name exactly as displayed (case-sensitive) to confirm deletion.
Accidentally deleted a packYou'll need to recreate the pack and its settings. Consider using Terraform to manage packs as code so they can be easily restored.
Further assistanceOpen a Support Ticket

Next Steps