Config detects violations, Claude API generates intelligent fixes, Lambda executes them autonomously.
Intelligent autonomous remediation. AWS Config violations trigger a Lambda that calls the Claude API with full resource context, receives a generated remediation action, applies it via the AWS SDK, and re-evaluates the rule — closing the loop without human intervention.
Example: non-encrypted S3 bucket → Config FAIL → Lambda invoked with resource ARN and violation context → Claude generates least-privilege encryption policy JSON → Lambda applies BucketEncryption → Config re-evaluates → finding closed. Full audit trail in DynamoDB. Human-in-the-loop mode available for critical resources.
Full implementation, tests, and documentation available on GitHub.
View on GitHub ↗