Control: VPC default security group should not allow inbound and outbound traffic
Description
Amazon Elastic Compute Cloud (Amazon EC2) security groups can help in the management of network access by providing stateful filtering of ingress and egress network traffic to AWS resources.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.vpc_default_security_group_restricts_all_traffic
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.vpc_default_security_group_restricts_all_traffic --share
SQL
This control uses a named query:
vpc_default_security_group_restricts_all_traffic