AWS Security ChangesHomeSearch

AWS powershell documentation change

Service: powershell · 2025-06-04 · Documentation low

File: powershell/v5/userguide/powershell_cloudtrail_code_examples.md

Summary

Updated documentation references from 'latest' to 'v4' across PowerShell CloudTrail examples, clarified version specificity in headers/links, and added 'installation' to migration topic list

Security assessment

Changes focus on version specificity (V4 vs latest) and documentation links. No security vulnerabilities, mitigations, or security feature enhancements are mentioned. CloudTrail itself is security-related, but these changes are documentation versioning updates rather than security content changes.

Diff

diff --git a/powershell/v5/userguide/powershell_cloudtrail_code_examples.md b/powershell/v5/userguide/powershell_cloudtrail_code_examples.md
index 5f8f4b948..d5b5638a4 100644
--- a//powershell/v5/userguide/powershell_cloudtrail_code_examples.md
+++ b//powershell/v5/userguide/powershell_cloudtrail_code_examples.md
@@ -7 +7 @@ Actions
-The AWS Tools for PowerShell version 5 (V5) is in preview, therefore this content is subject to change. For information about breaking changes and migration, see the [migration topic](https://docs.aws.amazon.com/powershell/v5/userguide/migrating-v5.html). For released content, see the [version 4 user guide](https://docs.aws.amazon.com/powershell/v4/userguide/) instead.
+The AWS Tools for PowerShell version 5 (V5) is in preview, therefore this content is subject to change. For information about breaking changes, installation, and migration, see the [migration topic](https://docs.aws.amazon.com/powershell/v5/userguide/migrating-v5.html). For released content, see the [version 4 user guide](https://docs.aws.amazon.com/powershell/v4/userguide/) instead.
@@ -9 +9 @@ The AWS Tools for PowerShell version 5 (V5) is in preview, therefore this conten
-# CloudTrail examples using Tools for PowerShell
+# CloudTrail examples using Tools for PowerShell V4
@@ -11 +11 @@ The AWS Tools for PowerShell version 5 (V5) is in preview, therefore this conten
-The following code examples show you how to perform actions and implement common scenarios by using the AWS Tools for PowerShell with CloudTrail.
+The following code examples show you how to perform actions and implement common scenarios by using the AWS Tools for PowerShell V4 with CloudTrail.
@@ -28 +28 @@ The following code example shows how to use `Find-CTEvent`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -55 +55 @@ The following code example shows how to use `Find-CTEvent`.
-  * For API details, see [LookupEvents](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [LookupEvents](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -62 +62 @@ The following code example shows how to use `Get-CTTrail`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -83 +83 @@ The following code example shows how to use `Get-CTTrail`.
-  * For API details, see [DescribeTrails](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [DescribeTrails](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -90 +90 @@ The following code example shows how to use `Get-CTTrailStatus`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -105 +105 @@ The following code example shows how to use `Get-CTTrailStatus`.
-  * For API details, see [GetTrailStatus](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [GetTrailStatus](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -112 +112 @@ The following code example shows how to use `New-CTTrail`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -133 +133 @@ The following code example shows how to use `New-CTTrail`.
-  * For API details, see [CreateTrail](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [CreateTrail](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -140 +140 @@ The following code example shows how to use `Remove-CTTrail`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -149 +149 @@ The following code example shows how to use `Remove-CTTrail`.
-  * For API details, see [DeleteTrail](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [DeleteTrail](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -156 +156 @@ The following code example shows how to use `Start-CTLogging`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -171 +171 @@ The following code example shows how to use `Start-CTLogging`.
-  * For API details, see [StartLogging](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [StartLogging](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -178 +178 @@ The following code example shows how to use `Stop-CTLogging`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -193 +193 @@ The following code example shows how to use `Stop-CTLogging`.
-  * For API details, see [StopLogging](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [StopLogging](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -200 +200 @@ The following code example shows how to use `Update-CTTrail`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -221 +221 @@ The following code example shows how to use `Update-CTTrail`.
-  * For API details, see [UpdateTrail](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [UpdateTrail](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_.