AWS cli high security documentation change
Summary
Updated AWS CLI version, corrected parameter order between username/password, modified ARN and password regex patterns, added --cli-error-format option
Security assessment
Swap of username/password parameter documentation could lead to credential mishandling. Password regex changed from ^[ -~]+$ to [ -~]+ (removing anchors), potentially weakening input validation. ARN regex pattern anchors removed, affecting validity checks.
Diff
diff --git a/cli/latest/reference/backup-gateway/test-hypervisor-configuration.md b/cli/latest/reference/backup-gateway/test-hypervisor-configuration.md index 616da5021..b537327ee 100644 --- a//cli/latest/reference/backup-gateway/test-hypervisor-configuration.md +++ b//cli/latest/reference/backup-gateway/test-hypervisor-configuration.md @@ -15 +15 @@ - * [AWS CLI 2.33.29 Command Reference](../../index.html) » + * [AWS CLI 2.34.0 Command Reference](../../index.html) » @@ -69 +68,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup - [--password <value>] @@ -70,0 +70 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup + [--password <value>] @@ -90,0 +91 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup + [--cli-error-format <value>] @@ -102,2 +103,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> * max: `500` -> * pattern: `^arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}\/[a-zA-Z-0-9]+$` +> * max: `180` +> * pattern: `arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}\/[a-zA-Z-0-9]+` @@ -115 +116 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> * pattern: `^.+$` +> * pattern: `.+` @@ -119 +120 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -`--password` (string) +`--username` (string) @@ -121 +122 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> The password for the hypervisor. +> The username for the hypervisor. @@ -127 +128 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> * pattern: `^[ -~]+$` +> * pattern: `[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*` @@ -131 +132 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -`--username` (string) +`--password` (string) @@ -133 +134 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> The username for the hypervisor. +> The password for the hypervisor. @@ -139 +140 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> * pattern: `^[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*$` +> * pattern: `[ -~]+` @@ -173,0 +175 @@ The formatting style for command output. + * off @@ -239,0 +242,13 @@ Disable automatically prompt for CLI input parameters. +`--cli-error-format` (string) + +The formatting style for error output. By default, errors are displayed in enhanced format. + + * legacy + * json + * yaml + * text + * table + * enhanced + + + @@ -254 +269 @@ None - * [AWS CLI 2.33.29 Command Reference](../../index.html) » + * [AWS CLI 2.34.0 Command Reference](../../index.html) »