turbot/aws_compliance
Loading controls...

Control: Public EC2 instances should have IAM profile attached

Description

Ensure AWS Elastic Compute Cloud (AWS EC2) public instances have an Identity and Access Management (IAM) profile attached to them. This rule is non-compliant if no IAM profile is attached to a public AWS EC2 instance.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.ec2_instance_publicly_accessible_iam_profile_attached

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.ec2_instance_publicly_accessible_iam_profile_attached --share

SQL

This control uses a named query:

ec2_instance_publicly_accessible_iam_profile_attached

Tags