Skip to content

Commit

Permalink
[DOCS] Add deprecation docs for obselete security settings (#77798)
Browse files Browse the repository at this point in the history
We deprecated `accept_default_password` in 6.0 with PR #1665. However, we didn't
add a related item to the 6.0 breaking changes docs.

Similarly, we deprecated `xpack.security.authz.store.roles.index.cache.max_size`
and `xpack.security.authz.store.roles.index.cache.ttl` in 5.2 with PR #4449
However, we didn't add a related item to the 5.2 breaking changes docs.

This adds the missing items to the 7.15 deprecation docs.

Relates to #40496.
  • Loading branch information
jrodewig authored Sep 16, 2021
1 parent 0c633b6 commit 554438e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/reference/migration/migrate_7_15.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ your application to {es} 7.15.
See also <<release-highlights>> and <<es-release-notes>>.

* <<breaking_715_indices_deprecations>>
* <<breaking_715_security_deprecations>>
* <<breaking_715_settings_deprecations>>

////
Expand Down Expand Up @@ -70,6 +71,37 @@ new indices or index templates. Reindex any index using `simplefs` into one with
another store type.
====

[discrete]
[[breaking_715_security_deprecations]]
==== Security deprecations

[[deprecate-accept_default_password]]
.The `accept_default_password` setting is deprecated.
[%collapsible]
====
*Details* +
In 6.0, we deprecated the `accept_default_password` cluster setting. We removed
support for default passwords in 6.0 but did not remove the setting for
backwards compatibility. In 8.0, we will remove the setting.
*Impact* +
To avoid deprecation warnings, discontinue use of the setting.
====

[[deprecate-native-role-cache-settings]]
.Native role cache settings are deprecated.
[%collapsible]
====
*Details* +
In 5.2, we deprecated the following cluster settings:
* `xpack.security.authz.store.roles.index.cache.max_size`
* `xpack.security.authz.store.roles.index.cache.ttl`
These native role cache settings have been unused since 5.2, but we did not
remove the settings for backwards compatibility. In 8.0, we will remove the
settings.
*Impact* +
To avoid deprecation warnings, discontinue use of the settings.
====

[discrete]
[[breaking_715_settings_deprecations]]
==== Settings deprecations
Expand Down

0 comments on commit 554438e

Please sign in to comment.