Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore xpack.security.enabled setting #54023

Closed
kobelb opened this issue Jan 6, 2020 · 5 comments · Fixed by #111681
Closed

Ignore xpack.security.enabled setting #54023

kobelb opened this issue Jan 6, 2020 · 5 comments · Fixed by #111681
Assignees
Labels
chore impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.0.0

Comments

@kobelb
Copy link
Contributor

kobelb commented Jan 6, 2020

With the introduction of Kibana's RBAC, we changed the docs to recommend that users no longer set xpack.security.enabled: false

Do not set this to false; it disables the login form, user and role management screens, and authorization using Kibana privileges. To disable security features entirely, see Elasticsearch security settings.

However, we didn't deprecate this setting as we weren't confident that certain use-cases weren't enabled by xpack.security.enabled: false. I haven't heard of any valid use-cases where we continue to need this setting, so we should deprecate it and then remove it in 8.0

Related: #89584

@kobelb kobelb added the Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! label Jan 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@legrego legrego changed the title Remove xpack.security.enabled setting Ignore xpack.security.enabled setting Jun 16, 2021
@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Aug 4, 2021
@watson
Copy link
Contributor

watson commented Sep 8, 2021

Today we only surface the deprecation notice if this setting is set to false. Since we want this to be controlled 100% by Elasticsearch, shouldn't we also surface the deprecation notice if this is set to true - i.e. just if it's present? cc @jportner

@jportner
Copy link
Contributor

jportner commented Sep 8, 2021

Today we only surface the deprecation notice if this setting is set to false. Since we want this to be controlled 100% by Elasticsearch, shouldn't we also surface the deprecation notice if this is set to true - i.e. just if it's present? cc @jportner

Yeah, I think that makes sense. Let's change the deprecation in 7.x accordingly.

Note, the Core team has an open issue to prevent plugins from being disabled in 8.0+ (including spaces and security): #89584

@watson
Copy link
Contributor

watson commented Sep 8, 2021

Let's change the deprecation in 7.x accordingly.

And in master as well, right? This deprecation notice is currently present both in 7.x and master

@jportner
Copy link
Contributor

jportner commented Sep 8, 2021

And in master as well, right? This deprecation notice is currently present both in 7.x and master

Ah, the deprecation can be removed from master. I doubt the Core team will be doing that for us in their PR, so we should probably do it.

@exalate-issue-sync exalate-issue-sync bot added loe:medium Medium Level of Effort and removed loe:small Small Level of Effort labels Sep 13, 2021
@exalate-issue-sync exalate-issue-sync bot added loe:small Small Level of Effort and removed loe:medium Medium Level of Effort labels Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.0.0
Projects
None yet
5 participants