From 6cbb5448edf921ed9b8b797bd8310003f109259a Mon Sep 17 00:00:00 2001 From: Mathieu Martin Date: Wed, 11 Nov 2020 15:12:14 -0500 Subject: [PATCH] [RFC] Multiple users in an event, stage 3 PR (#1017) --- rfcs/text/0007-multiple-users.md | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/rfcs/text/0007-multiple-users.md b/rfcs/text/0007-multiple-users.md index 9403eecb0a..31e015e8b9 100644 --- a/rfcs/text/0007-multiple-users.md +++ b/rfcs/text/0007-multiple-users.md @@ -1,8 +1,8 @@ # 0007: Multiple users in an event -- Stage: **2 (proposal)** -- Date: **2020-10-02** +- Stage: **3 (candidate)** +- Date: **2020-11-11** Many log events refer to more than one user at the same time. Examples of this are remote logons as someone else, user management and privilege escalation. @@ -67,7 +67,7 @@ This can be seen in more detail on PR [ecs#869](https://github.com/elastic/ecs/p The examples below will only populate `user.name` and sometimes `user.id` inside the various `user` nestings, for readability. -However in implementations, otherwise noted all `user` fields that can reasonably +However in implementations, unless otherwise noted, all `user` fields that can reasonably be populated in each location should be populated. ### User fields at the Root of an Event @@ -636,14 +636,6 @@ and the assumed role in the `userIdentity`. This makes it easy to keep track of the real user at `user.*` and the escalated privileges at `user.effective.*` in all subsequent activity after privilege escalation. - - - - ## Scope of impact ### New fields for IAM @@ -671,12 +663,12 @@ These came up while working on this RFC; this is not guidance that was given in the past. Data sources that populate these fields will need to be revisited and adjusted accordingly. - +Please let us know before the next major ECS release if you disagree with this, and share how you're using them. ## Concerns @@ -686,11 +678,11 @@ In past discussions and recent research, we have not identified a clear purpose for the user fields nested at `host.user.*`. We are considering deprecating these fields with the intent to remove them completely. -Please let us know if you disagree with this, and share how you're using them. #### Resolution -No resolution yet. +They will be marked as deprecated starting with ECS 1.8, and will be removed in +the next ECS major release. ### Documenting the purpose of each usage of the user fields @@ -727,7 +719,7 @@ Stage 4: Identify at least one real-world, production-ready implementation that The following are the people that consulted on the contents of this RFC. * @webmat | author -* TBD | sponsor +* @jonathan-buttner | sponsor * @leehinman | subject matter expert * @janniten | subject matter expert * @willemdh | subject matter expert @@ -765,6 +757,7 @@ e.g.: * Stage 2: https://github.com/elastic/ecs/pull/914 * Stage 2 correction: https://github.com/elastic/ecs/pull/996 +* Stage 3: https://github.com/elastic/ecs/pull/1017 Note: This RFC was initially proposed via a PR that targeted stage 2, given the amount of discussion that has already has happened on this subject.