-
Notifications
You must be signed in to change notification settings - Fork 938
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
Support to audit the authentication http request #3951
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34028bf
to
49bec8b
Compare
Codecov Report
@@ Coverage Diff @@
## master #3951 +/- ##
=========================================
Coverage 51.88% 51.89%
Complexity 13 13
=========================================
Files 521 522 +1
Lines 28834 28857 +23
Branches 3862 3862
=========================================
+ Hits 14961 14974 +13
- Misses 12500 12509 +9
- Partials 1373 1374 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
pan3793
approved these changes
Dec 9, 2022
thanks, merged to master |
turboFei
added a commit
that referenced
this pull request
Feb 21, 2023
### _Why are the changes needed?_ Before: ``` user=anonymous(auth:BASIC) ip=127.0.0.1 proxyIp=null method=GET uri=/api/v1/operations/5e286c5d-2880-443f-a4e8-633964dcd699/rowset protocol=HTTP/1.1 status=200 ``` After: ``` user=anonymous(auth:BASIC) ip=127.0.0.1 proxyIp=null method=GET uri=/api/v1/operations/5e286c5d-2880-443f-a4e8-633964dcd699/rowset params=maxrows=2&fetchorientation=FETCH_NEXT protocol=HTTP/1.1 status=200 ``` ``` params=maxrows=2&fetchorientation=FETCH_NEXT ``` ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4389 from turboFei/rest_params. Closes #3951 6ffc1ad [fwang12] comments 61e12b1 [fwang12] nit 0632860 [fwang12] Audit the request params Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: fwang12 <fwang12@ebay.com>
turboFei
added a commit
that referenced
this pull request
Feb 21, 2023
### _Why are the changes needed?_ Before: ``` user=anonymous(auth:BASIC) ip=127.0.0.1 proxyIp=null method=GET uri=/api/v1/operations/5e286c5d-2880-443f-a4e8-633964dcd699/rowset protocol=HTTP/1.1 status=200 ``` After: ``` user=anonymous(auth:BASIC) ip=127.0.0.1 proxyIp=null method=GET uri=/api/v1/operations/5e286c5d-2880-443f-a4e8-633964dcd699/rowset params=maxrows=2&fetchorientation=FETCH_NEXT protocol=HTTP/1.1 status=200 ``` ``` params=maxrows=2&fetchorientation=FETCH_NEXT ``` ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4389 from turboFei/rest_params. Closes #3951 6ffc1ad [fwang12] comments 61e12b1 [fwang12] nit 0632860 [fwang12] Audit the request params Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: fwang12 <fwang12@ebay.com> (cherry picked from commit d288a2b) Signed-off-by: fwang12 <fwang12@ebay.com>
SusurHe
pushed a commit
to SusurHe/incubator-kyuubi
that referenced
this pull request
Feb 21, 2023
* 'master' of github.com:apache/kyuubi: (1557 commits) [KYUUBI apache#3951][FOLLOWUP] Audit the rest request params [KYUUBI apache#4377] Grant execute permission to release scripts [KYUUBI apache#4374] Release uploading should include kyuubi-spark-connector-hive [KYUUBI apache#4267] Show warning if SessionHandle is invalid [KYUUBI apache#4385] [DOCS] Refine release process [KYUUBI apache#4352] Support System.gc() with periodic GC interval [KYUUBI apache#4152][FOLLOWUP] LDAP configurations should be server-only [KYUUBI apache#4373] Using SVN_STAGING_REPO instead of SVN_STAGING_REPO in the release script to fix echo message [KYUUBI apache#4372] Support to return null value for OperationsResource rowset [KYUUBI apache#4371] Fix typo in `kyuubi_ecosystem.drawio` [KYUUBI apache#4216] Support to transfer client version for kyuubi hive jdbc and rest client sdk [KYUUBI apache#4345] Add the doc of kyuubi trino server [KYUUBI apache#3081][DOCS] Add Hudi connector doc in Trino [KYUUBI apache#4357] Bump Jersey from 2.38 to 2.39 [KYUUBI apache#4338][FOLLOWUP] Fix K8s integration tests [KYUUBI apache#4326] [ARROW] Fix Spark session timezone format in arrow-based result format [KYUUBI apache#4360][FOLLOWUP] Get valid unlimited users from existing limiters instead of conf [KYUUBI apache#4362] Add `_configurations` in kerberos.rst [KYUUBI apache#4338] Bump Spark from 3.3.1 to 3.3.2 [KYUUBI apache#4119][FOLLOWUP] Add app start time for batch api docs ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are the changes needed?
Support to audit the http request.
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate