turbot/gcp_insights

Query: sql_database_instance_backup_enabled_count

Usage

powerpipe query gcp_insights.query.sql_database_instance_backup_enabled_count

SQL

select
count(*) as value,
'Backup Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
gcp_sql_database_instance
where
not backup_enabled;

Dashboards

The query is used in the dashboards: