🛡️ AWS RDS Cluster Backup Retention Period is less than 7 days🟢
- Contextual name: 🛡️ Cluster Backup Retention Period is less than 7 days🟢
- ID:
/ce/ca/aws/rds/cluster-backup-retention - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Similar Policies
- AWS Security Hub: [RDS.50] RDS DB clusters should have enough backup retention period set
- AWS Security Hub: [DocumentDB.2] Amazon DocumentDB clusters should have an adequate backup retention period
- AWS Security Hub: [Neptune.5] Neptune DB clusters should have automated backups enabled
Description
Description
This policy identifies AWS RDS DB clusters that retain automated backups for fewer than 7 days.
Automated backups support point-in-time recovery and help restore cluster-based database services after accidental changes, data corruption, operational mistakes, or service disruption. A short retention window reduces the number of recent restore points that are available when an incident occurs.
Rationale
Maintaining at least 7 days of backup retention improves resilience by preserving a sufficient recovery window for investigation, rollback, and restoration activities. This is particularly important for business-critical database workloads where recovery objectives depend on having recent restore points readily available.
Impact
Increasing the backup retention period can increase backup storage costs. Organizations should balance retention costs against recovery requirements, data criticality, and internal resilience standards.
Audit
This policy flags an AWS RDS Cluster as
INCOMPLIANTwhen theBackup Retention Periodis less than 7 days.... see more
Remediation
Remediation
Set Backup Retention to at Least 7 Days
Update the affected cluster configuration to retain automated backups for at least 7 days.
From Command Line
Amazon RDS DB Clusters
Use the following AWS CLI command for Aurora DB clusters and RDS Multi-AZ MySQL or PostgreSQL DB clusters:
aws rds modify-db-cluster \
--db-cluster-identifier {{db-cluster-id}} \
--backup-retention-period 7 \
--apply-immediatelyAmazon DocumentDB Clusters
aws docdb modify-db-cluster \
--db-cluster-identifier {{db-cluster-id}} \
--backup-retention-period 7 \
--apply-immediatelyAmazon Neptune DB Clusters
aws neptune modify-db-cluster \
--db-cluster-identifier {{db-cluster-id}} \
--backup-retention-period 7 \
--apply-immediatelyUse a higher value if your organization's backup policy requires a longer recovery window. If you prefer to defer the change until the next maintenance window, replace
--apply-immediatelywith--no-apply-immediatelywhere supported by the service.