github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/aws/ec2/AVD-AWS-0105/CloudFormation.md (about)

     1  
     2  Set a more restrictive cidr range
     3  
     4  ```yaml---
     5  AWSTemplateFormatVersion: 2010-09-09
     6  Description: Godd example of excessive ports
     7  Resources: 
     8    NetworkACL:
     9      Type: AWS::EC2::NetworkAcl
    10      Properties:
    11        VpcId: "something"
    12    Rule:
    13      Type: AWS::EC2::NetworkAclEntry
    14      Properties:
    15        NetworkAclId:
    16          Ref: NetworkACL
    17        Protocol: 6
    18        CidrBlock: 10.0.0.0/8
    19        RuleAction: allow
    20  
    21  ```
    22  
    23