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

[Discuss] [Kibana platform security] Session tracking and audit logging #91285

Closed
arisonl opened this issue Feb 12, 2021 · 3 comments · Fixed by #139492
Closed

[Discuss] [Kibana platform security] Session tracking and audit logging #91285

arisonl opened this issue Feb 12, 2021 · 3 comments · Fixed by #139492
Labels
Feature:Security/Audit Platform Security - Audit Logging feature Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@arisonl
Copy link
Contributor

arisonl commented Feb 12, 2021

We have a number of user requests around session tracking:

  • "Customer would like to know when user logs in, logs out or when its session expires"
  • "Customer would like the ability to audit a user's Kibana session and know when they have logged in or out of Kibana"
  • "The application must display the time and date of the users last successful logon. The application must display an explicit logoff message to users indicating the reliable termination of authenticated communications sessions"

Can we build this functionality based on the first iteration of Kibana audit logging and server-side sessions that we have delivered?

@arisonl arisonl added the Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! label Feb 12, 2021
@elasticmachine
Copy link
Contributor

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

@azasypkin
Copy link
Member

Can we build this functionality based on the first iteration of Kibana audit logging and server-side sessions that we have delivered?

I'll defer the auditing part to @thomheymann and comment only on the session part:

  • 🟢 AFAIK we already generate an audit log event when user logs in
  • 🟢 I believe we already clearly indicate that session has been terminated either with the message on the Login Selector/Login Form or via dedidated Logged Out page if Selector isn't enabled
  • 🟠 Generating event for the logout initiated by the user or IdP (in case user still has active Kibana session) should not be complex to add today
  • 🟠 Generating event for the logout because of expired session that was triggered by the user/Kibana request should also not be complex to add today
  • 🔴 We currently don't have a way to generate such events for the expired/invalid sessions that we remove in a bulk during a regular session cleanup job. That may not be easy or feasibly to implement at all.
  • 🔴 We currently don't have a way to figure out user's last login time/date, but once we get support for user profiles we can store this information there. We'll implement this eventually for sure.

@legrego legrego added Feature:Security/Audit Platform Security - Audit Logging feature EnableJiraSync and removed EnableJiraSync labels Aug 3, 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 5, 2021
@exalate-issue-sync exalate-issue-sync bot added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. and removed impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Nov 23, 2021
@jportner
Copy link
Contributor

jportner commented Feb 1, 2022

It's been a while since we've updated this issue. Here's the current reality:

@legrego legrego removed EnableJiraSync loe:small Small Level of Effort impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Security/Audit Platform Security - Audit Logging feature 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.

5 participants