Support the Role Membership endpoint. Default behavior should use the recursive membership method (?all), but also support direct membership only queries (?memberships).
Implemented Changes
Added the following URL template and relevant API methods to return a JSON list of role memberships:
ROLES_MEMBERSHIPS = "{url}/roles/{account}/{kind}/{identifier}?{membership}"
Looks good. I just want to wait until you have a draft PR in the CLI so I can see the integration tests and verify the output is the same as in the Ruby API.
Desired Outcome
Support the Role Membership endpoint. Default behavior should use the recursive membership method (?all), but also support direct membership only queries (?memberships).
Implemented Changes
Added the following URL template and relevant API methods to return a JSON list of role memberships: ROLES_MEMBERSHIPS = "{url}/roles/{account}/{kind}/{identifier}?{membership}"
Connected Issue/Story
CyberArk internal issue link: ONYX-24035
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be merged.
Changelog
Test coverage
Documentation
README
s) were updated in this PRBehavior
Security