Control: EC2 AMIs should restrict public access
Description
This control checks whether EC2 AMIs are set as private or not. The control fails if the EC2 AMIs are set as public.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.ec2_ami_restrict_public_access
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.ec2_ami_restrict_public_access --share
SQL
This control uses a named query:
ec2_ami_restrict_public_access