Skip to content

[7.x] Restrict access to hapi Request in registerAuth (#38763)#39151

Merged
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-38763
Jun 18, 2019
Merged

[7.x] Restrict access to hapi Request in registerAuth (#38763)#39151
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-38763

Conversation

@mshustov
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* Prevent exposing Hapi.Request to registerAuth.

Prevent exposing headers.authorization in KibanaRequest.
Introduce a mechanism to associate authorization headers with an
incoming request and retrieve its value to perform a request to
elasticsearch cluster.

* fix tests

* address @joshdover comments
@mshustov mshustov added the backport This PR is a backport of another PR label Jun 18, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@mshustov
Copy link
Copy Markdown
Contributor Author

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@mshustov mshustov merged commit 708666a into elastic:7.x Jun 18, 2019
@mshustov mshustov deleted the backport/7.x/pr-38763 branch June 18, 2019 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants