turbot/gcp_insights

Query: pubsub_topic_encryption

Usage

powerpipe query gcp_insights.query.pubsub_topic_encryption

Steampipe Tables

SQL

select
'Encryption' as label,
case when kms_key_name = '' then 'Disabled' else 'Enabled' end as value,
case when kms_key_name = '' then 'alert' else 'ok' end as type
from
gcp_pubsub_topic
where
project = split_part($1, '/', 6)
and self_link = $1;

Dashboards

The query is used in the dashboards: