You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[7.x] Expand scope of xpack.security.enabled deprecation warning
Show deprecation message not only if "xpack.security.enabled" is false,
but just if it's set (no matter the value).
Also improves the deprecation message to align with new guidelines.
"Disabling the security plugin \\"xpack.security.enabled\\" will only be supported by disable security in Elasticsearch.",
394
+
"Enabling or disabling the security plugin from Kibana using \\"xpack.security.enabled\\" is deprecated. This should instead be controlled via Elasticsearch.",
395
395
]
396
396
`);
397
397
});
398
398
399
-
it('does not warn when the security plugin is enabled',()=>{
399
+
it('warns when the security plugin is enabled',()=>{
"Enabling or disabling the security plugin from Kibana using \\"xpack.security.enabled\\" is deprecated. This should instead be controlled via Elasticsearch.",
413
+
]
414
+
`);
415
+
});
416
+
417
+
it("does not warn when xpack.security.enabled isn't set",()=>{
'Disabling the security plugin "xpack.security.enabled" will only be supported by disable security in Elasticsearch.',
146
+
'Enabling or disabling the security plugin from Kibana using "xpack.security.enabled" is deprecated. This should instead be controlled via Elasticsearch.',
0 commit comments