OCM-23909 | fix: Remove unused sts:AssumeRole and sts:AssumeRoleWithW…#2730
Conversation
|
Skipping CI for Draft Pull Request. |
WalkthroughAcross versioned STS OCM permission policy files (4.10–4.22), the Action arrays in the single Allow statements had ChangesSTS OCM Permission Policy Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…ebIdentity from OCM Role permission policy
38c4414 to
7606029
Compare
|
/lgtm |
|
/approved |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: joshbranham, robpblake, typeid The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@robpblake: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
…ebIdentity from OCM Role permission policy
What type of PR is this?
Cleanup of unused permissions
What this PR does / why we need it?
A review of the
OCM Rolepermissions was conducted and it was determined that thests:AssumeRoleandsts:AssumeRoleWithWebIdentityare not required for theOCM Role. To ensure customers are working with least privilege requirements, this removes thests:AssumeRoleandsts:AssumeRoleWithWebIdentitypermissions from theOCM Role.I have tested that the permission policy definition remains valid with the removals:
The ROSA E2E have been updated to use an
OCM Rolewith this reduced permission set, as have the E2E for console.redhat.comWhich Jira/Github issue(s) this PR fixes?
https://redhat.atlassian.net/browse/OCM-23907
Special notes for your reviewer:
Pre-checks (if applicable):
Tested latest changes against a cluster
Included documentation changes with PR
If this is a new object that is not intended for the FedRAMP environment (if unsure, please reach out to team FedRAMP), please exclude it with:
Summary by CodeRabbit