AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-12-10 · Documentation low

File: cli/latest/reference/rolesanywhere/get-subject.md

Summary

Updated AWS CLI version reference, modified subjectId pattern constraint, restructured subject field documentation with added fields (subjectArn, subjectId, enabled, x509Subject, lastSeenAt, updatedAt) and reorganized existing fields.

Security assessment

The pattern change from strict UUID validation (`[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}`) to a more permissive pattern (`.*[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}.*`) could indicate relaxed input validation, but there's no explicit security context provided. The added documentation for security-related fields like 'enabled' (credential status), 'lastSeenAt' (audit trail), and 'x509Subject' (certificate authentication) improves transparency about security features without addressing a specific vulnerability.

Diff

diff --git a/cli/latest/reference/rolesanywhere/get-subject.md b/cli/latest/reference/rolesanywhere/get-subject.md
index e88210780..67c80fd48 100644
--- a//cli/latest/reference/rolesanywhere/get-subject.md
+++ b//cli/latest/reference/rolesanywhere/get-subject.md
@@ -15 +15 @@
-  * [AWS CLI 2.32.11 Command Reference](../../index.html) »
+  * [AWS CLI 2.32.13 Command Reference](../../index.html) »
@@ -102 +102 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/rolesa
->   * pattern: `[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}`
+>   * pattern: `.*[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}.*`
@@ -208,0 +209,28 @@ subject -> (structure)
+> subjectArn -> (string)
+>
+>> The ARN of the resource.
+> 
+> subjectId -> (string)
+>
+>> The id of the resource
+>> 
+>> Constraints:
+>> 
+>>   * min: `36`
+>>   * max: `36`
+>>   * pattern: `.*[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}.*`
+>> 
+
+> 
+> enabled -> (boolean)
+>
+>> The enabled status of the subject.
+> 
+> x509Subject -> (string)
+>
+>> The x509 principal identifier of the authenticating certificate.
+> 
+> lastSeenAt -> (timestamp)
+>
+>> The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
+> 
@@ -212,0 +241,4 @@ subject -> (structure)
+> updatedAt -> (timestamp)
+>
+>> The ISO-8601 timestamp when the subject was last updated.
+> 
@@ -221 +253 @@ subject -> (structure)
->>> enabled -> (boolean)
+>>> seenAt -> (timestamp)
@@ -223 +255 @@ subject -> (structure)
->>>> Indicates whether the credential is enabled.
+>>>> The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
@@ -225 +257 @@ subject -> (structure)
->>> failed -> (boolean)
+>>> serialNumber -> (string)
@@ -227 +259 @@ subject -> (structure)
->>>> Indicates whether the temporary credential request was successful.
+>>>> The serial number of the certificate.
@@ -233,5 +265 @@ subject -> (structure)
->>> seenAt -> (timestamp)
->>>
->>>> The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
->>> 
->>> serialNumber -> (string)
+>>> enabled -> (boolean)
@@ -239 +267 @@ subject -> (structure)
->>>> The serial number of the certificate.
+>>>> Indicates whether the credential is enabled.
@@ -244,4 +272,4 @@ subject -> (structure)
-> 
-> enabled -> (boolean)
->
->> The enabled status of the subject.
+>>> 
+>>> failed -> (boolean)
+>>>
+>>>> Indicates whether the temporary credential request was successful.
@@ -257 +285 @@ subject -> (structure)
->>> failed -> (boolean)
+>>> seenAt -> (timestamp)
@@ -259 +287 @@ subject -> (structure)
->>>> Indicates whether the temporary credential request was successful.
+>>>> The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
@@ -290 +318 @@ subject -> (structure)
->>> seenAt -> (timestamp)
+>>> failed -> (boolean)
@@ -292,29 +320 @@ subject -> (structure)
->>>> The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
-> 
-> lastSeenAt -> (timestamp)
->
->> The ISO-8601 timestamp of the last time this subject requested temporary session credentials.
-> 
-> subjectArn -> (string)
->
->> The ARN of the resource.
-> 
-> subjectId -> (string)
->
->> The id of the resource
->> 
->> Constraints:
->> 
->>   * min: `36`
->>   * max: `36`
->>   * pattern: `[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}`
->> 
-
-> 
-> updatedAt -> (timestamp)
->
->> The ISO-8601 timestamp when the subject was last updated.
-> 
-> x509Subject -> (string)
->
->> The x509 principal identifier of the authenticating certificate.
+>>>> Indicates whether the temporary credential request was successful.
@@ -332 +332 @@ subject -> (structure)
-  * [AWS CLI 2.32.11 Command Reference](../../index.html) »
+  * [AWS CLI 2.32.13 Command Reference](../../index.html) »