Skip to content
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 username into threadContext header #2436

Closed
wants to merge 1 commit into from

Conversation

Hailong-am
Copy link
Contributor

Signed-off-by: Hailong Cui ihailong@amazon.com

Description

[Describe what this change achieves]

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
  • Why these changes are required?
  • What is the old behavior before changes and new behavior after changes?

Issues Resolved

#2432

Is this a backport? If so, please add backport PR # and/or commits #

Testing

[Please provide details of testing done: unit testing, integration testing and manual testing]

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Hailong Cui <ihailong@amazon.com>
@Hailong-am Hailong-am requested a review from a team February 14, 2023 02:36
Copy link
Member

@peternied peternied left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue associated with this pull request was closed, pushing more information into the thread context headers is an anti-pattern.

The work that is being done to pull Identity information into OpenSearch will be a recommended way to support this workflow. See https://github.com/orgs/opensearch-project/projects/89?pane=info for approximant timelines

@peternied peternied closed this Feb 14, 2023
@Hailong-am
Copy link
Contributor Author

Thanks for looking into this. For now, security info is not aware by OpenSearch core and no better way to get user information. By pulling identity information into core that will make it more easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants