turbot/azure_insights

Query: storage_account_input

Usage

powerpipe query azure_insights.query.storage_account_input

SQL

select
sa.title as label,
lower(sa.id) as value,
json_build_object(
'subscription', s.display_name,
'resource_group', sa.resource_group,
'region', sa.region
) as tags
from
azure_storage_account as sa,
azure_subscription as s
where
lower(sa.subscription_id) = lower(s.subscription_id)
order by
sa.title;