Skip to content

Add client secret (oauth2) support into azure event hub integrations#17245

Draft
kaiyan-sheng wants to merge 4 commits intomainfrom
oauth2-azure
Draft

Add client secret (oauth2) support into azure event hub integrations#17245
kaiyan-sheng wants to merge 4 commits intomainfrom
oauth2-azure

Conversation

@kaiyan-sheng
Copy link
Contributor

@kaiyan-sheng kaiyan-sheng commented Feb 5, 2026

Proposed commit message

Add OAuth2 client secret authentication support for Azure Event Hub integrations
This enhancement adds OAuth2 (client_secret) authentication support to all Azure integrations that use Event Hub, following the implementation in elastic/beats#47256.

Changes include:

  • Added auth_type parameter to select between connection_string (default) and client_secret authentication
  • Added OAuth2 parameters: eventhub_namespace, tenant_id, client_id, client_secret, authority_host
  • Made connection_string and storage_account_key optional (conditionally required based on auth_type)
  • Updated all affected template files to output OAuth2 parameters
  • Version bumped 11 packages with changelog entries

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

Author's Checklist

Affected 12 packages:

  • azure
  • azure_logs
  • azure_openai
  • azure_functions
  • azure_frontdoor
  • azure_app_service
  • azure_ai_foundry
  • microsoft_sentinel
  • microsoft_defender_cloud
  • m365_defender
  • kubernetes
  • github

How to test this PR locally

Related issues

Screenshots

@elastic-vault-github-plugin-prod
Copy link

elastic-vault-github-plugin-prod bot commented Feb 5, 2026

🚀 Benchmarks report

Package azure 👍(7) 💚(4) 💔(1)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
auditlogs 4629.63 3289.47 -1340.16 (-28.95%) 💔

Package azure_openai 👍(1) 💚(0) 💔(1)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
logs 1540.83 1200.48 -340.35 (-22.09%) 💔

Package github 👍(3) 💚(1) 💔(2)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
audit 6802.72 4201.68 -2601.04 (-38.24%) 💔
code_scanning 5747.13 4201.68 -1545.45 (-26.89%) 💔

Package m365_defender 👍(3) 💚(1) 💔(4)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
incident 1035.2 796.62 -238.58 (-23.05%) 💔
vulnerability 13333.33 7293.95 -6039.38 (-45.3%) 💔
alert 718.39 535.91 -182.48 (-25.4%) 💔
vulnerability 13333.33 10752.69 -2580.64 (-19.35%) 💔

Package microsoft_defender_cloud 👍(1) 💚(0) 💔(1)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
assessment 1161.44 920.81 -240.63 (-20.72%) 💔

Package microsoft_sentinel 👍(2) 💚(0) 💔(1)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
event 5154.64 2808.99 -2345.65 (-45.51%) 💔

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

elasticmachine commented Feb 5, 2026

💔 Build Failed

Failed CI Steps

History

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Azure] Add client secret (Oauth2) support

3 participants