Intelligent Fixes

When a resource is found to be non-compliant (in an Alarm state), Intelligent Fixes uses AI to analyze the issue and generate actionable remediation steps. This helps you understand what went wrong and how to fix it, without needing to research the solution yourself.

In this guide, you will learn how to:

What Intelligent Fixes Provides

For each alarmed control, Intelligent Fixes generates remediation in several formats:

Prerequisites

Step 1: Enable Intelligent Fixes

Navigate to Integrations > AI and select the Intelligent Fixes tab. Toggle the Enabled switch to turn on the feature.

Intelligent Fixes settings tab showing Enabled toggle and system prompt

You can optionally customize the System Prompt to control how the AI generates remediation steps. Most users can leave this at the default value.

[!NOTE] If you previously enabled all AI features using the master toggle in Configure AI, Intelligent Fixes is already enabled and you can skip this step.

Step 2: View Remediation for an Alarmed Control

Navigate to any control that is in the Alarm state. You can find alarmed controls by going to Controls and filtering by state.

Select an alarmed control to open its detail. The Remediation Steps section displays the AI-generated remediation.

Control detail Remediation Steps showing AI-generated CLI remediation for the S3 bucket versioning alarm

The remediation generates automatically when you open the control. You will see an initial message "Generating remediation steps..." while the AI analyzes the issue.

Step 3: Review Remediation Formats

The AI generates remediation in multiple formats. You can switch between them to find the approach that works best for your workflow.

Next to Remediation Steps, use the format dropdown to switch between Quick Actions, CLI, and Terraform:

Remediation Steps showing Terraform remediation for the S3 bucket versioning alarm

Alert Summary

The alert summary explains why the control is in alarm and what the expected configuration should be. This gives you the context to understand the compliance issue before taking action.

Cloud Provider CLI

The CLI tab provides ready-to-run commands for your cloud provider's command-line tool. For example, an S3 bucket tagging issue might generate AWS CLI commands like:

aws s3api put-bucket-tagging --bucket my-bucket --tagging 'TagSet=[{Key=Environment,Value=Production}]'

Infrastructure-as-Code

The Terraform tab provides a Terraform plan that you can apply to remediate the issue through your infrastructure-as-code workflow. This is useful for teams that manage cloud resources declaratively.

Quick Actions

If Quick Actions are enabled for the control type, they appear alongside the AI-generated remediation. Quick Actions provide one-click enforcement directly within Guardrails, for example, automatically adding a missing tag or enabling encryption.

[!NOTE] Quick Actions are available for select control types. Always review each action before applying it to ensure it aligns with your compliance requirements.

[!NOTE] The output is generated by the AI provider and may vary based on the model's capabilities and input details. Always review the suggested remediation before applying it to your environment.

Next Steps

Troubleshooting

IssueDescriptionResolution
No remediation appearsIntelligent Fixes may not be enabled, or the control is not in an Alarm state.Verify the feature is enabled in Integrations > AI > Intelligent Fixes. Confirm the control is in Alarm state.
Remediation is incompleteThe AI model may not have enough context about the resource.Try using a higher-tier model in the AI provider settings. Check that the resource metadata is fully discovered.
CLI commands failThe generated commands may need adjustments for your specific environment (region, profile, etc.).Review and adapt the commands to your environment before running them.
Further assistanceIf issues persist, please open a support ticket with relevant details.Open Support Ticket