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

.kibana_security_session_index_template causes deprecation log #120434

Closed
rudolf opened this issue Dec 3, 2021 · 1 comment · Fixed by #121311
Closed

.kibana_security_session_index_template causes deprecation log #120434

rudolf opened this issue Dec 3, 2021 · 1 comment · Fixed by #121311
Assignees
Labels
blocker bug Fixes for quality problems that affect the customer experience impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.17.0

Comments

@rudolf
Copy link
Contributor

rudolf commented Dec 3, 2021

Related #120043

Starting Kibana with security enabled on this branch #120109 surfaces the following deprecation log:

ES DEPRECATION: 299 Elasticsearch-7.16.0-SNAPSHOT-34fb605e5a51f9ecbf4a6ad3d3b910402c5b2121 "Legacy index templates are deprecated in favor of composable templates."
 proc [kibana] Origin:user
 proc [kibana] Stack trace:
 proc [kibana]     at Indices.putTemplate (/opt/local-ssd/buildkite/builds/kb-n2-4-5be418573b67e921/elastic/kibana-pull-request/kibana-build-xpack/node_modules/@elastic/elasticsearch/lib/api/api/indices.js:976:16)
 proc [kibana]     at indexInitialization.Promise.finally.indexInitialization (/opt/local-ssd/buildkite/builds/kb-n2-4-5be418573b67e921/elastic/kibana-pull-request/kibana-build-xpack/x-pack/plugins/security/server/session_management/session_index.js:337:13)
 proc [kibana] Query:
 proc [kibana] 200
 proc [kibana] PUT /_template/.kibana_security_session_index_template_1
 proc [kibana] {"index_patterns":[".kibana_security_session_1"],"order":1000,"settings":{"index":{"number_of_shards":1,"number_of_replicas":0,"auto_expand_replicas":"0-1","priority":1000,"refresh_interval":"1s","hidden":true}},"mappings":{"dynamic":"strict","properties":{"usernameHash":{"type":"keyword"},"provider":{"properties":{"name":{"type":"keyword"},"type":{"type":"keyword"}}},"idleTimeoutExpiration":{"type":"date"},"lifespanExpiration":{"type":"date"},"accessAgreementAcknowledged":{"type":"boolean"},"content":{"type":"binary"}}}}

As per #120043 we should aim to fix the deprecation in 7.17 if this has a low risk

@rudolf rudolf added bug Fixes for quality problems that affect the customer experience blocker Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.17.0 labels Dec 3, 2021
@elasticmachine
Copy link
Contributor

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

@exalate-issue-sync exalate-issue-sync bot added impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort labels Dec 6, 2021
@azasypkin azasypkin self-assigned this Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.17.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants