AWS cli documentation change
Summary
Updated CLI version reference, reordered parameters, adjusted validation patterns for hypervisor name/host/username, modified KMS key ARN pattern validation, added cli-error-format option, updated tag value constraints
Security assessment
Changes include parameter reordering, pattern validation adjustments (removed regex anchors ^/$), and added CLI error formatting option. While KMS key references exist, there's no evidence these changes address a specific security vulnerability. Pattern relaxations (e.g. username allowing more characters) could impact input validation but without explicit security context.
Diff
diff --git a/cli/latest/reference/backup-gateway/import-hypervisor-configuration.md b/cli/latest/reference/backup-gateway/import-hypervisor-configuration.md index 18ad24f50..2cc97c53c 100644 --- a//cli/latest/reference/backup-gateway/import-hypervisor-configuration.md +++ b//cli/latest/reference/backup-gateway/import-hypervisor-configuration.md @@ -15 +15 @@ - * [AWS CLI 2.33.29 Command Reference](../../index.html) » + * [AWS CLI 2.34.0 Command Reference](../../index.html) » @@ -67,2 +66,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup - --host <value> - [--kms-key-arn <value>] @@ -69,0 +68,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup + --host <value> + [--username <value>] @@ -70,0 +71 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup + [--kms-key-arn <value>] @@ -72 +72,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup - [--username <value>] @@ -92,0 +93 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup + [--cli-error-format <value>] @@ -97 +98 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -`--host` (string) [required] +`--name` (string) [required] @@ -99 +100 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN). +> The name of the hypervisor. @@ -103,3 +104,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> * min: `3` -> * max: `128` -> * pattern: `^.+$` +> * min: `1` +> * max: `100` +> * pattern: `[a-zA-Z0-9-]*` @@ -109 +110 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -`--kms-key-arn` (string) +`--host` (string) [required] @@ -111 +112 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> The Key Management Service for the hypervisor. +> The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN). @@ -115,3 +116,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> * min: `50` -> * max: `500` -> * pattern: `^(^arn:(aws|aws-cn|aws-us-gov):kms:([a-zA-Z0-9-]+):([0-9]+):(key|alias)/(\S+)$)|(^alias/(\S+)$)$` +> * min: `3` +> * max: `128` +> * pattern: `.+` @@ -121 +122 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -`--name` (string) [required] +`--username` (string) @@ -123 +124 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> The name of the hypervisor. +> The username for the hypervisor. @@ -129 +130 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> * pattern: `^[a-zA-Z0-9-]*$` +> * pattern: `[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*` @@ -141 +142,13 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup -> * pattern: `^[ -~]+$` +> * pattern: `[ -~]+` +> + + +`--kms-key-arn` (string) + +> The Key Management Service for the hypervisor. +> +> Constraints: +> +> * min: `50` +> * max: `500` +> * pattern: `(^arn:(aws|aws-cn|aws-us-gov):kms:([a-zA-Z0-9-]+):([0-9]+):(key|alias)/(\S+)$)|(^alias/(\S+)$)` @@ -151 +164 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup ->> A key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /. +>> A key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, and the following characters: + - = . _ : /. Spaces are not allowed in tag values. @@ -161 +174 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup ->>> * pattern: `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$` +>>> * pattern: `([\p{L}\p{Z}\p{N}_.:/=+\-@]*)` @@ -173 +186 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/backup ->>> * pattern: `^[^\x00]*$` +>>> * pattern: `[^\x00]*` @@ -195,12 +207,0 @@ JSON Syntax: -`--username` (string) - -> The username for the hypervisor. -> -> Constraints: -> -> * min: `1` -> * max: `100` -> * pattern: `^[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*$` -> - - @@ -237,0 +239 @@ The formatting style for command output. + * off @@ -303,0 +306,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 + + + @@ -314 +329 @@ HypervisorArn -> (string) -> * pattern: `^arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}\/[a-zA-Z-0-9]+$` +> * pattern: `arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}\/[a-zA-Z-0-9]+` @@ -328 +343 @@ HypervisorArn -> (string) - * [AWS CLI 2.33.29 Command Reference](../../index.html) » + * [AWS CLI 2.34.0 Command Reference](../../index.html) »