turbot/ibm_insights

Query: ibm_compute_public_instance_count

Usage

powerpipe query ibm_insights.query.ibm_compute_public_instance_count

Steampipe Tables

SQL

select
count(*) as value,
'Publicly Accessible' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
ibm_is_instance
where
jsonb_array_length(floating_ips) <> 0;

Dashboards

The query is used in the dashboards: