github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/aws/ec2/AVD-AWS-0102/CloudFormation.md (about) 1 2 Set specific allowed ports 3 4 ```yaml--- 5 AWSTemplateFormatVersion: 2010-09-09 6 Description: Good example of excessive ports 7 Resources: 8 NetworkACL: 9 Type: AWS::EC2::NetworkAcl 10 Properties: 11 VpcId: "something" 12 RuleAction: "allow" 13 Rule: 14 Type: AWS::EC2::NetworkAclEntry 15 Properties: 16 RuleAction: "allow" 17 NetworkAclId: 18 Ref: NetworkACL 19 Protocol: 6 20 21 ``` 22 23