-
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
Bugfix/cldsrv 505 ip handling fix #5534
Conversation
Hello kaztoozs,My role is to assist you with the merge of this Status report is not available. |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command:
Alternatively, the |
IpAddress: { | ||
'aws:SourceIp': [ | ||
'10.0.11.0/24', | ||
'10.0.1.0/24', | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a test that checks we properly authorize an ip given a range in the policy? (and on the other hand, deny if it doesn't match the range). As this condition specifically might be used a lot in production, I would feel more confident). It can be done in the Integration test suite.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes yes can add a test to Integration
if (validateIpRegex(value) === true) { | ||
return null; | ||
if (validateIpRegex(values[i]) !== true) { | ||
return errString; // Return immediately if an invalid IP is found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say this specific comment is not mandatory as it says what the code does
820c8a7
to
aa646ce
Compare
/help |
Help pageThe following options and commands are available at this time. Options
Commands
|
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command:
Alternatively, the |
/create_pull_requests |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/7.70/bugfix/CLDSRV-505-ip-handling-fix origin/development/7.70
$ git merge origin/bugfix/CLDSRV-505-ip-handling-fix
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/7.70/bugfix/CLDSRV-505-ip-handling-fix The following options are set: create_pull_requests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/8.6/bugfix/CLDSRV-505-ip-handling-fix origin/development/8.6
$ git merge origin/w/7.70/bugfix/CLDSRV-505-ip-handling-fix
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/8.6/bugfix/CLDSRV-505-ip-handling-fix The following options are set: create_pull_requests |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/8.7/bugfix/CLDSRV-505-ip-handling-fix origin/development/8.7
$ git merge origin/w/8.6/bugfix/CLDSRV-505-ip-handling-fix
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/8.7/bugfix/CLDSRV-505-ip-handling-fix The following options are set: create_pull_requests |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/8.8/bugfix/CLDSRV-505-ip-handling-fix origin/development/8.8
$ git merge origin/w/8.7/bugfix/CLDSRV-505-ip-handling-fix
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/8.8/bugfix/CLDSRV-505-ip-handling-fix The following options are set: create_pull_requests |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
Follow integration pull requests if you would like to be notified of The following options are set: create_pull_requests |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
The following options are set: create_pull_requests |
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve, create_pull_requests |
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-505. Goodbye kaztoozs. |
Pull request template
Description
Motivation and context
Why is this change required? What problem does it solve?
Related issues
Please use the following link syntaxes #600 to reference issues in the
current repository
Checklist
Add tests to cover the changes
New tests added or existing tests modified to cover all changes
Code conforms with the style guide
Sign your work
In order to contribute to the project, you must sign your work
https://github.com/scality/Guidelines/blob/master/CONTRIBUTING.md#sign-your-work
Thank you again for contributing! We will try to test and integrate the change
as soon as we can.