-
Notifications
You must be signed in to change notification settings - Fork 426
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
Add a user.roles
field
#915
Comments
I like the idea. This is a good complement to So capturing the user's roles at the time of the event via this array field makes sense to me. |
++ I think this would be a good addition as well. I can see
For simplicity I like |
I'm not opposed to exploring other names. I don't have the broader picture of everything ECS is used for, so I'll defer to you all on what makes the most sense. I could also make the argument that there's ambiguity for the other user fields though. What if an event changed the |
Summary
When recording events performed by a user under RBAC, it is sometimes useful to record the set of roles the user had at the time the action was performed.
As an example, the Elasticsearch audit logs include this information, as described in their docs
Motivation:
Kibana is revamping its audit logging, and as part of this work, we are transitioning to be fully ECS compliant. Our logs aim to record the set of roles the end-user is assigned, and having a first-class location for this information within ECS would be beneficial to us.
We have a work-in-progress which targets this information under a custom
kibana.user_roles
category, but having this information exist within ECS'suser
category would offer a much nicer experience. We do have other alternatives if you feel this shouldn't be included in ECS, but I wanted to start a discussion to explore our options first.Detailed Design:
Provide additional details around the design of the proposed changes.
user.roles
Suggested appropriate datatypes
I think
keyword
would be an appropriate datatype for this information.Any example events that map to the proposed use case(s)
Audit logs generated by both Elasticsearch and Kibana could benefit from this information
The text was updated successfully, but these errors were encountered: