github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/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