Clarify cluster node request classification - #6326
Open
cwperks wants to merge 2 commits into
Open
Conversation
Signed-off-by: Craig Perkins <craig5008@gmail.com>
Contributor
PR Reviewer Guide 🔍(Review updated until commit 67e70a8)Here are some key observations to aid the review process:
|
Signed-off-by: Craig Perkins <craig5008@gmail.com>
Contributor
|
Persistent review updated to latest commit 67e70a8 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6326 +/- ##
==========================================
+ Coverage 75.32% 75.41% +0.09%
==========================================
Files 456 456
Lines 29900 29924 +24
Branches 4520 4530 +10
==========================================
+ Hits 22522 22568 +46
+ Misses 5289 5262 -27
- Partials 2089 2094 +5
🚀 New features to boost your workflow:
|
cwperks
marked this pull request as ready for review
July 25, 2026 12:03
cwperks
requested review from
DarshitChanpura,
Rishav9852Kumar,
RyanL1997,
derek-ho,
finnegancarroll,
nibix,
reta,
shikharj05 and
willyborankin
as code owners
July 25, 2026 12:03
This file contains hidden or 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
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.
What changed
HeaderHelper.isInterClusterRequest()toisLocalClusterNodeRequest()HeaderHelper.isTrustedClusterRequest()toisRemoteClusterNodeRequest()Why
The existing names invert current OpenSearch terminology: the
interClusterRequesttransient represents a request from another node in thelocal cluster, while
trustedClusterRequestrepresents a node request from adifferent cluster. The new names make security-sensitive branches easier to
audit.
This is a terminology-only change. The existing transient keys and request
classification behavior remain unchanged.
Validation
./gradlew :precommit -Pcrypto.standard=FIPS-140-3./gradlew test --tests 'org.opensearch.security.support.HeaderHelperTests' -Pcrypto.standard=FIPS-140-3./gradlew citest --tests 'org.opensearch.security.support.HeaderHelperTests' -Pcrypto.standard=FIPS-140-3