AWS Security ChangesHomeSearch

AWS cli low security documentation change

Service: cli · 2026-05-01 · Security-related low

File: cli/latest/reference/account/delete-alternate-contact.md

Summary

1. Updated AWS CLI version reference 2. Modified account ID pattern validation 3. Moved --alternate-contact-type parameter position

Security assessment

Account ID pattern validation was relaxed from '^\d{12}$' to '\d{12}', potentially allowing invalid account IDs. While no direct vulnerability is introduced, this weakens documentation specifications for a security-sensitive parameter.

Diff

diff --git a/cli/latest/reference/account/delete-alternate-contact.md b/cli/latest/reference/account/delete-alternate-contact.md
index a84b9a9c8..f9e66a5d0 100644
--- a//cli/latest/reference/account/delete-alternate-contact.md
+++ b//cli/latest/reference/account/delete-alternate-contact.md
@@ -15 +15 @@
-  * [AWS CLI 2.34.38 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.40 Command Reference](../../index.html) »
@@ -73 +72,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-    [--account-id <value>]
@@ -74,0 +74 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
+    [--account-id <value>]
@@ -99,0 +100,12 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
+`--alternate-contact-type` (string) [required]
+
+> Specifies which of the alternate contacts to delete.
+> 
+> Possible values:
+> 
+>   * `BILLING`
+>   * `OPERATIONS`
+>   * `SECURITY`
+> 
+
+
@@ -116,13 +128 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->   * pattern: `^\d{12}$`
-> 
-
-
-`--alternate-contact-type` (string) [required]
-
-> Specifies which of the alternate contacts to delete.
-> 
-> Possible values:
-> 
->   * `BILLING`
->   * `OPERATIONS`
->   * `SECURITY`
+>   * pattern: `\d{12}`
@@ -257 +257 @@ None
-  * [AWS CLI 2.34.38 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.40 Command Reference](../../index.html) »