turbot/gcp_insights

Query: source_compute_disks_for_compute_disk

Usage

powerpipe query gcp_insights.query.source_compute_disks_for_compute_disk

Steampipe Tables

SQL

select
d.source_disk_id || '/' || d.project as disk_id
from
gcp_compute_disk d
where
d.source_disk_id != ''
and d.id = (split_part($1, '/', 1))::bigint
and d.project = split_part($1, '/', 2);