[aws] cloudtrail: move assumed-role session name from user.changes.* to related.user#20318
[aws] cloudtrail: move assumed-role session name from user.changes.* to related.user#20318chemamartinez wants to merge 3 commits into
Conversation
✅ Elastic Docs Style Checker (Vale)No issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
|
Failed build seems unrelated. |
|
✅ All changelog entries have the correct PR link. |
|
No issues across the latest commits 617ad3d…ff5593c (37 commits).
🤖 AI-Generated Review | Vera Review Bot | 📚 Knowledge base: integration-skills
|
💚 Build Succeeded
History
|
| # newer versions go on top | ||
| - version: "7.1.0" | ||
| changes: | ||
| - description: "[CloudTrail] Stop storing the assumed-role ARN session name in `user.changes.*` (which conflicts with ECS semantics). The session name is now added to `related.user` for cross-source correlation; when it is an email, both the full email and the local-part prefix are added. `user.name` continues to hold the IAM role name for detection rules." |
There was a problem hiding this comment.
| - description: "[CloudTrail] Stop storing the assumed-role ARN session name in `user.changes.*` (which conflicts with ECS semantics). The session name is now added to `related.user` for cross-source correlation; when it is an email, both the full email and the local-part prefix are added. `user.name` continues to hold the IAM role name for detection rules." | |
| - description: "Stop storing the assumed-role ARN session name in `user.changes.*`. The session name is now added to `related.user` for cross-source correlation; when it is an email, both the full email and the local-part prefix are added. `user.name` continues to hold the IAM role name for detection rules." |
| - grok: | ||
| tag: extract_session_name_email_prefix | ||
| field: _tmp.session_name | ||
| patterns: | ||
| - "%{DATA:_tmp.session_name_prefix}@" | ||
| ignore_missing: true | ||
| if: ctx._tmp?.session_name != null && ctx._tmp.session_name.contains('@') |
There was a problem hiding this comment.
Using grok for this is quite expensive.
| - grok: | |
| tag: extract_session_name_email_prefix | |
| field: _tmp.session_name | |
| patterns: | |
| - "%{DATA:_tmp.session_name_prefix}@" | |
| ignore_missing: true | |
| if: ctx._tmp?.session_name != null && ctx._tmp.session_name.contains('@') | |
| - dissect: | |
| tag: extract_session_name_email_prefix | |
| field: _tmp.session_name | |
| pattern: '%{_tmp.session_name_prefix}@%{}' | |
| if: ctx._tmp?.session_name != null && ctx._tmp.session_name.contains('@') |
Proposed commit message
Checklist
changelog.ymlfile.Related issues