From e93a924fc44a3d131b4cc8c260f737b64c7aaff7 Mon Sep 17 00:00:00 2001 From: Mark Hopkin Date: Wed, 18 Jun 2025 14:06:22 +0100 Subject: [PATCH 1/3] Add user is privileged RFC --- rfcs/text/0000-user-is-privileged.md | 81 ++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 rfcs/text/0000-user-is-privileged.md diff --git a/rfcs/text/0000-user-is-privileged.md b/rfcs/text/0000-user-is-privileged.md new file mode 100644 index 000000000..113f68590 --- /dev/null +++ b/rfcs/text/0000-user-is-privileged.md @@ -0,0 +1,81 @@ +# 0000: Add user.is_privileged boolean field + +- Stage: **0 (strawperson)** +- Date: **TBD** + +This RFC proposes adding a new boolean field, `user.is_privileged`. It will explicitly flag when a user has elevated or administrative rights such as ability to grant permissions, perform `sudo`, or manage IAM roles—so analysts can more easily filter, alert on, and correlate privileged‐user activity without custom parsing. + +## Fields + +```yaml +- name: user.is_privileged + type: boolean + level: extended + description: > + True if the user associated with the event has elevated or administrative privileges, + such as membership in a `sudo` or `Administrators` group, use of `sudo`, or assignment + of owner/admin roles in cloud IAM. + example: true +``` + +## Usage + +Treating privileged status as a first-class field (vs. a tag) lets Kibana’s Entity Store resolve the current boolean value without extra parsing. + +Analysts will often want to perform more focused monitoring on privileged users, having it as a field in ECS will simplify this querying, e.g + +```kql +event.category:authentication and user.is_privileged:true +``` + +## Source data + +The entity centric integrations such as okta entity analytics and Entra ID entity analytics could populate this field, linux and windows integrations could also annotate command executions with this. + +## Scope of impact + + + +## Concerns + +- Cross-platform consistency: what counts as “privileged”? + + + + + + +## People + +The following are the people that consulted on the contents of this RFC. + +* @hop-dev | author +* @jaredburgettelastic | co-author +* @MikePaquette | SME + + + +## References + + + +### RFC Pull Requests + +* Stage 0: https://github.com/elastic/ecs/pull/NNN + + From d47fca0a167ce9338dc170441a80786daf334242 Mon Sep 17 00:00:00 2001 From: Mark Hopkin Date: Wed, 18 Jun 2025 14:13:09 +0100 Subject: [PATCH 2/3] Add link to PR --- rfcs/text/0000-user-is-privileged.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfcs/text/0000-user-is-privileged.md b/rfcs/text/0000-user-is-privileged.md index 113f68590..c38688d96 100644 --- a/rfcs/text/0000-user-is-privileged.md +++ b/rfcs/text/0000-user-is-privileged.md @@ -73,7 +73,7 @@ The following are the people that consulted on the contents of this RFC. ### RFC Pull Requests -* Stage 0: https://github.com/elastic/ecs/pull/NNN +* Stage 0: https://github.com/elastic/ecs/pull/2493