AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/ec2_example_ec2_CreateNetworkAclEntry_section.md

Summary

Added PowerShell V5 example for creating network ACL entry allowing DNS traffic

Security assessment

Documents network security configuration but doesn't address a specific security vulnerability

Diff

diff --git a/code-library/latest/ug/ec2_example_ec2_CreateNetworkAclEntry_section.md b/code-library/latest/ug/ec2_example_ec2_CreateNetworkAclEntry_section.md
index 3a927dbcd..39ecdd82e 100644
--- a//code-library/latest/ug/ec2_example_ec2_CreateNetworkAclEntry_section.md
+++ b//code-library/latest/ug/ec2_example_ec2_CreateNetworkAclEntry_section.md
@@ -56,0 +57,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example creates an entry for the specified network ACL. The rule allows inbound traffic from anywhere (0.0.0.0/0) on UDP port 53 (DNS) into any associated subnet.**
+    
+    
+    New-EC2NetworkAclEntry -NetworkAclId acl-12345678 -Egress $false -RuleNumber 100 -Protocol 17 -PortRange_From 53 -PortRange_To 53 -CidrBlock 0.0.0.0/0 -RuleAction allow
+    
+
+  * For API details, see [CreateNetworkAclEntry](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+