turbot/ibm_insights

Query: ibm_is_volume_unattached_count

Usage

powerpipe query ibm_insights.query.ibm_is_volume_unattached_count

Steampipe Tables

SQL

select
count(*) as value,
'Not In-Use' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as "type"
from
ibm_is_volume
where
jsonb_array_length(volume_attachments) = 0;

Dashboards

The query is used in the dashboards: