Skip to main content
The remediation command group manages automated fix actions. InfraAudit generates AI-powered remediation suggestions for drift and vulnerability findings, which you review, approve, and then execute. Completed actions can be rolled back if needed.

remediation summary

Show a summary of remediation actions grouped by status:

remediation list

List remediation actions with an optional status filter. Synopsis:
Examples:

remediation pending

List all remediation actions that are waiting for approval:

remediation suggest-drift

Generate an AI-powered fix suggestion for a specific drift finding: Synopsis:
Example:
The suggestion includes a description of the change, the specific API call or configuration update required, and an estimated risk level.

remediation suggest-vuln

Generate a fix suggestion for a specific vulnerability finding: Synopsis:
Example:

remediation approve

Approve a pending remediation action so it can be executed: Synopsis:
Example:
Review the suggested action carefully before approving. Approved actions modify live cloud resources when executed.

remediation run

Execute an approved remediation action: Synopsis:
Example:
Only approved actions can be executed. If you attempt to run a pending action, the CLI returns an error.

remediation rollback

Roll back a previously executed remediation action and restore the resource to its prior state: Synopsis:
Example:
Not all actions support rollback. Check the action details with infraudit remediation list before attempting to roll back.