Control: Auto Scaling launch configs should not associate public IP addresses to instances
Ensure that EC2 Auto Scaling launch configurations do not associate public IP addresses to Auto Scaling group instances.
Run the control in your terminal:
steampipe check aws_perimeter.control.autoscaling_launch_config_public_ip_disabled
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share aws_perimeter.control.autoscaling_launch_config_public_ip_disabled
Plugins & Tables
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 || ' associate public IP addresses.' else title || ' do not associate public IP addresses.' end as reason, region, account_idfrom aws_ec2_launch_configuration;