-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[DOCS] Fix default for http.compression
setting
#56899
Conversation
Elasticsearch enables HTTP compression by default now. However, to mitigate potential security risks like the BREACH attack, X-Pack security disables compression if HTTPS is enabled. <-- This is not clear from the doc, hence adding some more details here. See https://github.com/elastic/elasticsearch/blob/master/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityHttpSettings.java#L19 and https://www.elastic.co/guide/en/x-pack/5.4/xpack-change-list.html#breaking-5.0.0 for more details.
See elastic/elasticsearch#56899, Elasticsearch disables compression if HTTPS is enabled.
Pinging @elastic/es-docs (>docs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Made some adjustments to reword and wrap the text.
Pinging @elastic/es-distributed (:Distributed/Network) |
@tbrooks8 Do you mind taking a look at this when convenient? The logic in https://github.com/elastic/elasticsearch/blob/master/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityHttpSettings.java#L19 seems clear to me, but it never hurts to double check. I can merge and backport if you approve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
http.compression
setting
Elasticsearch enables HTTP compression by default. However, to mitigate potential security risks like the BREACH attack, compression is disabled by default if HTTPS is enabled. This updates the `http.compression` setting definition accordingly and adds additional context. Co-authored-by: Leaf-Lin <[email protected]>
Elasticsearch enables HTTP compression by default. However, to mitigate potential security risks like the BREACH attack, compression is disabled by default if HTTPS is enabled. This updates the `http.compression` setting definition accordingly and adds additional context. Co-authored-by: Leaf-Lin <[email protected]>
Elasticsearch enables HTTP compression by default. However, to mitigate potential security risks like the BREACH attack, compression is disabled by default if HTTPS is enabled. This updates the `http.compression` setting definition accordingly and adds additional context. Co-authored-by: Leaf-Lin <[email protected]>
See elastic/elasticsearch#56899, Elasticsearch disables compression if HTTPS is enabled.
Elasticsearch enables HTTP compression by default now. However, to mitigate potential security risks like the BREACH attack, X-Pack security disables compression if HTTPS is enabled. <-- This is not clear from the doc, hence adding some more details here.
See https://github.com/elastic/elasticsearch/blob/master/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityHttpSettings.java#L19 and https://www.elastic.co/guide/en/x-pack/5.4/xpack-change-list.html#breaking-5.0.0 for more details.