turbot/ibm_insights

Query: ibm_is_security_group_attached_enis_count

Usage

powerpipe query ibm_insights.query.ibm_is_security_group_attached_enis_count

Steampipe Tables

SQL

select
'Attached ENIs' as label,
jsonb_array_length(network_interfaces) as value,
case
when jsonb_array_length(network_interfaces) > '0' then 'ok'
else 'alert'
end as type
from
ibm_is_security_group
where
crn = $1;

Params

ArgsNameDefaultDescriptionVariable
$1crn

    Dashboards

    The query is used in the dashboards: