turbot/aws_compliance

Query: rds_db_cluster_deletion_protection_enabled

Usage

powerpipe query aws_compliance.query.rds_db_cluster_deletion_protection_enabled

Steampipe Tables

SQL

select
db_cluster_identifier as resource,
case
when deletion_protection then 'ok'
else 'alarm'
end as status,
case
when deletion_protection then title || ' deletion protection enabled.'
else title || ' deletion protection not enabled.'
end as reason
, region, account_id
from
aws_rds_db_cluster;

Controls

The query is being used by the following controls: