Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

CloudWatch log group should have a retention period configured

AWS_LOGS_001 MEDIUM Observability

What it checks

CloudWatch log group: no retention period is set.

Where it applies

Terraform: aws_cloudwatch_log_group

CloudFormation: AWS::Logs::LogGroup

How to fix it

  1. Confirm compliance and investigation requirements, choose the retention period for this workload, then export and verify any required historical logs before imposing finite retention. Events older than the new period are marked for deletion; no universal automatic value is safe.

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules