turbot/ibm_insights

Query: ibm_is_security_group_unassociated_count

Usage

powerpipe query ibm_insights.query.ibm_is_security_group_unassociated_count

Steampipe Tables

SQL

select
count(*) as value,
'Unassociated' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as type
from
ibm_is_security_group
where
jsonb_array_length(targets) = 0;

Dashboards

The query is used in the dashboards: