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

KibanaRequest provides headers as a property. #39506

Merged
merged 3 commits into from
Jun 26, 2019

Conversation

mshustov
Copy link
Contributor

Summary

There are cases in Security and Proxy plugins when names of all headers are unknown and we still should provide access to them. I removed getFilteredHeaders method and left headers property as officially supported. Later when Core supports request proxying (@toddself will create an issue) we will filter authorization headers out for all extension points, but registerAuth.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@mshustov mshustov added Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.3.0 labels Jun 24, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@mshustov mshustov marked this pull request as ready for review June 24, 2019 12:31
@mshustov mshustov requested a review from a team as a code owner June 24, 2019 12:31
@mshustov
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@mshustov
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@eliperelman eliperelman left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mshustov mshustov merged commit 484351b into elastic:master Jun 26, 2019
@mshustov mshustov deleted the issue-33775-provide-all-headers branch June 26, 2019 08:04
mshustov added a commit to mshustov/kibana that referenced this pull request Jun 26, 2019
* use property instead of method. not all header names are known

* fix tag name and re-generate docs
mshustov added a commit that referenced this pull request Jun 26, 2019
* use property instead of method. not all header names are known

* fix tag name and re-generate docs
@mshustov mshustov removed the review label Jun 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants