Skip to content

Commit 19fe324

Browse files
authored
[DOCS] Add deprecation docs for obselete security settings (#77798) (#77949)
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.
1 parent fe45947 commit 19fe324

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/reference/migration/migrate_7_15.asciidoc

+32
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ your application to {es} 7.15.
1010
See also <<release-highlights>> and <<es-release-notes>>.
1111

1212
* <<breaking_715_indices_deprecations>>
13+
* <<breaking_715_security_deprecations>>
1314
* <<breaking_715_settings_deprecations>>
1415

1516
////
@@ -70,6 +71,37 @@ new indices or index templates. Reindex any index using `simplefs` into one with
7071
another store type.
7172
====
7273

74+
[discrete]
75+
[[breaking_715_security_deprecations]]
76+
==== Security deprecations
77+
78+
[[deprecate-accept_default_password]]
79+
.The `accept_default_password` setting is deprecated.
80+
[%collapsible]
81+
====
82+
*Details* +
83+
In 6.0, we deprecated the `accept_default_password` cluster setting. We removed
84+
support for default passwords in 6.0 but did not remove the setting for
85+
backwards compatibility. In 8.0, we will remove the setting.
86+
*Impact* +
87+
To avoid deprecation warnings, discontinue use of the setting.
88+
====
89+
90+
[[deprecate-native-role-cache-settings]]
91+
.Native role cache settings are deprecated.
92+
[%collapsible]
93+
====
94+
*Details* +
95+
In 5.2, we deprecated the following cluster settings:
96+
* `xpack.security.authz.store.roles.index.cache.max_size`
97+
* `xpack.security.authz.store.roles.index.cache.ttl`
98+
These native role cache settings have been unused since 5.2, but we did not
99+
remove the settings for backwards compatibility. In 8.0, we will remove the
100+
settings.
101+
*Impact* +
102+
To avoid deprecation warnings, discontinue use of the settings.
103+
====
104+
73105
[discrete]
74106
[[breaking_715_settings_deprecations]]
75107
==== Settings deprecations

0 commit comments

Comments
 (0)