turbot/gcp_insights

Query: cloudfunction_functions_for_iam_service_account

Usage

powerpipe query gcp_insights.query.cloudfunction_functions_for_iam_service_account

SQL

select
f.name as function_id
from
gcp_cloudfunctions_function as f,
gcp_service_account as s
where
f.service_account_email = s.email
and s.name = split_part($1, '/', 1)