File tree 2 files changed +2
-1
lines changed
src/main/java/org/opensearch/security
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -542,6 +542,7 @@ public String toString() {
542
542
/**
543
543
* List of keys that are deprecated
544
544
*/
545
+ @ Deprecated
545
546
public static final List <String > DEPRECATED_KEYS = ImmutableList .of (
546
547
ConfigConstants .OPENDISTRO_SECURITY_AUDIT_ENABLE_REST ,
547
548
ConfigConstants .OPENDISTRO_SECURITY_AUDIT_CONFIG_DISABLED_REST_CATEGORIES ,
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ private void setupAuditConfigurationIfAny(final boolean auditConfigDocPresent) {
307
307
final Set <String > deprecatedAuditKeysInSettings = AuditConfig .getDeprecatedKeys (settings );
308
308
if (!deprecatedAuditKeysInSettings .isEmpty ()) {
309
309
LOGGER .warn (
310
- "Following keys {} are deprecated in opensearch settings. They will be removed in plugin v2 .0.0.0" ,
310
+ "Following keys {} are deprecated in opensearch settings. They will be removed in plugin v4 .0.0.0" ,
311
311
deprecatedAuditKeysInSettings
312
312
);
313
313
}
You can’t perform that action at this time.
0 commit comments