Allow to add http_response_headers in http_handlers of any type#79975
Allow to add http_response_headers in http_handlers of any type#79975yakov-olkhovskiy merged 7 commits intoClickHouse:masterfrom
http_response_headers in http_handlers of any type#79975Conversation
http_response_headers in http_handlers of any kindhttp_response_headers in http_handlers of any type
|
Motivation: Examples of such headers include:
Currently, ClickHouse allows setting custom HTTP headers for query-related handlers, but not for others such as the play and dashboard interfaces. To improve security compliance and reduce false positives in vulnerability scanners, we should provide a mechanism to configure these headers for any of HTTP handlers used by ClickHouse. A full list of explicitly configured HTTP handlers is available here: |
de3dbd5 to
0e99fe8
Compare
0e99fe8 to
9b454eb
Compare
|
@yakov-olkhovskiy the PR is ready for review and the tests are green |
Allow to add `http_response_headers` in `http_handlers` of any type
Allow to add `http_response_headers` in `http_handlers` of any type
24.8.14 Backport of ClickHouse#79975 Allow to add `http_response_headers` in `http_handlers` of any kind
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Allow to add
http_response_headersinhttp_handlersof any kindDocumentation entry for user-facing changes