turbot/alicloud_compliance

GitHub

Query: rds_instance_restrict_access_to_internet

Usage

steampipe query alicloud_compliance.query.rds_instance_restrict_access_to_internet

Plugins & Tables

SQL

select
-- Required Columns
arn as resource,
case
when security_ips :: jsonb ? '0.0.0.0/0' then 'alarm'
else 'ok'
end as status,
case
when security_ips :: jsonb ? '0.0.0.0/0' then title || ' publicly accessible.'
else title || ' not publicly accessible.'
end as reason,
-- Additional Dimensions
region,
account_id
from
alicloud_rds_instance;

Controls

The query is being used by the following controls: