Skip to content

[Stack connector] Forward telemetryMetadata.pluginId to EIS use case header#214269

Merged
stephmilovic merged 4 commits intoelastic:mainfrom
stephmilovic:inference_telemetry_header
Mar 13, 2025
Merged

[Stack connector] Forward telemetryMetadata.pluginId to EIS use case header#214269
stephmilovic merged 4 commits intoelastic:mainfrom
stephmilovic:inference_telemetry_header

Conversation

@stephmilovic
Copy link
Contributor

@stephmilovic stephmilovic commented Mar 12, 2025

Summary

Forwards the existing telemetry field telemetryMetadata.pluginId to EIS HTTP header X-Elastic-Product-Use-Case.

Adds the telemetry field to any possible .inference subaction for the following use cases:

  • siem_migrations
  • security_ai_assistant
  • security_attack_discovery
  • security_defend_insights
  • automatic_import

Resolves https://github.com/elastic/search-team/issues/9425
Resolves https://github.com/elastic/search-team/issues/9426
Resolves https://github.com/elastic/search-team/issues/9427

@stephmilovic stephmilovic added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Security Generative AI Security Generative AI backport:version Backport to applied version labels v8.18.0 v9.1.0 v8.19.0 labels Mar 12, 2025
@stephmilovic stephmilovic requested review from a team as code owners March 12, 2025 19:24
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Copy link
Member

@P1llus P1llus left a comment

Choose a reason for hiding this comment

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

Looks fine for automatic import. For SIEM Migrations it might be a bit confusing with our other EBT telemetry events being called siem_migrations_* though, but we can work with that.

@stephmilovic
Copy link
Contributor Author

For SIEM Migrations it might be a bit confusing with our other EBT telemetry events being called siem_migrations_* though, but we can work with that.

If @timgrein is ok with siem_migrations I'm happy to leave it as that. Will wait on his response before merging

Copy link
Contributor

@szwarckonrad szwarckonrad left a comment

Choose a reason for hiding this comment

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

DW code LGTM!

@gergoabraham gergoabraham removed their request for review March 13, 2025 09:25
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

@stephmilovic stephmilovic merged commit 13906cb into elastic:main Mar 13, 2025
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.18, 8.x, 9.0

https://github.com/elastic/kibana/actions/runs/13838767548

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.18 Backport failed because of merge conflicts
8.x Backport failed because of merge conflicts
9.0 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 214269

Questions ?

Please refer to the Backport tool documentation

stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Mar 13, 2025
…e header (elastic#214269)

(cherry picked from commit 13906cb)

# Conflicts:
#	x-pack/solutions/security/plugins/elastic_assistant/server/routes/defend_insights/helpers.ts
stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Mar 13, 2025
…e header (elastic#214269)

(cherry picked from commit 13906cb)

# Conflicts:
#	x-pack/platform/plugins/shared/automatic_import/server/routes/analyze_api_route.ts
#	x-pack/solutions/security/plugins/elastic_assistant/server/routes/defend_insights/helpers.ts
stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Mar 13, 2025
…e header (elastic#214269)

(cherry picked from commit 13906cb)

# Conflicts:
#	x-pack/platform/plugins/shared/automatic_import/server/routes/analyze_api_route.ts
#	x-pack/solutions/security/plugins/elastic_assistant/server/routes/defend_insights/helpers.ts
@stephmilovic
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.0
8.x
8.18

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

stephmilovic added a commit that referenced this pull request Mar 13, 2025
…se case header (#214269) (#214426)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Stack connector] Forward `telemetryMetadata.pluginId` to EIS use
case header (#214269)](#214269)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-03-13T15:44:06Z","message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case
header","number":214269,"url":"https://github.com/elastic/kibana/pull/214269","mergeCommit":{"message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214269","number":214269,"mergeCommit":{"message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
stephmilovic added a commit that referenced this pull request Mar 13, 2025
…use case header (#214269) (#214429)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Stack connector] Forward `telemetryMetadata.pluginId` to EIS use
case header (#214269)](#214269)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-03-13T15:44:06Z","message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case
header","number":214269,"url":"https://github.com/elastic/kibana/pull/214269","mergeCommit":{"message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214269","number":214269,"mergeCommit":{"message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
stephmilovic added a commit that referenced this pull request Mar 13, 2025
…se case header (#214269) (#214427)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Stack connector] Forward `telemetryMetadata.pluginId` to EIS use
case header (#214269)](#214269)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-03-13T15:44:06Z","message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case
header","number":214269,"url":"https://github.com/elastic/kibana/pull/214269","mergeCommit":{"message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214269","number":214269,"mergeCommit":{"message":"[Stack
connector] Forward `telemetryMetadata.pluginId` to EIS use case header
(#214269)","sha":"13906cbb76a17e7226084d208b52164e00f09c0e"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
viduni94 added a commit that referenced this pull request Mar 13, 2025
…e case header (#214285)

## Summary

Closes elastic/obs-ai-team#217

This PR forwards the Obs AI Assistant use case header for EIS through
the existing `telemetryData` property.

Relates to elastic/search-team#9424
The header is implemented in this PR -
#214269

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 13, 2025
…e case header (elastic#214285)

## Summary

Closes elastic/obs-ai-team#217

This PR forwards the Obs AI Assistant use case header for EIS through
the existing `telemetryData` property.

Relates to elastic/search-team#9424
The header is implemented in this PR -
elastic#214269

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit d66e0b2)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 13, 2025
…e case header (elastic#214285)

## Summary

Closes elastic/obs-ai-team#217

This PR forwards the Obs AI Assistant use case header for EIS through
the existing `telemetryData` property.

Relates to elastic/search-team#9424
The header is implemented in this PR -
elastic#214269

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit d66e0b2)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 13, 2025
…e case header (elastic#214285)

## Summary

Closes elastic/obs-ai-team#217

This PR forwards the Obs AI Assistant use case header for EIS through
the existing `telemetryData` property.

Relates to elastic/search-team#9424
The header is implemented in this PR -
elastic#214269

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit d66e0b2)
kibanamachine added a commit that referenced this pull request Mar 13, 2025
…EIS use case header (#214285) (#214481)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Obs AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS
use case header
(#214285)](#214285)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2025-03-13T19:29:37Z","message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Obs
AI
Assistant","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header","number":214285,"url":"https://github.com/elastic/kibana/pull/214285","mergeCommit":{"message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214285","number":214285,"mergeCommit":{"message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Viduni Wickramarachchi <viduni.wickramarachchi@elastic.co>
kibanamachine added a commit that referenced this pull request Mar 13, 2025
… EIS use case header (#214285) (#214479)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Obs AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS
use case header
(#214285)](#214285)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2025-03-13T19:29:37Z","message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Obs
AI
Assistant","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header","number":214285,"url":"https://github.com/elastic/kibana/pull/214285","mergeCommit":{"message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214285","number":214285,"mergeCommit":{"message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Viduni Wickramarachchi <viduni.wickramarachchi@elastic.co>
kibanamachine added a commit that referenced this pull request Mar 13, 2025
…EIS use case header (#214285) (#214480)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS
use case header
(#214285)](#214285)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2025-03-13T19:29:37Z","message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Obs
AI
Assistant","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header","number":214285,"url":"https://github.com/elastic/kibana/pull/214285","mergeCommit":{"message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214285","number":214285,"mergeCommit":{"message":"[Obs
AI Assistant] Forward `telemetryMetadata.pluginId` to the EIS use case
header (#214285)\n\n## Summary\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/217\n\nThis PR
forwards the Obs AI Assistant use case header for EIS through\nthe
existing `telemetryData` property.\n\nRelates to
https://github.com/elastic/search-team/issues/9424\nThe header is
implemented in this PR
-\nhttps://github.com//pull/214269\n\n### Checklist\n\n-
[x] The PR description includes the appropriate Release Notes
section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d66e0b25258b0568857bf6a0882e4d40e1f7e771"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Viduni Wickramarachchi <viduni.wickramarachchi@elastic.co>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
…e case header (elastic#214285)

## Summary

Closes elastic/obs-ai-team#217

This PR forwards the Obs AI Assistant use case header for EIS through
the existing `telemetryData` property.

Relates to elastic/search-team#9424
The header is implemented in this PR -
elastic#214269

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.18.0 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants