AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-08-01 · Documentation low

File: cli/latest/reference/inspector2/update-configuration.md

Summary

Updated CLI version reference, swapped ec2/ecr configuration parameters, and updated configuration structure documentation with rescan duration/mode fields

Security assessment

Changes refine documentation for security scanning configurations (EC2/ECR rescan settings) but show no evidence of addressing a specific vulnerability. The modifications improve clarity around security feature configuration without referencing any security incidents.

Diff

diff --git a/cli/latest/reference/inspector2/update-configuration.md b/cli/latest/reference/inspector2/update-configuration.md
index 87b74d666..6153fa75c 100644
--- a//cli/latest/reference/inspector2/update-configuration.md
+++ b//cli/latest/reference/inspector2/update-configuration.md
@@ -15 +15 @@
-  * [AWS CLI 2.27.63 Command Reference](../../index.html) »
+  * [AWS CLI 2.28.0 Command Reference](../../index.html) »
@@ -67 +66,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-    [--ec2-configuration <value>]
@@ -68,0 +68 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
+    [--ec2-configuration <value>]
@@ -93 +93 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-`--ec2-configuration` (structure)
+`--ecr-configuration` (structure)
@@ -95 +95 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-> Specifies how the Amazon EC2 automated scan will be updated for your environment.
+> Specifies how the ECR automated re-scan will be updated for your environment.
@@ -97 +97 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-> scanMode -> (string)
+> rescanDuration -> (string)
@@ -99 +99,9 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
->> The scan method that is applied to the instance.
+>> The rescan duration configured for image push date.
+> 
+> pullDateRescanDuration -> (string)
+>
+>> The rescan duration configured for image pull date.
+> 
+> pullDateRescanMode -> (string)
+>
+>> The pull date for the re-scan mode.
@@ -104 +112 @@ Shorthand Syntax:
-    scanMode=string
+    rescanDuration=string,pullDateRescanDuration=string,pullDateRescanMode=string
@@ -111 +119,3 @@ JSON Syntax:
-      "scanMode": "EC2_SSM_AGENT_BASED"|"EC2_HYBRID"
+      "rescanDuration": "LIFETIME"|"DAYS_30"|"DAYS_180"|"DAYS_14"|"DAYS_60"|"DAYS_90",
+      "pullDateRescanDuration": "DAYS_14"|"DAYS_30"|"DAYS_60"|"DAYS_90"|"DAYS_180",
+      "pullDateRescanMode": "LAST_PULL_DATE"|"LAST_IN_USE_AT"
@@ -115 +125 @@ JSON Syntax:
-`--ecr-configuration` (structure)
+`--ec2-configuration` (structure)
@@ -117,9 +127 @@ JSON Syntax:
-> Specifies how the ECR automated re-scan will be updated for your environment.
-> 
-> pullDateRescanDuration -> (string)
->
->> The rescan duration configured for image pull date.
-> 
-> pullDateRescanMode -> (string)
->
->> The pull date for the re-scan mode.
+> Specifies how the Amazon EC2 automated scan will be updated for your environment.
@@ -127 +129 @@ JSON Syntax:
-> rescanDuration -> (string)
+> scanMode -> (string)
@@ -129 +131 @@ JSON Syntax:
->> The rescan duration configured for image push date.
+>> The scan method that is applied to the instance.
@@ -134 +136 @@ Shorthand Syntax:
-    pullDateRescanDuration=string,pullDateRescanMode=string,rescanDuration=string
+    scanMode=string
@@ -141,3 +143 @@ JSON Syntax:
-      "pullDateRescanDuration": "DAYS_14"|"DAYS_30"|"DAYS_60"|"DAYS_90"|"DAYS_180",
-      "pullDateRescanMode": "LAST_PULL_DATE"|"LAST_IN_USE_AT",
-      "rescanDuration": "LIFETIME"|"DAYS_30"|"DAYS_180"|"DAYS_14"|"DAYS_60"|"DAYS_90"
+      "scanMode": "EC2_SSM_AGENT_BASED"|"EC2_HYBRID"
@@ -258 +258 @@ None
-  * [AWS CLI 2.27.63 Command Reference](../../index.html) »
+  * [AWS CLI 2.28.0 Command Reference](../../index.html) »