turbot/azure_insights

Query: compute_disk_accesses_for_compute_snapshot

Usage

powerpipe query azure_insights.query.compute_disk_accesses_for_compute_snapshot

SQL

select
lower(a.id) as disk_access_id
from
azure_compute_disk_access as a
left join azure_compute_snapshot as s on lower(s.disk_access_id) = lower(a.id)
where
lower(s.id) = $1
and s.subscription_id = split_part($1, '/', 3);