turbot/azure_insights

Query: storage_storage_accounts_for_compute_disk

Usage

powerpipe query azure_insights.query.storage_storage_accounts_for_compute_disk

SQL

select
lower(a.id) as storage_account_id
from
azure_compute_disk as d
left join azure_storage_account as a on lower(a.id) = lower(d.creation_data_storage_account_id)
where
d.creation_data_storage_account_id is not null
and lower(d.id) = $1