Extend session index fields mapping with a session creation timestamp #145097
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!
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.The text was updated successfully, but these errors were encountered: