Skip to content

[Backport] Only proxy whitelisted request headers to ES server upstream#7800

Closed
w33ble wants to merge 1 commit intoelastic:4.xfrom
w33ble:backport-6896-whitelist-headers
Closed

[Backport] Only proxy whitelisted request headers to ES server upstream#7800
w33ble wants to merge 1 commit intoelastic:4.xfrom
w33ble:backport-6896-whitelist-headers

Conversation

@w33ble
Copy link
Contributor

@w33ble w33ble commented Jul 22, 2016

Backport of #6896

I really just needed filter_headers, but I figured I might as well backport the rest of the changes as well.

The only part missing is the docs page for the kibana.yml settings, but it looks like that page doesn't exist in 4.x.

@w33ble w33ble added review backport This PR is a backport of another PR v4.6.0 labels Jul 22, 2016
@w33ble w33ble force-pushed the backport-6896-whitelist-headers branch from f6ad886 to 3939ab1 Compare July 22, 2016 00:12
@epixa
Copy link
Contributor

epixa commented Jul 22, 2016

This change can't go into 4.x because it's a backwards compatibility break for Kibana core. We've even tried the approach of modifying callWithRequest to send through all headers (only in 4.x) instead, but that causes other bugs. You can see the trail of destruction in the form of failed backport PRs and linked tickets in the original PR.

@epixa epixa added v4.6.0 and removed backport This PR is a backport of another PR review v4.6.0 labels Jul 22, 2016
@w33ble
Copy link
Contributor Author

w33ble commented Jul 22, 2016

This change can't go into 4.x because it's a backwards compatibility break for Kibana core.

Ah, right, because it's filtering the headers instead of just appending/modifying authorization. Good catch, thanks. After talking to @ycombinator I actually don't think I need to the header filtering stuff in 4.x at all. Pretty sure I can close this and pretend it never happened...

@w33ble w33ble closed this Jul 22, 2016
@epixa epixa removed the v4.6.0 label Jul 22, 2016
cee-chen added a commit that referenced this pull request Jun 3, 2024
`v94.5.2` ⏩ `v94.6.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

---

## [`v94.6.0`](https://github.com/elastic/eui/releases/v94.6.0)

- Updated `EuiComboBox` to support rendering `option.append` and
`option.prepend` in group labels
([#7800](elastic/eui#7800))

**Accessibility**

- Improved the accessibility experience of `EuiBetaBadge`
([#7805](elastic/eui#7805))
rohanxz pushed a commit to honeyn303/kibana that referenced this pull request Jun 4, 2024
`v94.5.2` ⏩ `v94.6.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

---

## [`v94.6.0`](https://github.com/elastic/eui/releases/v94.6.0)

- Updated `EuiComboBox` to support rendering `option.append` and
`option.prepend` in group labels
([elastic#7800](elastic/eui#7800))

**Accessibility**

- Improved the accessibility experience of `EuiBetaBadge`
([elastic#7805](elastic/eui#7805))
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.

3 participants