AWS Security ChangesHomeSearch

AWS ec2 documentation change

Service: ec2 · 2025-06-28 · Documentation low

File: ec2/latest/devguide/example_ec2_DescribeNetworkInterfaces_section.md

Summary

Added PowerShell V5 examples for DescribeNetworkInterfaces API with sample outputs showing network interface details including security groups

Security assessment

The change provides examples of retrieving network interface configurations, including security group associations. While security groups are security controls, this documentation update simply demonstrates existing functionality rather than addressing a specific vulnerability or introducing new security features.

Diff

diff --git a/ec2/latest/devguide/example_ec2_DescribeNetworkInterfaces_section.md b/ec2/latest/devguide/example_ec2_DescribeNetworkInterfaces_section.md
index 1e00acc5c..a85e3dc71 100644
--- a//ec2/latest/devguide/example_ec2_DescribeNetworkInterfaces_section.md
+++ b//ec2/latest/devguide/example_ec2_DescribeNetworkInterfaces_section.md
@@ -231,0 +232,42 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example describes the specified network interface.**
+    
+    
+    Get-EC2NetworkInterface -NetworkInterfaceId eni-12345678
+    
+
+**Output:**
+    
+    
+    Association        :
+    Attachment         : Amazon.EC2.Model.NetworkInterfaceAttachment
+    AvailabilityZone   : us-west-2c
+    Description        :
+    Groups             : {my-security-group}
+    MacAddress         : 0a:e9:a6:19:4c:7f
+    NetworkInterfaceId : eni-12345678
+    OwnerId            : 123456789012
+    PrivateDnsName     : ip-10-0-0-107.us-west-2.compute.internal
+    PrivateIpAddress   : 10.0.0.107
+    PrivateIpAddresses : {ip-10-0-0-107.us-west-2.compute.internal}
+    RequesterId        :
+    RequesterManaged   : False
+    SourceDestCheck    : True
+    Status             : in-use
+    SubnetId           : subnet-1a2b3c4d
+    TagSet             : {}
+    VpcId              : vpc-12345678
+
+**Example 2: This example describes all your network interfaces.**
+    
+    
+    Get-EC2NetworkInterface
+    
+
+  * For API details, see [DescribeNetworkInterfaces](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+