-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLDSRV-616 [hf-7.70.51] Fix bucket policy check for anonymous requests #5750
Conversation
When checking bucket policies and the following conditions are true: - The request is anonymous (`--no-sign-request`) - There is a bucket policy with AWS principal Then `_getAccountId` is called in arn === undefined and causes an exception to be thrown. The reason is that vault return the following authInfo with anonymous requests: { arn: undefined, canonicalID: 'http://acs.amazonaws.com/groups/global/AllUsers', shortid: undefined, email: undefined, accountDisplayName: undefined, IAMdisplayName: undefined } The fix is to check is to check is arn === undefined and fail the check if the policy principal is not '*' (cherry picked from commit d57e3a9)
Hello dvasilas,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Incorrect fix versionThe
Considering where you are trying to merge, I expected to find at least:
Please check the |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
/approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-616. Goodbye dvasilas. The following options are set: approve |
Cherry-pick from #5748