AWS Security ChangesHomeSearch

AWS ec2 documentation change

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

File: ec2/latest/devguide/example_ec2_DescribeNetworkInterfaceAttribute_section.md

Summary

Added PowerShell V5 examples for DescribeNetworkInterfaceAttribute API with sample outputs for Attachment, Description, GroupSet, and SourceDestCheck attributes

Security assessment

The change adds usage examples for existing API functionality without addressing vulnerabilities or security weaknesses. While security groups (GroupSet) and source/dest checks are security-related concepts, this is standard documentation of existing features rather than addressing a specific security issue.

Diff

diff --git a/ec2/latest/devguide/example_ec2_DescribeNetworkInterfaceAttribute_section.md b/ec2/latest/devguide/example_ec2_DescribeNetworkInterfaceAttribute_section.md
index ddf6c7aff..1d1008fad 100644
--- a//ec2/latest/devguide/example_ec2_DescribeNetworkInterfaceAttribute_section.md
+++ b//ec2/latest/devguide/example_ec2_DescribeNetworkInterfaceAttribute_section.md
@@ -160,0 +161,52 @@ PowerShell
+
+
+
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example describes the specified network interface.**
+    
+    
+    Get-EC2NetworkInterfaceAttribute -NetworkInterfaceId eni-12345678 -Attribute Attachment
+    
+
+**Output:**
+    
+    
+    Attachment         : Amazon.EC2.Model.NetworkInterfaceAttachment
+
+**Example 2: This example describes the specified network interface.**
+    
+    
+    Get-EC2NetworkInterfaceAttribute -NetworkInterfaceId eni-12345678 -Attribute Description
+    
+
+**Output:**
+    
+    
+    Description        : My description
+
+**Example 3: This example describes the specified network interface.**
+    
+    
+    Get-EC2NetworkInterfaceAttribute -NetworkInterfaceId eni-12345678 -Attribute GroupSet
+    
+
+**Output:**
+    
+    
+    Groups             : {my-security-group}
+
+**Example 4: This example describes the specified network interface.**
+    
+    
+    Get-EC2NetworkInterfaceAttribute -NetworkInterfaceId eni-12345678 -Attribute SourceDestCheck
+    
+
+**Output:**
+    
+    
+    SourceDestCheck    : True
+
+  * For API details, see [DescribeNetworkInterfaceAttribute](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+