turbot/aws_insights

Query: rds_db_cluster_no_deletion_protection_count

Usage

powerpipe query aws_insights.query.rds_db_cluster_no_deletion_protection_count

Steampipe Tables

SQL

select
count(*) as value,
'Deletion Protection Disabled' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as "type"
from
aws_rds_db_cluster
where
not deletion_protection;

Dashboards

The query is used in the dashboards: