turbot/azure_insights

Query: key_vault_soft_delete_status

Usage

powerpipe query azure_insights.query.key_vault_soft_delete_status

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: