Skip to content

[Azure] Map Azure auditlogs initiated_by user fields to ECS user fields and populate related.user - #20075

Merged
moxarth-rathod merged 3 commits into
elastic:mainfrom
moxarth-rathod:azure-17756
Jul 30, 2026
Merged

[Azure] Map Azure auditlogs initiated_by user fields to ECS user fields and populate related.user#20075
moxarth-rathod merged 3 commits into
elastic:mainfrom
moxarth-rathod:azure-17756

Conversation

@moxarth-rathod

Copy link
Copy Markdown
Contributor

Proposed commit message

  azure: Adds ECS user field mapping to the auditlogs data stream

  This change maps the Azure Active Directory audit log initiator identity to
  ECS user fields on the auditlogs data stream. The `initiated_by.user` fields
  `userPrincipalName`, `id`, and `displayName` are now populated into `user.name`,
  `user.id`, and `user.full_name` respectively. Additionally, these identifiers
  are appended to the ECS `related.user` field.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

How to test this PR locally

Related issues

@moxarth-rathod moxarth-rathod self-assigned this Jul 10, 2026
@moxarth-rathod moxarth-rathod added the enhancement New feature or request label Jul 10, 2026
@moxarth-rathod
moxarth-rathod requested a review from a team as a code owner July 10, 2026 05:47
@moxarth-rathod
moxarth-rathod requested review from a team as code owners July 10, 2026 05:47
@moxarth-rathod moxarth-rathod added Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] Team:SDE-Crest Crest developers on the Security Integrations team [elastic/sit-crest-contractors] labels Jul 10, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@github-actions

Copy link
Copy Markdown
Contributor

✅ 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.

@vera-review-bot

Copy link
Copy Markdown

No issues across the latest commits 6992d83.

A new commit triggers another review — at most once every 15 minutes. I skip the PR while it's approved or has merge conflicts.

🤖 AI-Generated Review | Vera Review Bot | 📚 Knowledge base: integration-skills

⚠️ Automated review — verify suggestions before applying.

@elastic-vault-github-plugin-prod

elastic-vault-github-plugin-prod Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@andrewkroh andrewkroh added the Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] label Jul 10, 2026

@kcreddy kcreddy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@moxarth-rathod please fix the merge conflicts.

@moxarth-rathod
moxarth-rathod requested a review from kcreddy July 22, 2026 08:58
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

✅ All changelog entries have the correct PR link.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @moxarth-rathod

@ishleenk17 ishleenk17 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code owner approval

@mergify

mergify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@moxarth-rathod
moxarth-rathod merged commit 761383c into elastic:main Jul 30, 2026
9 checks passed
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package azure - 1.38.0 containing this change is available at https://epr.elastic.co/package/azure/1.38.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:azure Azure Logs Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Team:SDE-Crest Crest developers on the Security Integrations team [elastic/sit-crest-contractors] Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Azure]: mapping user fields to ECS

5 participants