elastic / elastic/integrations

[Azure SigninLogs] Dissect back user.email into user.name and user.domain for Signin Activity events.

Open
#15,374 1 comment 0 reactions 0 assignees View on GitHub
Integration:azure
Dominant language
Handlebars
Stars
333
Forks
647
Avg merge
3d 4h
Merged PRs (30d)
209

Description

Hello,

In the Azure integration the Audit logs for Signin events used to have the `user.name` and `user.domain` in separated fields, after the changes made on this [PR](https://github.com/elastic/integrations/pull/14137), this was changed and those fields were not correctly populated anymore.

The `user.domain` does not exist anymore and the field `user.name` is now the same as `user.email` which comes from `azure.signinlogs.properties.user_principal_name`

So, before we had something like this:

- `user.name`: `userName`
- `user.domain`: `userDomain`

Now we have this:

- `user.name`: `userName@userDomain`
- `user.domain`: does not exist.

This makes correlation more complicated as other tools will have `userName` on `user.name` and if you have multiple domains, the field `user.domain` can not be used anymore for filtering.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.