turbot/gcp_insights

Query: sql_database_instance_ssl_enabled_count

Usage

powerpipe query gcp_insights.query.sql_database_instance_ssl_enabled_count

SQL

select
count(*) as value,
'SSL Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
gcp_sql_database_instance
where
ip_configuration -> 'requireSsl' is null

Dashboards

The query is used in the dashboards: