turbot/alicloud_compliance

GitHub

Query: ecs_instance_with_no_legacy_network

Usage

steampipe query alicloud_compliance.query.ecs_instance_with_no_legacy_network

Plugins & Tables

SQL

select
-- Required Columns
arn as resource,
case
when instance_network_type = 'vpc' then 'ok'
else 'alarm'
end as status,
case
when instance_network_type = 'vpc' then title || ' has VPC network.'
else title || ' has legacy network.'
end as reason,
-- Additional Dimensions
region,
account_id
from
alicloud_ecs_instance;

Controls

The query is being used by the following controls: