turbot/aws_insights

Query: rds_db_cluster_deletion_protection_status

Usage

powerpipe query aws_insights.query.rds_db_cluster_deletion_protection_status

Steampipe Tables

SQL

select
deletion_protection_status,
count(*)
from
(
select
case
when deletion_protection then 'enabled'
else 'disabled'
end deletion_protection_status
from
aws_rds_db_cluster
) as t
group by
deletion_protection_status
order by
deletion_protection_status desc;

Dashboards

The query is used in the dashboards: