turbot/gcp_insights

Query: pubsub_topic_labeled

Usage

powerpipe query gcp_insights.query.pubsub_topic_labeled

Steampipe Tables

SQL

select
'Labeling' as label,
case when labels is not null then 'Enabeled' else 'Disabled' end as value,
case when labels is not null then 'ok' else 'alert' 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: