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

Legacy index templates should not apply to "net new" system indices #74271

Open
1 task
williamrandolph opened this issue Jun 17, 2021 · 2 comments
Open
1 task
Labels
:Core/Infra/Core Core issues without another label >enhancement Team:Core/Infra Meta label for core/infra team

Comments

@williamrandolph
Copy link
Contributor

williamrandolph commented Jun 17, 2021

One of the things we're hoping to accomplish with system indices is to keep users from having to worry about whether or not their index templates are going to affect indices used by Elasticsearch features (such as security) or other stack components (such as Kibana or Fleet). Once system indices are fully implemented, user-created templates will not be able to affect them, but removing user access to, say, Kibana indices, could be a breaking change for some users. In the case where an already existing index has been converted into a system index, we can only warn users to be careful with wildcard templates.

However, for system indices that we're introducing between now and the next major release, we don't need to worry about breaking changes. Since these system indices are "net new", users have never had any access to these indices. In #74186, we removed most access to these new system indices. As a follow-up, we need to make sure that legacy index templates don't apply to these "net new" indices.

A known case here is the GeoIP system index. We might also want to add this protection for the Fleet indices, given the user experience described in this discuss forums post.

  • todo: add some javadoc that defines "net new" within the code

Relates #42508, #38678, #50251

@williamrandolph williamrandolph added >enhancement :Core/Infra/Core Core issues without another label labels Jun 17, 2021
@williamrandolph williamrandolph self-assigned this Jun 17, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jun 17, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@jportner
Copy link

Is there any progress on this issue?
We just heard from a user who was experiencing authentication issues because an index template was changing the refresh interval on their system indices (not 100% sure which one but likely .kibana_security_session).
It would be great if we can remove this foot gun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >enhancement Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

No branches or pull requests

3 participants