AWS singlesignon: Identity Store User API: add Revision/UserArn fields, widen ID patterns
Summary
Updates the User data type reference: widens UserId length to 93 and allows ARN-prefixed identity store IDs, adds a new Revision field (opaque token for conditional UpdateUser/DeleteUser) and a UserArn field, and widens DisplayName/ExternalId patterns to accept ARN forms.
Security assessment
The Revision field introduces optimistic-concurrency control for UpdateUser/DeleteUser, which mitigates lost-update/race-condition tampering, but this is an API schema/reference change rather than a fix for a specific vulnerability. No CVE or incident is referenced.
Evidence
The current revision of the user in the identity store. This value changes each time the user is modified. You can provide it as the `Revision` parameter of an `UpdateUser` or `DeleteUser` request to make the operation conditional on the user not having changed. Treat this value as an opaque token: don't parse it or rely on its format or ordering.
Diff
diff --git a/singlesignon/latest/IdentityStoreAPIReference/API_User.md b/singlesignon/latest/IdentityStoreAPIReference/API_User.md index 6215f01..6500158 100644 --- a//singlesignon/latest/IdentityStoreAPIReference/API_User.md +++ b//singlesignon/latest/IdentityStoreAPIReference/API_User.md @@ -22 +22 @@ Type: String -Length Constraints: Minimum length of 1. Maximum length of 36. +Length Constraints: Minimum length of 1. Maximum length of 93. @@ -24 +24,27 @@ Length Constraints: Minimum length of 1. Maximum length of 36. -Pattern: `d-[0-9a-f]{10}$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}` +Pattern: `(arn:aws[a-z-]*:identitystore::\d{12}:identitystore/)?(d-[0-9a-f]{10}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})` + +Required: Yes + +**Revision** + + +The current revision of the user in the identity store. This value changes each time the user is modified. You can provide it as the `Revision` parameter of an `UpdateUser` or `DeleteUser` request to make the operation conditional on the user not having changed. Treat this value as an opaque token: don't parse it or rely on its format or ordering. + +Type: String + +Length Constraints: Minimum length of 1. Maximum length of 64. + +Pattern: `[0-9]+` + +Required: Yes + +**UserArn** + + +The Amazon Resource Name (ARN) of the user in the identity store. For example, `arn:aws:identitystore:::user/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. + +Type: String + +Length Constraints: Minimum length of 60. Maximum length of 100. + +Pattern: `arn:aws[a-z-]*:identitystore:::(user|group|membership)/([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}` @@ -35 +61 @@ Type: String -Length Constraints: Minimum length of 1. Maximum length of 47. +Length Constraints: Minimum length of 1. Maximum length of 100. @@ -37 +63 @@ Length Constraints: Minimum length of 1. Maximum length of 47. -Pattern: `([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}` +Pattern: `(arn:aws[a-z-]*:identitystore:::(user|group|membership)/)?([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}`