turbot/alicloud_insights

Query: ecs_instance_public_access_count

Usage

powerpipe query alicloud_insights.query.ecs_instance_public_access_count

Steampipe Tables

SQL

select
count(*) as value,
'Publicly Accessible' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
alicloud_ecs_instance
where
public_ip_address is not null;

Dashboards

The query is used in the dashboards: