turbot/azure_insights

Query: storage_account_blob_soft_delete

Usage

powerpipe query azure_insights.query.storage_account_blob_soft_delete

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: