AWS Security ChangesHomeSearch

AWS cli documentation change

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

File: cli/latest/reference/inspector2/update-encryption-key.md

Summary

Updated CLI version reference and swapped resource-type/scan-type parameters with updated value enumerations

Security assessment

Changes correct documentation for encryption key configuration parameters related to security scanning types. While encryption is security-related, the modifications appear to be documentation improvements rather than responses to specific vulnerabilities.

Diff

diff --git a/cli/latest/reference/inspector2/update-encryption-key.md b/cli/latest/reference/inspector2/update-encryption-key.md
index 8cadb5d6f..2590cc218 100644
--- a//cli/latest/reference/inspector2/update-encryption-key.md
+++ b//cli/latest/reference/inspector2/update-encryption-key.md
@@ -15 +15 @@
-  * [AWS CLI 2.27.63 Command Reference](../../index.html) »
+  * [AWS CLI 2.28.0 Command Reference](../../index.html) »
@@ -68 +67,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-    --resource-type <value>
@@ -69,0 +69 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
+    --resource-type <value>
@@ -98 +98 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-`--resource-type` (string)
+`--scan-type` (string)
@@ -100 +100 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-> The resource type for the encryption key.
+> The scan type for the encryption key.
@@ -104,5 +104,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
->   * `AWS_EC2_INSTANCE`
->   * `AWS_ECR_CONTAINER_IMAGE`
->   * `AWS_ECR_REPOSITORY`
->   * `AWS_LAMBDA_FUNCTION`
->   * `CODE_REPOSITORY`
+>   * `NETWORK`
+>   * `PACKAGE`
+>   * `CODE`
@@ -112 +110 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-`--scan-type` (string)
+`--resource-type` (string)
@@ -114 +112 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
-> The scan type for the encryption key.
+> The resource type for the encryption key.
@@ -118,3 +116,5 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec
->   * `NETWORK`
->   * `PACKAGE`
->   * `CODE`
+>   * `AWS_EC2_INSTANCE`
+>   * `AWS_ECR_CONTAINER_IMAGE`
+>   * `AWS_ECR_REPOSITORY`
+>   * `AWS_LAMBDA_FUNCTION`
+>   * `CODE_REPOSITORY`
@@ -235 +235 @@ None
-  * [AWS CLI 2.27.63 Command Reference](../../index.html) »
+  * [AWS CLI 2.28.0 Command Reference](../../index.html) »