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

RBAC Audit Logging #19418

Closed
kobelb opened this issue May 24, 2018 · 6 comments
Closed

RBAC Audit Logging #19418

kobelb opened this issue May 24, 2018 · 6 comments
Labels
enhancement New value added to drive a business result Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@kobelb
Copy link
Contributor

kobelb commented May 24, 2018

We're historically deferred to Elasticsearch's audit log to audit events that Kibana executes on behalf of users. This has worked because we've made requests using the end-user's credentials to Elasticsearch so the events show up with the principal of the authenticated user. With the implementation of RBAC, this is no longer the case, and certain requests for end-users are made with the Kibana internal server user (after authorizing the users). We should log our own audit events in these scenarios, since we can't defer to Elasticsearch's audit log for these.

@kobelb kobelb added Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! enhancement New value added to drive a business result labels May 24, 2018
@jinmu03
Copy link
Contributor

jinmu03 commented May 24, 2018

@AlonaNadler

@AlonaNadler
Copy link

@kobelb adding context for the reason users asked for audit log in the past, please keep in mind when working on logs for these scenarios
Few of the use cases that were requested in the past:

  • Which users accessed/edit which object
  • How many users use specific dashboards
  • How many dashboards a specific user is opening
  • How many users logged in Kibana in a specific time range
  • Views per day
  • Unique views per day
  • By user views, data table, including first name, last name and e-mail
  • Pie chart for the percentage of usage per user (i.e, identify most active users by page load)

cc: @joshbressers

@kobelb
Copy link
Contributor Author

kobelb commented May 24, 2018

Just to be clear, we're specifically targeting this issue at ensuring we have audit logging for the deficiencies that RBAC introduces, it's not our objective to resolve all asks around unified audit logging in Kibana. The larger effort is being tracked here

@AlonaNadler
Copy link

I understand, most of the requests for audit logs are around who view/edit an object and the audit logs here are done because of the RBAC, I figured it made sense to explicitly call it here so you will have it in mind, if you think it's not the right place I can delete it

@legrego
Copy link
Member

legrego commented Sep 19, 2018

@kobelb can this be closed?

@kobelb
Copy link
Contributor Author

kobelb commented Sep 19, 2018

Yup, thanks @legrego

@kobelb kobelb closed this as completed Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

No branches or pull requests

4 participants