turbot/azure_insights

Query: compute_disk_unattached_count

Usage

powerpipe query azure_insights.query.compute_disk_unattached_count

Steampipe Tables

SQL

select
count(*) as value,
'Unattached' as label,
case when count(*) = 0 then 'ok' else 'alert' end as type
from
azure_compute_disk
where
disk_state = 'Unattached';

Dashboards

The query is used in the dashboards: