AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell example for retrieving SSM document details including hash verification

Security assessment

Includes documentation of SHA256 hash verification for document integrity checks, which is a security feature but not a response to a specific vulnerability

Diff

diff --git a/code-library/latest/ug/ssm_example_ssm_DescribeDocument_section.md b/code-library/latest/ug/ssm_example_ssm_DescribeDocument_section.md
index 4a8bb7cb7..6311e79f0 100644
--- a//code-library/latest/ug/ssm_example_ssm_DescribeDocument_section.md
+++ b//code-library/latest/ug/ssm_example_ssm_DescribeDocument_section.md
@@ -108,0 +109,33 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example returns information about a document.**
+    
+    
+    Get-SSMDocumentDescription -Name "RunShellScript"
+    
+
+**Output:**
+    
+    
+    CreatedDate     : 2/24/2017 5:25:13 AM
+    DefaultVersion  : 1
+    Description     : Run an updated script
+    DocumentType    : Command
+    DocumentVersion : 1
+    Hash            : f775e5df4904c6fa46686c4722fae9de1950dace25cd9608ff8d622046b68d9b
+    HashType        : Sha256
+    LatestVersion   : 1
+    Name            : RunShellScript
+    Owner           : 123456789012
+    Parameters      : {commands}
+    PlatformTypes   : {Linux}
+    SchemaVersion   : 2.0
+    Sha1            :
+    Status          : Active
+
+  * For API details, see [DescribeDocument](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+