ec2-security-group-attached-to-eni
Checks that non-default security groups are attached to Amazon Elastic Compute Cloud (EC2) instances or an elastic network interfaces (ENIs). The rule returns NON_COMPLIANT if the security group is not associated with an EC2 instance or an ENI.
Identifier: EC2_SECURITY_GROUP_ATTACHED_TO_ENI
Resource Types: AWS::EC2::SecurityGroup
Trigger type: Configuration changes
Amazon Web Services Region: All supported Amazon regions except Middle East (UAE), Asia Pacific (Taipei), Canada West (Calgary) Region
Parameters:
- None
Amazon CloudFormation template
To create Amazon Config managed rules with Amazon CloudFormation templates, see Creating Amazon Config Managed Rules With Amazon CloudFormation Templates.