mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 23:29:28 -05:00
Move `identitystore` from NOT_COVERED to NAMESPACES in regen_iam_request_resources.py, so Identity Store requests are checked on the resources they name instead of `*`: the identity store its IdentityStoreId names, and the group, user or membership its id names, whose ARNs have no Region and no account; the list calls also on every group, user or membership, as the Service Reference gives them. A type an action requires that its request does not name is now read too. Which types an action requires is what the Service Authorization Reference marks with an asterisk, which neither botocore nor the Service Reference says, so fetch_required_resource_types.py vendors that page's actions table as it stands into tools/aws/sources/required-resource-types.json, granted for Identity Store alone. Two generic readings use it: a required type the record of the resource the request names holds is read through that resource's id (DescribeGroupMembership and DeleteGroupMembership, the membership's group and user), and a required type whose id a lookup returns is found by the members its request gives, each way it may give them apart (GetGroupMembershipId, GetGroupId, GetUserId). The reader lets a find name a field of a structure at any depth and gives the service the members' paths with their values, and Identity Store answers both as its handlers find them. No other namespace's rows change.