turbot/aws_compliance

Query: autoscaling_launch_config_public_ip_disabled

Usage

powerpipe query aws_compliance.query.autoscaling_launch_config_public_ip_disabled

SQL

select
launch_configuration_arn as resource,
case
when associate_public_ip_address then 'alarm'
else 'ok'
end as status,
case
when associate_public_ip_address then title || ' public IP enabled.'
else title || ' public IP disabled.'
end as reason
, region, account_id
from
aws_ec2_launch_configuration;

Controls

The query is being used by the following controls: