-
Notifications
You must be signed in to change notification settings - Fork 266
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
Add early rejection from RestHandler for unauthorized requests #3418
Add early rejection from RestHandler for unauthorized requests #3418
Commits on Sep 27, 2023
-
[Draft] Resource usage case test
Execute with `./gradlew integrationTest --tests \ org.opensearch.security.ResourceFocusedTests -i` Test case output in build/reports/tests/integrationTest/classes/org.opensearch.security.ResourceFocusedTests.html is best for reviewing the memory utilization stats. Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 6286f7f - Browse repository at this point
Copy the full SHA 6286f7fView commit details -
Use DelegatingRestHandler to ensure that the original handler's imple…
…mentations are delegated to Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for ef660b1 - Browse repository at this point
Copy the full SHA ef660b1View commit details
Commits on Sep 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cf327b5 - Browse repository at this point
Copy the full SHA cf327b5View commit details
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a3bd919 - Browse repository at this point
Copy the full SHA a3bd919View commit details -
Move Conditional Decompressor to core
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for b1343e1 - Browse repository at this point
Copy the full SHA b1343e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab693c6 - Browse repository at this point
Copy the full SHA ab693c6View commit details -
Add request source from the netty channel
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 6abd939 - Browse repository at this point
Copy the full SHA 6abd939View commit details -
Plumb SecurityRequest into HTTPAuthenticator interface
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for da8d0cb - Browse repository at this point
Copy the full SHA da8d0cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c6b83 - Browse repository at this point
Copy the full SHA 26c6b83View commit details -
Remove DelegatingRestHandler changes for now
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 7f6b364 - Browse repository at this point
Copy the full SHA 7f6b364View commit details -
Prevent build break for generalized testing associated with SecurityR…
…equest Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a825d83 - Browse repository at this point
Copy the full SHA a825d83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 095d4e5 - Browse repository at this point
Copy the full SHA 095d4e5View commit details -
Disable createHeaderVerifier so builds can pass
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 6580e7f - Browse repository at this point
Copy the full SHA 6580e7fView commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 7466271 - Browse repository at this point
Copy the full SHA 7466271View commit details -
Implement SecurityRequest gaps
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 8c44278 - Browse repository at this point
Copy the full SHA 8c44278View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b5fe42 - Browse repository at this point
Copy the full SHA 9b5fe42View commit details
Commits on Oct 1, 2023
-
Redo how reRequestAuthentication works
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 9f369cb - Browse repository at this point
Copy the full SHA 9f369cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46358a2 - Browse repository at this point
Copy the full SHA 46358a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa98ba9 - Browse repository at this point
Copy the full SHA fa98ba9View commit details
Commits on Oct 2, 2023
-
Run CI with respective branch in core
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 98c53ad - Browse repository at this point
Copy the full SHA 98c53adView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9e5f4f - Browse repository at this point
Copy the full SHA d9e5f4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb33281 - Browse repository at this point
Copy the full SHA eb33281View commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 9844df9 - Browse repository at this point
Copy the full SHA 9844df9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee54fbb - Browse repository at this point
Copy the full SHA ee54fbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37a251b - Browse repository at this point
Copy the full SHA 37a251bView commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 3b2925b - Browse repository at this point
Copy the full SHA 3b2925bView commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for cafe1c7 - Browse repository at this point
Copy the full SHA cafe1c7View commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 0829c94 - Browse repository at this point
Copy the full SHA 0829c94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2768a54 - Browse repository at this point
Copy the full SHA 2768a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for b06242b - Browse repository at this point
Copy the full SHA b06242bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e46adaa - Browse repository at this point
Copy the full SHA e46adaaView commit details -
Skip decompression for WhoAmI and Health requests
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for e77adba - Browse repository at this point
Copy the full SHA e77adbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2beb434 - Browse repository at this point
Copy the full SHA 2beb434View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ef4c3f - Browse repository at this point
Copy the full SHA 2ef4c3fView commit details -
Merge remote-tracking branch 'origin/main' into headerverifier
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 4970a49 - Browse repository at this point
Copy the full SHA 4970a49View commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 87646d7 - Browse repository at this point
Copy the full SHA 87646d7View commit details
Commits on Oct 3, 2023
-
Signed-off-by: Craig Perkins <craig5008@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for aa5c0fc - Browse repository at this point
Copy the full SHA aa5c0fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 868ec9b - Browse repository at this point
Copy the full SHA 868ec9bView commit details -
Restore default build.gradle settings
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 547218b - Browse repository at this point
Copy the full SHA 547218bView commit details -
Fix bug in authn/z stages of handler wrapper
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for d44d277 - Browse repository at this point
Copy the full SHA d44d277View commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for b960aac - Browse repository at this point
Copy the full SHA b960aacView commit details -
Merge remote-tracking branch 'origin/main' into headerverifier
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 4d9506c - Browse repository at this point
Copy the full SHA 4d9506cView commit details -
Fix merge conflict related issues
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 3111665 - Browse repository at this point
Copy the full SHA 3111665View commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for c1ae22f - Browse repository at this point
Copy the full SHA c1ae22fView commit details -
Seperate read-only vs read-write scenarios
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 2aad250 - Browse repository at this point
Copy the full SHA 2aad250View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a915e7 - Browse repository at this point
Copy the full SHA 9a915e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e749a8e - Browse repository at this point
Copy the full SHA e749a8eView commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 20c9ea7 - Browse repository at this point
Copy the full SHA 20c9ea7View commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 22991e3 - Browse repository at this point
Copy the full SHA 22991e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f959ae - Browse repository at this point
Copy the full SHA 6f959aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for caf433a - Browse repository at this point
Copy the full SHA caf433aView commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 828ef2b - Browse repository at this point
Copy the full SHA 828ef2bView commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 641c195 - Browse repository at this point
Copy the full SHA 641c195View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74a925d - Browse repository at this point
Copy the full SHA 74a925dView commit details
Commits on Oct 4, 2023
-
Handle special case of api/authtoken
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for e5d4235 - Browse repository at this point
Copy the full SHA e5d4235View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5452a2 - Browse repository at this point
Copy the full SHA e5452a2View commit details -
Use AttributeKeys in SecurityRestFilter just in time
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for e001924 - Browse repository at this point
Copy the full SHA e001924View commit details -
Remove the Authenticatiion verifier
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 21e1030 - Browse repository at this point
Copy the full SHA 21e1030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09207c2 - Browse repository at this point
Copy the full SHA 09207c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 659088d - Browse repository at this point
Copy the full SHA 659088dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c019f02 - Browse repository at this point
Copy the full SHA c019f02View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e5155 - Browse repository at this point
Copy the full SHA e8e5155View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ffa147 - Browse repository at this point
Copy the full SHA 9ffa147View commit details -
Configuration menu - View commit details
-
Copy full SHA for 613acab - Browse repository at this point
Copy the full SHA 613acabView commit details -
Refactor to optional in progress
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 2125f9f - Browse repository at this point
Copy the full SHA 2125f9fView commit details -
Restore changes around passing unsent response
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for edbe2be - Browse repository at this point
Copy the full SHA edbe2beView commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 33aa863 - Browse repository at this point
Copy the full SHA 33aa863View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c5a97d - Browse repository at this point
Copy the full SHA 0c5a97dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f58523 - Browse repository at this point
Copy the full SHA 2f58523View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dc3033 - Browse repository at this point
Copy the full SHA 5dc3033View commit details -
Configuration menu - View commit details
-
Copy full SHA for e323823 - Browse repository at this point
Copy the full SHA e323823View commit details -
Configuration menu - View commit details
-
Copy full SHA for b77e678 - Browse repository at this point
Copy the full SHA b77e678View commit details
Commits on Oct 5, 2023
-
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 177ad11 - Browse repository at this point
Copy the full SHA 177ad11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1312d2c - Browse repository at this point
Copy the full SHA 1312d2cView commit details -
Fix TaskTests with X-Opaque-ID
Signed-off-by: Craig Perkins <craig5008@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 34d33ca - Browse repository at this point
Copy the full SHA 34d33caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28f620b - Browse repository at this point
Copy the full SHA 28f620bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c34cb - Browse repository at this point
Copy the full SHA 38c34cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a1e067 - Browse repository at this point
Copy the full SHA 6a1e067View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3409e81 - Browse repository at this point
Copy the full SHA 3409e81View commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 27f49d8 - Browse repository at this point
Copy the full SHA 27f49d8View commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 4d487fa - Browse repository at this point
Copy the full SHA 4d487faView commit details -
Merge branch 'improve-compressed-handling' of https://github.com/cwpe…
…rks/security into improve-compressed-handling
Configuration menu - View commit details
-
Copy full SHA for a9bf8b9 - Browse repository at this point
Copy the full SHA a9bf8b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b68dc8 - Browse repository at this point
Copy the full SHA 6b68dc8View commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 93ca9ab - Browse repository at this point
Copy the full SHA 93ca9abView commit details -
Get value from transport constructor
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for bd96a33 - Browse repository at this point
Copy the full SHA bd96a33View commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for be5d5e5 - Browse repository at this point
Copy the full SHA be5d5e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 000e9d5 - Browse repository at this point
Copy the full SHA 000e9d5View commit details -
Merge branch 'improve-compressed-handling-security-request' into impr…
…ove-compressed-handling
Configuration menu - View commit details
-
Copy full SHA for 8e78d66 - Browse repository at this point
Copy the full SHA 8e78d66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e45460 - Browse repository at this point
Copy the full SHA 2e45460View commit details
Commits on Oct 6, 2023
-
Merge remote-tracking branch 'origin/main' into HEAD
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 0906b4e - Browse repository at this point
Copy the full SHA 0906b4eView commit details -
Cleaning up more logic around attributes
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 8554082 - Browse repository at this point
Copy the full SHA 8554082View commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a013e04 - Browse repository at this point
Copy the full SHA a013e04View commit details -
Remove from SecurityRequestChannel
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 9bb86cb - Browse repository at this point
Copy the full SHA 9bb86cbView commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 0465436 - Browse repository at this point
Copy the full SHA 0465436View commit details -
Rollback changes that aren't required
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 062ee96 - Browse repository at this point
Copy the full SHA 062ee96View commit details -
Cleanup spotless and some other routdated eferences
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 71185b0 - Browse repository at this point
Copy the full SHA 71185b0View commit details -
Don't create new attribute for the http-channel
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a2d69b5 - Browse repository at this point
Copy the full SHA a2d69b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c058350 - Browse repository at this point
Copy the full SHA c058350View commit details -
Configuration menu - View commit details
-
Copy full SHA for 297fa0d - Browse repository at this point
Copy the full SHA 297fa0dView commit details -
Remove code that should not be commented out
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 23cfbb6 - Browse repository at this point
Copy the full SHA 23cfbb6View commit details -
Merge remote-tracking branch 'cwperks/improve-compressed-handling' in…
…to improve-compressed-handling Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 782d27f - Browse repository at this point
Copy the full SHA 782d27fView commit details -
Only set X-Opaque-Id if present
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 4abc12e - Browse repository at this point
Copy the full SHA 4abc12eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77a5182 - Browse repository at this point
Copy the full SHA 77a5182View commit details -
Switch peekFrom to use get instead of getAndSet
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 1773227 - Browse repository at this point
Copy the full SHA 1773227View commit details -
Clear attributes with early response
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 678fc0e - Browse repository at this point
Copy the full SHA 678fc0eView commit details -
Update skip logic and NettyRequest.path
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 2df5bd7 - Browse repository at this point
Copy the full SHA 2df5bd7View commit details -
Merge branch 'resource-tester' into improve-compressed-handling
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for e7df5d2 - Browse repository at this point
Copy the full SHA e7df5d2View commit details -
Catch IllegalArgumentException in request.path
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 146a114 - Browse repository at this point
Copy the full SHA 146a114View commit details -
Match RestRequest implementation of path
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for f0350f2 - Browse repository at this point
Copy the full SHA f0350f2View commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 6cdedbe - Browse repository at this point
Copy the full SHA 6cdedbeView commit details -
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for cce6722 - Browse repository at this point
Copy the full SHA cce6722View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d6d96d - Browse repository at this point
Copy the full SHA 1d6d96dView commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for b891098 - Browse repository at this point
Copy the full SHA b891098View commit details -
Merge commit 'cwperks/improve-compressed-handling' into improve-compr…
…essed-handling Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 52f7844 - Browse repository at this point
Copy the full SHA 52f7844View commit details -
Filter tests to only run integration test case
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for cae4149 - Browse repository at this point
Copy the full SHA cae4149View commit details -
Configuration menu - View commit details
-
Copy full SHA for 799d648 - Browse repository at this point
Copy the full SHA 799d648View commit details -
Make sure resource tests can fail
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 033d59f - Browse repository at this point
Copy the full SHA 033d59fView commit details -
Only conditionally apply retries no integrationTests
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 6b4b5c4 - Browse repository at this point
Copy the full SHA 6b4b5c4View commit details -
Signed-off-by: Peter Nied <petern@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 99c029f - Browse repository at this point
Copy the full SHA 99c029fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 308645c - Browse repository at this point
Copy the full SHA 308645cView commit details