Control: VPC security groups should be associated with at least one ENI
Description
This rule ensures the security groups are attached to an AWS Elastic Compute Cloud (AWS EC2) instance or to an ENI. This rule helps monitoring unused security groups in the inventory and the management of your environment.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.vpc_security_group_associated_to_eni
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.vpc_security_group_associated_to_eni --share
SQL
This control uses a named query:
vpc_security_group_associated_to_eni