turbot/azure_insights

Query: key_vault_vaults_for_key_vault_key

Usage

powerpipe query azure_insights.query.key_vault_vaults_for_key_vault_key

SQL

select
lower(v.id) as vault_id
from
azure_key_vault_key as k
left join azure_key_vault as v on v.name = k.vault_name
where
lower(k.id) = $1
and k.subscription_id = split_part($1, '/', 3);