Cis AWS Database 2.11
DevOps & Securitycis-aws-database-2.11Cis AWS Database 2.11 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure Database has delete protection enabled
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/AWS/CIS_AWS_Database_Services_Benchmark_v2.0.0/cis-aws-database-2.11/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-database-2-11, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
2.11 Ensure Database has delete protection enabled (Manual)
Description
Ensure that delete protection is enabled on database instances to prevent accidental or unauthorized deletion. This setting safeguards critical databases by requiring explicit disabling of delete protection before deletion, reducing the risk of data loss through human error or malicious activity.
Rationale
Delete protection provides a safeguard against inadvertent or malicious deletion of critical databases. By requiring deliberate action to disable deletion protection, organizations mitigate risks associated with accidental data deletion and enhance the overall resilience of their data storage platform.
Impact
Failure to enable delete protection increases the risk of irreversible data loss, potential service disruption, and operational downtime.
Audit Procedure
Using AWS CLI
Run the following command to check if deletion protection is enabled on your Aurora DB cluster(s):
aws rds describe-db-clusters \
--query "DBClusters[*].{DBClusterIdentifier:DBClusterIdentifier,DeletionProtection:DeletionProtection}" \
--output table
- Review each cluster's DeletionProtection status.
- Clusters marked as true have deletion protection enabled.
- Identify any clusters with deletion protection disabled for remediation.
Expected Result
The DeletionProtection field should be true for all Aurora DB clusters.
Remediation
Using AWS CLI
- To enable deletion protection on an existing Aurora DB cluster:
aws rds modify-db-cluster \
--db-cluster-identifier <your-cluster-name> \
--deletion-protection \
--apply-immediately
- Replace with your Aurora cluster ID.
- This change is applied immediately without downtime.
- Once enabled, the cluster cannot be deleted without first disabling deletion protection.
Default Value
Deletion protection is enabled by default when creating a new Aurora DB cluster through the AWS Console, but it may not be enabled by default when using the AWS CLI or CloudFormation.
References
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 4 Secure Configuration of Enterprise Assets and Software - Establish and maintain the secure configuration of enterprise assets (end-user devices, including portable and mobile; network devices; non-computing/IoT devices; and servers) and software (operating systems and applications). |
Profile
Level 1 | Manual