turbot/azure_insights

Query: key_vault_key_status

Usage

powerpipe query azure_insights.query.key_vault_key_status

Steampipe Tables

SQL

select
'Status' as label,
case when enabled then 'Enabled' else 'Disabled' end as value,
case when enabled then 'ok' else 'alert' end as type
from
azure_key_vault_key
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: