turbot/gcp_insights

Query: storage_bucket_by_project

Usage

powerpipe query gcp_insights.query.storage_bucket_by_project

SQL

select
p.title as "Project",
count(b.*) as "total"
from
gcp_storage_bucket as b,
gcp_project as p
where
p.project_id = b.project
group by
p.title
order by count(b.*) desc;

Dashboards

The query is used in the dashboards: