🛡️ AWS RDS Cluster Deletion Protection is not enabled🟢
- Contextual name: 🛡️ Cluster Deletion Protection is not enabled🟢
- ID:
/ce/ca/aws/rds/cluster-deletion-protection - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Similar Policies
- AWS Security Hub: [RDS.7] RDS clusters should have deletion protection enabled
- AWS Security Hub: [DocumentDB.5] Amazon DocumentDB clusters should have deletion protection enabled
- AWS Security Hub: [Neptune.4] Neptune DB clusters should have deletion protection enabled
Description
Description
This policy identifies AWS RDS Clusters that are not configured with Deletion Protection.
When Deletion Protection is enabled, an RDS cluster cannot be deleted through the AWS Management Console, AWS CLI, or API calls. To delete the cluster, Deletion Protection must first be explicitly disabled by modifying the cluster configuration.
Rationale
Accidental deletion of a database cluster poses a significant risk to data availability and business continuity. Administrators or automated processes may inadvertently target the wrong cluster, resulting in irreversible data loss.
Deletion Protection introduces a mandatory safeguard that requires deliberate action before a destructive operation can be performed. This additional control reduces the likelihood of human error and prevents unintended deletions initiated by automation.
When infrastructure-as-code tools such as Terraform or AWS CloudFormation are used, misconfigurations or unexpected changes can trigger resource replacement or deletion. Enabling Deletion Protection prevents the AWS API from executing such destructive commands without prior, intentional configuration changes.
... see more
Remediation
Remediation
Enable Deletion Protection
Deletion Protection prevents an Amazon RDS cluster from being accidentally deleted through the AWS Management Console, AWS CLI, or API. Enabling this setting adds an explicit safeguard against unintended destructive actions.
From Command Line
Run the following command to enable Deletion Protection for the specified RDS cluster:
aws rds modify-db-cluster \
--db-cluster-identifier {{cluster-id}} \
--deletion-protection \
--apply-immediatelyNote: Enabling Deletion Protection does not impact cluster availability. To delete the cluster in the future, this setting must first be manually disabled.