Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
documentdb_cluster_deletion_protectionProvider: AWS
Service:
documentdbSeverity: MEDIUM
Categories:
resilienceResource type:
AwsRdsDbClusterWhat this check verifies
Amazon DocumentDB clusters are evaluated for thedeletion_protection setting on the cluster configuration.
The finding highlights clusters where this protection is not enabled.
Risk
Without deletion protection, clusters can be deleted by mistake or misuse, causing sudden outage and loss of recovery points, impacting availability and data integrity. Compromised accounts or faulty automation can remove databases or skip final snapshots, hindering restoration.Recommendation
Enable deletion protection on all non-ephemeral clusters, prioritizing production. Enforce least privilege for delete and modify actions, require change control to toggle protection, and implement defense in depth with automation that continuously enforces this setting. Before decommissioning, take a final snapshot.Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
aws docdb modify-db-cluster —db-cluster-identifier <DB_CLUSTER_ID> —deletion-protection —apply-immediately
References
- https://support.icompaas.com/support/solutions/articles/62000233689-ensure-documentdb-clusters-has-deletion-protection-enabled
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/aws/DocumentDB/deletion-protection.html
- https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-delete.html
- https://docs.aws.amazon.com/securityhub/latest/userguide/documentdb-controls.html#documentdb-5
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = documentdb_cluster_deletion_protection. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks