turbot/gcp_insights

Query: pubsub_subscriptions_for_pubsub_topic

Usage

powerpipe query gcp_insights.query.pubsub_subscriptions_for_pubsub_topic

SQL

select
s.self_link as subscription_self_link
from
gcp_pubsub_subscription s,
gcp_pubsub_topic t
where
s.topic_name = t.name
and s.project = t.project
and t.self_link = $1;