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

Extend session index fields mapping with a session creation timestamp #145097

Closed
azasypkin opened this issue Nov 14, 2022 · 1 comment · Fixed by #145997
Closed

Extend session index fields mapping with a session creation timestamp #145097

azasypkin opened this issue Nov 14, 2022 · 1 comment · Fixed by #145997
Labels
Feature:New Feature New feature not correlating to an existing feature label Feature:Security/Session Management Platform Security - Session Management Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@azasypkin
Copy link
Member

azasypkin commented Nov 14, 2022

Summary

To support initial phase of the current sessions limiting functionality described in #18162 (comment) we need to know when session was created to pick the oldest one to displace.

In the scope of this issue, we need to update Kibana session index mappings to include a new field that would record session creation date (created_at?). Kibana should upgrade the session index mapping (or create a new index and re-index existing sessions) during startup after the upgrade. We also need to update session management service to timestamp newly created sessions.

We also need to decide whether we want to keep old existing session index documents with the empty created_at field or fill it in during upgrade.

@azasypkin azasypkin added Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! Feature:New Feature New feature not correlating to an existing feature label Feature:Security/Session Management Platform Security - Session Management labels Nov 14, 2022
@elasticmachine
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Feature New feature not correlating to an existing feature label Feature:Security/Session Management Platform Security - Session Management Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants