AWS singlesignon: GroupMembership: add ARN fields and fix UserId casing
Summary
Adds MembershipArn and MembershipId fields, updates IdentityStoreId/MemberId length and pattern constraints to accept ARNs, and corrects the UserID field reference to UserId.
Security assessment
Documentation update adding ARN identifiers and a new MembershipId field for the GroupMembership object, plus a naming correction. No specific vulnerability, credential, or authorization issue is described or fixed.
Evidence
+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}`
Diff
diff --git a/singlesignon/latest/IdentityStoreAPIReference/API_GroupMembership.md b/singlesignon/latest/IdentityStoreAPIReference/API_GroupMembership.md index 3b9098d..b86d238 100644 --- a//singlesignon/latest/IdentityStoreAPIReference/API_GroupMembership.md +++ b//singlesignon/latest/IdentityStoreAPIReference/API_GroupMembership.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 + +**MembershipArn** + + +The Amazon Resource Name (ARN) of the group membership in the identity store. For example, `arn:aws:identitystore:::membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333`. + +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}` + +Required: Yes + +**MembershipId** + + +The identifier for a `GroupMembership` object in an identity store. + +Type: String + +Length Constraints: Minimum length of 1. 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}` @@ -53 +79 @@ Type: String -Length Constraints: Minimum length of 1. Maximum length of 47. +Length Constraints: Minimum length of 1. Maximum length of 100. @@ -55 +81 @@ 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}` @@ -62 +88 @@ Required: No -An object that contains the identifier of a group member. Setting the `UserID` field to the specific identifier for a user indicates that the user is a member of the group. +An object that contains the identifier of a group member. Setting the `UserId` field to the specific identifier for a user indicates that the user is a member of the group. @@ -70,13 +95,0 @@ Required: No -**MembershipId** - - -The identifier for a `GroupMembership` object in an identity store. - -Type: String - -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}` - -Required: No -