GET _cluster/settings causes non-actionable deprecation warning #81480
Labels
>bug
:Security/Security
Security issues without another label
Team:Security
Meta label for security team
GET /_cluster/settings?include_defaults=true&flat_settings=true
causes the following deprecation warning header to be returned:The deprecation notice only seems to show if the
xpack.security.http.ssl.keystore.password
configuration option is set.However, it's not obvious to users how they could resolve this deprecation (at least it wasn't to me). By returning a deprecation notice to an API call it creates the impression that the API itself is deprecated, shouldn't config deprecations only be logged when reading the config file on startup? Returning a deprecation log when a deprecated configuration setting is read through an API causes confusion.
In addition, the documentation doesn't mention that this setting has been deprecated https://www.elastic.co/guide/en/elasticsearch/reference/master/security-settings.html
Related: elastic/kibana#120043
The text was updated successfully, but these errors were encountered: