AWS ec2 documentation change
Summary
Added PowerShell V5 examples for DescribeNetworkAcls API including ACL rule inspection
Security assessment
Adds operational examples for network ACL inspection but doesn't discuss security configurations or vulnerabilities. Shows existing ACL rules without security guidance.
Diff
diff --git a/ec2/latest/devguide/example_ec2_DescribeNetworkAcls_section.md b/ec2/latest/devguide/example_ec2_DescribeNetworkAcls_section.md index a9ff8399c..259b332be 100644 --- a//ec2/latest/devguide/example_ec2_DescribeNetworkAcls_section.md +++ b//ec2/latest/devguide/example_ec2_DescribeNetworkAcls_section.md @@ -205,0 +206,55 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example describes the specified network ACL.** + + + Get-EC2NetworkAcl -NetworkAclId acl-12345678 + + +**Output:** + + + Associations : {aclassoc-1a2b3c4d} + Entries : {Amazon.EC2.Model.NetworkAclEntry, Amazon.EC2.Model.NetworkAclEntry} + IsDefault : False + NetworkAclId : acl-12345678 + Tags : {Name} + VpcId : vpc-12345678 + +**Example 2: This example describes the rules for the specified network ACL.** + + + (Get-EC2NetworkAcl -NetworkAclId acl-12345678).Entries + + +**Output:** + + + CidrBlock : 0.0.0.0/0 + Egress : True + IcmpTypeCode : + PortRange : + Protocol : -1 + RuleAction : deny + RuleNumber : 32767 + + CidrBlock : 0.0.0.0/0 + Egress : False + IcmpTypeCode : + PortRange : + Protocol : -1 + RuleAction : deny + RuleNumber : 32767 + +**Example 3: This example describes all your network ACLs.** + + + Get-EC2NetworkAcl + + + * For API details, see [DescribeNetworkAcls](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +