AWS cli: AppStream update-stack: URL redirect validation & WebAuthn param
Summary
Adds the new --web-authn-redirection option (Enabled boolean + ProcessCompatibilityList) with full structure documentation, and rewrites the URL redirection glob-pattern validation rules: patterns must now begin with a supported scheme (http://, https://, ftp://, sftp://, mailto:) and may not contain whitespace, commas, semicolons, or angle brackets (max 2048 chars). Also bumps the CLI version reference from 2.41.1 to 2.42.1.
Security assessment
The redirection-URL pattern validation is tightened to require a scheme prefix and to forbid whitespace, commas, semicolons and angle brackets (max 2048 chars), a classic input-validation hardening for URL-redirection parameters that could otherwise be abused for injection/open-redirect style attacks. The same change also adds WebAuthn (FIDO2 passwordless) redirection configuration, a security/authentication feature being documented.
Evidence
>>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. The pattern must begin with a supported scheme prefix — <http://>, <https://>, <ftp://>, sftp://, or mailto: — and cannot contain whitespace, commas, semicolons, or angle brackets; maximum length 2048 characters.
Diff
diff --git a/cli/latest/reference/appstream/update-stack.md b/cli/latest/reference/appstream/update-stack.md index fb446ec..4e1fe8f 100644 --- a//cli/latest/reference/appstream/update-stack.md +++ b//cli/latest/reference/appstream/update-stack.md @@ -15 +15 @@ - * [AWS CLI 2.41.1 Command Reference](../../index.html) » + * [AWS CLI 2.42.1 Command Reference](../../index.html) » @@ -80,0 +81 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/appstr + [--web-authn-redirection <value>] @@ -278,0 +280 @@ JSON Syntax: +>> * WEB_AUTHN_REDIRECTION @@ -296,0 +299 @@ JSON Syntax: +>> * `WEB_AUTHN_REDIRECTION` @@ -589 +592 @@ JSON Syntax: ->>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. Patterns do not include a protocol prefix; HTTPS is enforced automatically. Valid examples: _, *.example.com, github.com/myorg/_ , api?.example.com Invalid examples: <https://example.com> (no protocol), empty string +>>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. The pattern must begin with a supported scheme prefix — <http://>, <https://>, <ftp://>, sftp://, or mailto: — and cannot contain whitespace, commas, semicolons, or angle brackets; maximum length 2048 characters. Valid examples: https://_.example.com, , sftp://files.example.com/_ , mailto:*@example.com. Invalid examples: *.example.com (no scheme), <https://exam> ple.com (contains whitespace), empty string. @@ -612 +615 @@ JSON Syntax: ->>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. Patterns do not include a protocol prefix; HTTPS is enforced automatically. Valid examples: _, *.example.com, github.com/myorg/_ , api?.example.com Invalid examples: <https://example.com> (no protocol), empty string +>>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. The pattern must begin with a supported scheme prefix — <http://>, <https://>, <ftp://>, sftp://, or mailto: — and cannot contain whitespace, commas, semicolons, or angle brackets; maximum length 2048 characters. Valid examples: https://_.example.com, , sftp://files.example.com/_ , mailto:*@example.com. Invalid examples: *.example.com (no scheme), <https://exam> ple.com (contains whitespace), empty string. @@ -639,0 +643,46 @@ JSON Syntax: +`--web-authn-redirection` (structure) + +> Configuration for WebAuthn redirection between the streaming session and the user’s local device. Use ProcessCompatibilityList to specify which processes can use WebAuthn redirection on Windows fleets. To remove WebAuthn redirection, use AttributesToDelete with the WEB_AUTHN_REDIRECTION value. +> +> Enabled -> (boolean) [required] +> +>> Specifies whether WebAuthn redirection is enabled for the stack. +> +> ProcessCompatibilityList -> (list) +> +>> The list of process executable names for which you enable WebAuthn redirection. For example, chrome.exe. +>> +>> Constraints: +>> +>> * min: `1` +>> * max: `100` +>> + +>> +>> (string) +>> +>>> The file name of a process executable on the remote host for which you want to redirect WebAuthn requests. For example, chrome.exe. +>>> +>>> Constraints: +>>> +>>> * min: `1` +>>> * max: `260` +>>> * pattern: `^[\p{L}0-9_](?:[\p{L}0-9._ ()+-]*[\p{L}0-9._()+-])?(?<!\.[eE][xX][eE])\.[eE][xX][eE]$` +>>> + + +Shorthand Syntax: + + + Enabled=boolean,ProcessCompatibilityList=string,string + + +JSON Syntax: + + + { + "Enabled": true|false, + "ProcessCompatibilityList": ["string", ...] + } + + @@ -1285 +1334 @@ Stack -> (structure) ->>>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. Patterns do not include a protocol prefix; HTTPS is enforced automatically. Valid examples: _, *.example.com, github.com/myorg/_ , api?.example.com Invalid examples: <https://example.com> (no protocol), empty string +>>>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. The pattern must begin with a supported scheme prefix — <http://>, <https://>, <ftp://>, sftp://, or mailto: — and cannot contain whitespace, commas, semicolons, or angle brackets; maximum length 2048 characters. Valid examples: https://_.example.com, , sftp://files.example.com/_ , mailto:*@example.com. Invalid examples: *.example.com (no scheme), <https://exam> ple.com (contains whitespace), empty string. @@ -1308 +1357 @@ Stack -> (structure) ->>>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. Patterns do not include a protocol prefix; HTTPS is enforced automatically. Valid examples: _, *.example.com, github.com/myorg/_ , api?.example.com Invalid examples: <https://example.com> (no protocol), empty string +>>>>> A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. The pattern must begin with a supported scheme prefix — <http://>, <https://>, <ftp://>, sftp://, or mailto: — and cannot contain whitespace, commas, semicolons, or angle brackets; maximum length 2048 characters. Valid examples: https://_.example.com, , sftp://files.example.com/_ , mailto:*@example.com. Invalid examples: *.example.com (no scheme), <https://exam> ple.com (contains whitespace), empty string. @@ -1316,0 +1366,31 @@ Stack -> (structure) +> +> WebAuthnRedirection -> (structure) +> +>> Configuration for WebAuthn redirection between the streaming session and the user’s local device. Use ProcessCompatibilityList to specify which processes can use WebAuthn redirection on Windows fleets. +>> +>> Enabled -> (boolean) [required] +>> +>>> Specifies whether WebAuthn redirection is enabled for the stack. +>> +>> ProcessCompatibilityList -> (list) +>> +>>> The list of process executable names for which you enable WebAuthn redirection. For example, chrome.exe. +>>> +>>> Constraints: +>>> +>>> * min: `1` +>>> * max: `100` +>>> + +>>> +>>> (string) +>>> +>>>> The file name of a process executable on the remote host for which you want to redirect WebAuthn requests. For example, chrome.exe. +>>>> +>>>> Constraints: +>>>> +>>>> * min: `1` +>>>> * max: `260` +>>>> * pattern: `^[\p{L}0-9_](?:[\p{L}0-9._ ()+-]*[\p{L}0-9._()+-])?(?<!\.[eE][xX][eE])\.[eE][xX][eE]$` +>>>> + @@ -1441 +1521 @@ Stack -> (structure) - * [AWS CLI 2.41.1 Command Reference](../../index.html) » + * [AWS CLI 2.42.1 Command Reference](../../index.html) »