Commit graph

654 commits

Author SHA1 Message Date
Philippe Oberti
50485ea1f0
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-threat-hunting-investigations (#202855) (#204150)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting-investigations`
(#202855)](https://github.com/elastic/kibana/pull/202855)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T22:22:03Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting-investigations` (#202855)\n\n##
Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules
(plugins and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 2 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/threat-intelligence-plugin`
|\r\n`x-pack/solutions/security/plugins/threat_intelligence` |\r\n|
`@kbn/timelines-plugin`
|\r\n`x-pack/solutions/security/plugins/timelines` |\r\n\r\n#### 2
packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/expandable-flyout`
|\r\n`x-pack/solutions/security/packages/kbn-expandable-flyout` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\nCo-authored-by: PhilippeOberti
<philippe.oberti@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33c18c72fa019430c6b73503dc3176e0136e3861","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","Team:Threat
Hunting","Team:Threat
Hunting:Investigations","backport:prev-minor","v8.18.0"],"number":202855,"url":"https://github.com/elastic/kibana/pull/202855","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting-investigations` (#202855)\n\n##
Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules
(plugins and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 2 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/threat-intelligence-plugin`
|\r\n`x-pack/solutions/security/plugins/threat_intelligence` |\r\n|
`@kbn/timelines-plugin`
|\r\n`x-pack/solutions/security/plugins/timelines` |\r\n\r\n#### 2
packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/expandable-flyout`
|\r\n`x-pack/solutions/security/packages/kbn-expandable-flyout` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\nCo-authored-by: PhilippeOberti
<philippe.oberti@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33c18c72fa019430c6b73503dc3176e0136e3861"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202855","number":202855,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting-investigations` (#202855)\n\n##
Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules
(plugins and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 2 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/threat-intelligence-plugin`
|\r\n`x-pack/solutions/security/plugins/threat_intelligence` |\r\n|
`@kbn/timelines-plugin`
|\r\n`x-pack/solutions/security/plugins/timelines` |\r\n\r\n#### 2
packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/expandable-flyout`
|\r\n`x-pack/solutions/security/packages/kbn-expandable-flyout` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\nCo-authored-by: PhilippeOberti
<philippe.oberti@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33c18c72fa019430c6b73503dc3176e0136e3861"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2024-12-13 01:05:36 -06:00
Gerard Soldevila
24447a49e2
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ai-assistant (#202763) (#204032)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/obs-ai-assistant`
(#202763)](https://github.com/elastic/kibana/pull/202763)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T10:35:10Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-ai-assistant`
(#202763)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 5 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ai-assistant-management-plugin`
|\r\n`src/platform/plugins/shared/ai_assistant_management/selection`
|\r\n| `@kbn/data-usage-plugin`
|\r\n`x-pack/platform/plugins/private/data_usage` |\r\n|
`@kbn/observability-ai-assistant-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_app`\r\n|\r\n|
`@kbn/observability-ai-assistant-management-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_management`\r\n|\r\n|
`@kbn/observability-ai-assistant-plugin`
|\r\n`x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant`\r\n|\r\n\r\n\r\n\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_common`\r\n|\r\n|
`@kbn/observability-ai-server`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_server`\r\n|\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js\r\n./src/platform/plugins/shared/discover/tsconfig.type_check.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/data_usage/jest.config.js\r\n./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js\r\n./x-pack/plugins/enterprise_search/kibana.jsonc\r\n./x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/index.ts\r\n./x-pack/plugins/observability_solution/observability_ai_assistant_app/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/kibana.jsonc\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/README.md\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./x-pack/test_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/jest.config.js:12\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:18\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:21\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:24\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:27\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:30\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:33\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:36\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:39\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:42\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:45\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:48\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:51\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:54\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/private/data_usage/jest.config.js:10\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:11\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js:10\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:7\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:43\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:46\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:49\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:52\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:55\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:58\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:61\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:94\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:100\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:103\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:106\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:109\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:112\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:118\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:121\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:124\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:127\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:130\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:133\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:136\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:139\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:142\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:145\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:148\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:151\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:154\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:157\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:160\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:163\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:166\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:169\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:172\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:175\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:178\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:181\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:184\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:190\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:193\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:22\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:28\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:31\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:34\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:37\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:40\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:43\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:46\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:49\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:52\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:55\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:58\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:61\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:64\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:67\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:70\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:73\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:76\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:79\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:82\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:85\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:88\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:9\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:91\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:94\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:18\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:63\r\n```\r\n\r\n</details>","sha":"84b19ec3eae0f0b13ad4c08e2927db811d39a263","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:Obs
AI
Assistant","ci:project-deploy-observability"],"number":202763,"url":"https://github.com/elastic/kibana/pull/202763","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-ai-assistant`
(#202763)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 5 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ai-assistant-management-plugin`
|\r\n`src/platform/plugins/shared/ai_assistant_management/selection`
|\r\n| `@kbn/data-usage-plugin`
|\r\n`x-pack/platform/plugins/private/data_usage` |\r\n|
`@kbn/observability-ai-assistant-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_app`\r\n|\r\n|
`@kbn/observability-ai-assistant-management-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_management`\r\n|\r\n|
`@kbn/observability-ai-assistant-plugin`
|\r\n`x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant`\r\n|\r\n\r\n\r\n\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_common`\r\n|\r\n|
`@kbn/observability-ai-server`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_server`\r\n|\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js\r\n./src/platform/plugins/shared/discover/tsconfig.type_check.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/data_usage/jest.config.js\r\n./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js\r\n./x-pack/plugins/enterprise_search/kibana.jsonc\r\n./x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/index.ts\r\n./x-pack/plugins/observability_solution/observability_ai_assistant_app/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/kibana.jsonc\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/README.md\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./x-pack/test_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/jest.config.js:12\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:18\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:21\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:24\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:27\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:30\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:33\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:36\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:39\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:42\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:45\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:48\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:51\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:54\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/private/data_usage/jest.config.js:10\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:11\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js:10\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:7\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:43\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:46\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:49\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:52\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:55\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:58\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:61\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:94\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:100\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:103\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:106\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:109\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:112\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:118\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:121\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:124\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:127\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:130\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:133\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:136\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:139\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:142\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:145\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:148\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:151\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:154\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:157\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:160\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:163\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:166\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:169\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:172\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:175\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:178\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:181\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:184\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:190\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:193\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:22\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:28\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:31\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:34\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:37\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:40\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:43\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:46\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:49\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:52\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:55\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:58\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:61\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:64\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:67\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:70\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:73\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:76\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:79\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:82\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:85\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:88\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:9\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:91\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:94\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:18\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:63\r\n```\r\n\r\n</details>","sha":"84b19ec3eae0f0b13ad4c08e2927db811d39a263"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202763","number":202763,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-ai-assistant`
(#202763)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 5 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ai-assistant-management-plugin`
|\r\n`src/platform/plugins/shared/ai_assistant_management/selection`
|\r\n| `@kbn/data-usage-plugin`
|\r\n`x-pack/platform/plugins/private/data_usage` |\r\n|
`@kbn/observability-ai-assistant-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_app`\r\n|\r\n|
`@kbn/observability-ai-assistant-management-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_ai_assistant_management`\r\n|\r\n|
`@kbn/observability-ai-assistant-plugin`
|\r\n`x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant`\r\n|\r\n\r\n\r\n\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_common`\r\n|\r\n|
`@kbn/observability-ai-server`
|\r\n`x-pack/solutions/observability/packages/observability_ai/observability_ai_server`\r\n|\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js\r\n./src/platform/plugins/shared/discover/tsconfig.type_check.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/data_usage/jest.config.js\r\n./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js\r\n./x-pack/plugins/enterprise_search/kibana.jsonc\r\n./x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/index.ts\r\n./x-pack/plugins/observability_solution/observability_ai_assistant_app/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/kibana.jsonc\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/README.md\r\n./x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./x-pack/test_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/jest.config.js:12\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:18\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:21\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:24\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:27\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:30\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:33\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:36\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:39\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:42\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:45\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:48\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:51\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:54\r\nsrc/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/private/data_usage/jest.config.js:10\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:11\r\nx-pack/platform/plugins/private/data_usage/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js:10\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:7\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:43\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:46\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:49\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:52\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:55\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:58\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:61\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:94\r\nx-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability_ai/observability_ai_server/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:100\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:103\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:106\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:109\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:112\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:118\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:121\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:124\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:127\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:130\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:133\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:136\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:139\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:142\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:145\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:148\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:151\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:154\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:157\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:160\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:163\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:166\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:169\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:172\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:175\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:178\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:181\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:184\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:190\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:193\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:22\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:28\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:31\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:34\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:37\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:40\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:43\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:46\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:49\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:52\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:55\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:58\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:61\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:64\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:67\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:70\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:73\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:76\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:79\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:82\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:85\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:88\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:9\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:91\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:94\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:97\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:18\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:63\r\n```\r\n\r\n</details>","sha":"84b19ec3eae0f0b13ad4c08e2927db811d39a263"}}]}]
BACKPORT-->
2024-12-12 11:22:21 -06:00
Joe Reuter
b4e83ba8bc
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/streams-program-team (#203731)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
@elastic/streams-program-team](https://github.com/elastic/kibana/pull/203180)

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2024-12-11 11:24:32 +00:00
Gerard Soldevila
a139ae940d
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-localization (#202725) (#203564)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/kibana-localization`
(#202725)](https://github.com/elastic/kibana/pull/202725)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-10T12:56:15Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-localization` (#202725)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 1 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/translations-plugin`
|\r\n`x-pack/platform/plugins/private/translations`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-synthetic-package-map/synthetic-packages.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/i18n_tools/README.md\r\n./tsconfig.base.json\r\n./tsconfig.refs.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/translations/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>","sha":"c609daa97c2b0aa94aebc3fce76c9439e8a4d95c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"number":202725,"url":"https://github.com/elastic/kibana/pull/202725","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-localization` (#202725)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 1 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/translations-plugin`
|\r\n`x-pack/platform/plugins/private/translations`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-synthetic-package-map/synthetic-packages.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/i18n_tools/README.md\r\n./tsconfig.base.json\r\n./tsconfig.refs.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/translations/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>","sha":"c609daa97c2b0aa94aebc3fce76c9439e8a4d95c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202725","number":202725,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-localization` (#202725)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 1 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/translations-plugin`
|\r\n`x-pack/platform/plugins/private/translations`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-synthetic-package-map/synthetic-packages.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/i18n_tools/README.md\r\n./tsconfig.base.json\r\n./tsconfig.refs.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/translations/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>","sha":"c609daa97c2b0aa94aebc3fce76c9439e8a4d95c"}}]}]
BACKPORT-->
2024-12-10 08:56:39 -06:00
Gerard Soldevila
e2c0e91d10
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/appex-ai-infra (#202410) (#203541)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/appex-ai-infra`
(#202410)](https://github.com/elastic/kibana/pull/202410)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-10T10:36:23Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/appex-ai-infra`
(#202410)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/inference-plugin` |
`x-pack/platform/plugins/shared/inference` |\r\n|
`@kbn/llm-tasks-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/llm_tasks` |\r\n|
`@kbn/product-doc-base-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/product_doc_base`
|\r\n\r\n\r\n#### 2 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n| `@kbn/inference-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/inference-common` |\r\n|
`@kbn/product-doc-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/product-doc-common`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js\r\n./x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:7\r\nx-pack/platform/plugins/shared/inference/jest.config.js:10\r\nx-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts:16\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:2\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"a0f5a7f3fc23d4ba241bc511ddd2987a679ec00d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:AI
Infra","ci:all-gen-ai-suites"],"number":202410,"url":"https://github.com/elastic/kibana/pull/202410","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/appex-ai-infra`
(#202410)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/inference-plugin` |
`x-pack/platform/plugins/shared/inference` |\r\n|
`@kbn/llm-tasks-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/llm_tasks` |\r\n|
`@kbn/product-doc-base-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/product_doc_base`
|\r\n\r\n\r\n#### 2 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n| `@kbn/inference-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/inference-common` |\r\n|
`@kbn/product-doc-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/product-doc-common`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js\r\n./x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:7\r\nx-pack/platform/plugins/shared/inference/jest.config.js:10\r\nx-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts:16\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:2\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"a0f5a7f3fc23d4ba241bc511ddd2987a679ec00d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202410","number":202410,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/appex-ai-infra`
(#202410)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/inference-plugin` |
`x-pack/platform/plugins/shared/inference` |\r\n|
`@kbn/llm-tasks-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/llm_tasks` |\r\n|
`@kbn/product-doc-base-plugin`
|\r\n`x-pack/platform/plugins/shared/ai_infra/product_doc_base`
|\r\n\r\n\r\n#### 2 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n| `@kbn/inference-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/inference-common` |\r\n|
`@kbn/product-doc-common`
|\r\n`x-pack/platform/packages/shared/ai-infra/product-doc-common`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js\r\n./x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js\r\n./x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/jest.config.js\r\n./x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js:10\r\nx-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js:10\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:7\r\nx-pack/platform/plugins/shared/inference/jest.config.js:10\r\nx-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts:16\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:2\r\nx-pack/platform/plugins/shared/inference/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"a0f5a7f3fc23d4ba241bc511ddd2987a679ec00d"}}]}]
BACKPORT-->
2024-12-10 14:07:01 +01:00
Walter Rafelsberger
39d7292748
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/ml-ui (#202764) (#203480)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/ml-ui`
(#202764)](https://github.com/elastic/kibana/pull/202764)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-09T16:36:25Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/ml-ui`
(#202764)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 4 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/aiops-plugin` | `x-pack/platform/plugins/shared/aiops`
|\r\n| `@kbn/data-visualizer-plugin`
|\r\n`x-pack/platform/plugins/private/data_visualizer` |\r\n|
`@kbn/ml-plugin` | `x-pack/platform/plugins/shared/ml` |\r\n|
`@kbn/transform-plugin` |
`x-pack/platform/plugins/private/transform`\r\n|\r\n\r\n\r\n#### 42
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/aiops-change-point-detection`
|\r\n`x-pack/platform/packages/private/ml/aiops_change_point_detection`
|\r\n| `@kbn/aiops-common`
|\r\n`x-pack/platform/packages/shared/ml/aiops_common` |\r\n|
`@kbn/aiops-components`
|\r\n`x-pack/platform/packages/private/ml/aiops_components` |\r\n|
`@kbn/aiops-log-pattern-analysis`
|\r\n`x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis`
|\r\n| `@kbn/aiops-log-rate-analysis`
|\r\n`x-pack/platform/packages/shared/ml/aiops_log_rate_analysis` |\r\n|
`@kbn/aiops-test-utils`
|\r\n`x-pack/platform/packages/private/ml/aiops_test_utils` |\r\n|
`@kbn/deeplinks-ml` | `src/platform/packages/shared/deeplinks/ml` |\r\n|
`@kbn/default-nav-ml` |
`src/platform/packages/private/default-nav/ml`\r\n|\r\n|
`@kbn/inference_integration_flyout`
|\r\n`x-pack/platform/packages/private/ml/inference_integration_flyout`
|\r\n| `@kbn/json-schemas`
|\r\n`x-pack/platform/packages/private/ml/json_schemas` |\r\n|
`@kbn/ml-agg-utils` |
`x-pack/platform/packages/private/ml/agg_utils`\r\n|\r\n|
`@kbn/ml-anomaly-utils`
|\r\n`x-pack/platform/packages/shared/ml/anomaly_utils` |\r\n|
`@kbn/ml-cancellable-search`
|\r\n`x-pack/platform/packages/private/ml/cancellable_search` |\r\n|
`@kbn/ml-category-validator`
|\r\n`x-pack/platform/packages/private/ml/category_validator` |\r\n|
`@kbn/ml-chi2test` | `x-pack/platform/packages/shared/ml/chi2test`
|\r\n| `@kbn/ml-creation-wizard-utils`
|\r\n`x-pack/platform/packages/private/ml/creation_wizard_utils` |\r\n|
`@kbn/ml-data-frame-analytics-utils`
|\r\n`x-pack/platform/packages/private/ml/data_frame_analytics_utils`
|\r\n| `@kbn/ml-data-grid` |
`x-pack/platform/packages/private/ml/data_grid`\r\n|\r\n|
`@kbn/ml-data-view-utils`
|\r\n`x-pack/platform/packages/private/ml/data_view_utils` |\r\n|
`@kbn/ml-date-picker`
|\r\n`x-pack/platform/packages/private/ml/date_picker` |\r\n|
`@kbn/ml-date-utils`
|\r\n`x-pack/platform/packages/private/ml/date_utils` |\r\n|
`@kbn/ml-error-utils`
|\r\n`x-pack/platform/packages/shared/ml/error_utils` |\r\n|
`@kbn/ml-field-stats-flyout`
|\r\n`x-pack/platform/packages/private/ml/field_stats_flyout` |\r\n|
`@kbn/ml-in-memory-table`
|\r\n`x-pack/platform/packages/private/ml/in_memory_table` |\r\n|
`@kbn/ml-is-defined`
|\r\n`x-pack/platform/packages/private/ml/is_defined` |\r\n|
`@kbn/ml-is-populated-object`
|\r\n`x-pack/platform/packages/private/ml/is_populated_object` |\r\n|
`@kbn/ml-kibana-theme`
|\r\n`x-pack/platform/packages/private/ml/kibana_theme` |\r\n|
`@kbn/ml-local-storage`
|\r\n`x-pack/platform/packages/private/ml/local_storage` |\r\n|
`@kbn/ml-nested-property`
|\r\n`x-pack/platform/packages/private/ml/nested_property` |\r\n|
`@kbn/ml-number-utils`
|\r\n`x-pack/platform/packages/private/ml/number_utils` |\r\n|
`@kbn/ml-parse-interval`
|\r\n`x-pack/platform/packages/private/ml/parse_interval` |\r\n|
`@kbn/ml-query-utils`
|\r\n`x-pack/platform/packages/private/ml/query_utils` |\r\n|
`@kbn/ml-random-sampler-utils`
|\r\n`x-pack/platform/packages/shared/ml/random_sampler_utils` |\r\n|
`@kbn/ml-response-stream`
|\r\n`x-pack/platform/packages/shared/ml/response_stream` |\r\n|
`@kbn/ml-route-utils`
|\r\n`x-pack/platform/packages/private/ml/route_utils` |\r\n|
`@kbn/ml-runtime-field-utils`
|\r\n`x-pack/platform/packages/shared/ml/runtime_field_utils` |\r\n|
`@kbn/ml-string-hash`
|\r\n`x-pack/platform/packages/private/ml/string_hash` |\r\n|
`@kbn/ml-time-buckets`
|\r\n`x-pack/platform/packages/private/ml/time_buckets` |\r\n|
`@kbn/ml-trained-models-utils`
|\r\n`x-pack/platform/packages/shared/ml/trained_models_utils` |\r\n|
`@kbn/ml-ui-actions`
|\r\n`x-pack/platform/packages/private/ml/ui_actions` |\r\n|
`@kbn/ml-url-state` |
`x-pack/platform/packages/private/ml/url_state`\r\n|\r\n|
`@kbn/ml-validators`
|\r\n`x-pack/platform/packages/private/ml/validators`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\r\n./docs/developer/plugin-list.asciidoc\r\n./docs/redirects.asciidoc\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-synthetic-package-map/synthetic-packages.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/default-nav/ml/jest.config.js\r\n./src/platform/packages/shared/deeplinks/ml/jest.config.js\r\n./tsconfig.base.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/packages/security-solution/navigation/src/constants.ts\r\n./x-pack/platform/packages/private/ml/agg_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_components/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/cancellable_search/jest.config.js\r\n./x-pack/platform/packages/private/ml/category_validator/jest.config.js\r\n./x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_grid/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_view_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_picker/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js\r\n./x-pack/platform/packages/private/ml/in_memory_table/jest.config.js\r\n./x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js\r\n./x-pack/platform/packages/private/ml/is_defined/jest.config.js\r\n./x-pack/platform/packages/private/ml/is_populated_object/jest.config.js\r\n./x-pack/platform/packages/private/ml/json_schemas/jest.config.js\r\n./x-pack/platform/packages/private/ml/kibana_theme/jest.config.js\r\n./x-pack/platform/packages/private/ml/local_storage/jest.config.js\r\n./x-pack/platform/packages/private/ml/nested_property/jest.config.js\r\n./x-pack/platform/packages/private/ml/number_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/parse_interval/jest.config.js\r\n./x-pack/platform/packages/private/ml/query_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/route_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/string_hash/jest.config.js\r\n./x-pack/platform/packages/private/ml/time_buckets/jest.config.js\r\n./x-pack/platform/packages/private/ml/ui_actions/jest.config.js\r\n./x-pack/platform/packages/private/ml/url_state/jest.config.js\r\n./x-pack/platform/packages/private/ml/validators/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_common/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js\r\n./x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/chi2test/jest.config.js\r\n./x-pack/platform/packages/shared/ml/error_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/response_stream/jest.config.js\r\n./x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js\r\n./x-pack/platform/plugins/private/data_visualizer/jest.config.js\r\n./x-pack/platform/plugins/private/transform/jest.config.js\r\n./x-pack/platform/plugins/private/transform/readme.md\r\n./x-pack/platform/plugins/shared/aiops/README.md\r\n./x-pack/platform/plugins/shared/aiops/jest.config.js\r\n./x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts\r\n./x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts\r\n./x-pack/platform/plugins/shared/ml/jest.config.js\r\n./x-pack/platform/plugins/shared/ml/readme.md\r\n./x-pack/plugins/aiops/README.md\r\n./x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts\r\n./x-pack/plugins/security_solution/common/machine_learning/helpers.ts\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/default-nav/ml/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/ml/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/ml/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/ml/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/agg_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/agg_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_components/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_components/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/cancellable_search/jest.config.js:10\r\nx-pack/platform/packages/private/ml/cancellable_search/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/category_validator/jest.config.js:10\r\nx-pack/platform/packages/private/ml/category_validator/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_grid/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_grid/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_view_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_view_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/date_picker/jest.config.js:10\r\nx-pack/platform/packages/private/ml/date_picker/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/date_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/date_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js:10\r\nx-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/in_memory_table/jest.config.js:10\r\nx-pack/platform/packages/private/ml/in_memory_table/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js:10\r\nx-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/is_defined/jest.config.js:10\r\nx-pack/platform/packages/private/ml/is_defined/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/is_populated_object/jest.config.js:10\r\nx-pack/platform/packages/private/ml/is_populated_object/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/json_schemas/jest.config.js:10\r\nx-pack/platform/packages/private/ml/json_schemas/package.json:7\r\nx-pack/platform/packages/private/ml/json_schemas/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/kibana_theme/jest.config.js:10\r\nx-pack/platform/packages/private/ml/kibana_theme/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/local_storage/jest.config.js:10\r\nx-pack/platform/packages/private/ml/local_storage/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/nested_property/jest.config.js:10\r\nx-pack/platform/packages/private/ml/nested_property/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/number_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/number_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/parse_interval/jest.config.js:10\r\nx-pack/platform/packages/private/ml/parse_interval/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/query_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/query_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/route_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/route_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/string_hash/jest.config.js:10\r\nx-pack/platform/packages/private/ml/string_hash/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/time_buckets/jest.config.js:10\r\nx-pack/platform/packages/private/ml/time_buckets/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/ui_actions/jest.config.js:10\r\nx-pack/platform/packages/private/ml/ui_actions/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/url_state/jest.config.js:10\r\nx-pack/platform/packages/private/ml/url_state/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/validators/jest.config.js:10\r\nx-pack/platform/packages/private/ml/validators/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_common/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/chi2test/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/chi2test/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/error_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/error_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/response_stream/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/response_stream/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json:2\r\nx-pack/platform/plugins/private/data_visualizer/jest.config.js:10\r\nx-pack/platform/plugins/private/data_visualizer/tsconfig.json:2\r\nx-pack/platform/plugins/private/data_visualizer/tsconfig.json:7\r\nx-pack/platform/plugins/private/transform/jest.config.js:10\r\nx-pack/platform/plugins/private/transform/tsconfig.json:10\r\nx-pack/platform/plugins/private/transform/tsconfig.json:2\r\nx-pack/platform/plugins/shared/aiops/jest.config.js:10\r\nx-pack/platform/plugins/shared/aiops/tsconfig.json:2\r\nx-pack/platform/plugins/shared/aiops/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ml/jest.config.js:10\r\nx-pack/platform/plugins/shared/ml/readme.md:186\r\nx-pack/platform/plugins/shared/ml/readme.md:192\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:12\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:24\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Walter Rafelsberger
<walter.rafelsberger@elastic.co>","sha":"58b8b47928288d87c7c9d28368e110e2f3bb423d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core",":ml","release_note:skip","v9.0.0","Team:ML","backport:prev-minor","backport:version","v8.18.0"],"number":202764,"url":"https://github.com/elastic/kibana/pull/202764","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/ml-ui`
(#202764)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 4 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/aiops-plugin` | `x-pack/platform/plugins/shared/aiops`
|\r\n| `@kbn/data-visualizer-plugin`
|\r\n`x-pack/platform/plugins/private/data_visualizer` |\r\n|
`@kbn/ml-plugin` | `x-pack/platform/plugins/shared/ml` |\r\n|
`@kbn/transform-plugin` |
`x-pack/platform/plugins/private/transform`\r\n|\r\n\r\n\r\n#### 42
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/aiops-change-point-detection`
|\r\n`x-pack/platform/packages/private/ml/aiops_change_point_detection`
|\r\n| `@kbn/aiops-common`
|\r\n`x-pack/platform/packages/shared/ml/aiops_common` |\r\n|
`@kbn/aiops-components`
|\r\n`x-pack/platform/packages/private/ml/aiops_components` |\r\n|
`@kbn/aiops-log-pattern-analysis`
|\r\n`x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis`
|\r\n| `@kbn/aiops-log-rate-analysis`
|\r\n`x-pack/platform/packages/shared/ml/aiops_log_rate_analysis` |\r\n|
`@kbn/aiops-test-utils`
|\r\n`x-pack/platform/packages/private/ml/aiops_test_utils` |\r\n|
`@kbn/deeplinks-ml` | `src/platform/packages/shared/deeplinks/ml` |\r\n|
`@kbn/default-nav-ml` |
`src/platform/packages/private/default-nav/ml`\r\n|\r\n|
`@kbn/inference_integration_flyout`
|\r\n`x-pack/platform/packages/private/ml/inference_integration_flyout`
|\r\n| `@kbn/json-schemas`
|\r\n`x-pack/platform/packages/private/ml/json_schemas` |\r\n|
`@kbn/ml-agg-utils` |
`x-pack/platform/packages/private/ml/agg_utils`\r\n|\r\n|
`@kbn/ml-anomaly-utils`
|\r\n`x-pack/platform/packages/shared/ml/anomaly_utils` |\r\n|
`@kbn/ml-cancellable-search`
|\r\n`x-pack/platform/packages/private/ml/cancellable_search` |\r\n|
`@kbn/ml-category-validator`
|\r\n`x-pack/platform/packages/private/ml/category_validator` |\r\n|
`@kbn/ml-chi2test` | `x-pack/platform/packages/shared/ml/chi2test`
|\r\n| `@kbn/ml-creation-wizard-utils`
|\r\n`x-pack/platform/packages/private/ml/creation_wizard_utils` |\r\n|
`@kbn/ml-data-frame-analytics-utils`
|\r\n`x-pack/platform/packages/private/ml/data_frame_analytics_utils`
|\r\n| `@kbn/ml-data-grid` |
`x-pack/platform/packages/private/ml/data_grid`\r\n|\r\n|
`@kbn/ml-data-view-utils`
|\r\n`x-pack/platform/packages/private/ml/data_view_utils` |\r\n|
`@kbn/ml-date-picker`
|\r\n`x-pack/platform/packages/private/ml/date_picker` |\r\n|
`@kbn/ml-date-utils`
|\r\n`x-pack/platform/packages/private/ml/date_utils` |\r\n|
`@kbn/ml-error-utils`
|\r\n`x-pack/platform/packages/shared/ml/error_utils` |\r\n|
`@kbn/ml-field-stats-flyout`
|\r\n`x-pack/platform/packages/private/ml/field_stats_flyout` |\r\n|
`@kbn/ml-in-memory-table`
|\r\n`x-pack/platform/packages/private/ml/in_memory_table` |\r\n|
`@kbn/ml-is-defined`
|\r\n`x-pack/platform/packages/private/ml/is_defined` |\r\n|
`@kbn/ml-is-populated-object`
|\r\n`x-pack/platform/packages/private/ml/is_populated_object` |\r\n|
`@kbn/ml-kibana-theme`
|\r\n`x-pack/platform/packages/private/ml/kibana_theme` |\r\n|
`@kbn/ml-local-storage`
|\r\n`x-pack/platform/packages/private/ml/local_storage` |\r\n|
`@kbn/ml-nested-property`
|\r\n`x-pack/platform/packages/private/ml/nested_property` |\r\n|
`@kbn/ml-number-utils`
|\r\n`x-pack/platform/packages/private/ml/number_utils` |\r\n|
`@kbn/ml-parse-interval`
|\r\n`x-pack/platform/packages/private/ml/parse_interval` |\r\n|
`@kbn/ml-query-utils`
|\r\n`x-pack/platform/packages/private/ml/query_utils` |\r\n|
`@kbn/ml-random-sampler-utils`
|\r\n`x-pack/platform/packages/shared/ml/random_sampler_utils` |\r\n|
`@kbn/ml-response-stream`
|\r\n`x-pack/platform/packages/shared/ml/response_stream` |\r\n|
`@kbn/ml-route-utils`
|\r\n`x-pack/platform/packages/private/ml/route_utils` |\r\n|
`@kbn/ml-runtime-field-utils`
|\r\n`x-pack/platform/packages/shared/ml/runtime_field_utils` |\r\n|
`@kbn/ml-string-hash`
|\r\n`x-pack/platform/packages/private/ml/string_hash` |\r\n|
`@kbn/ml-time-buckets`
|\r\n`x-pack/platform/packages/private/ml/time_buckets` |\r\n|
`@kbn/ml-trained-models-utils`
|\r\n`x-pack/platform/packages/shared/ml/trained_models_utils` |\r\n|
`@kbn/ml-ui-actions`
|\r\n`x-pack/platform/packages/private/ml/ui_actions` |\r\n|
`@kbn/ml-url-state` |
`x-pack/platform/packages/private/ml/url_state`\r\n|\r\n|
`@kbn/ml-validators`
|\r\n`x-pack/platform/packages/private/ml/validators`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\r\n./docs/developer/plugin-list.asciidoc\r\n./docs/redirects.asciidoc\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-synthetic-package-map/synthetic-packages.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/default-nav/ml/jest.config.js\r\n./src/platform/packages/shared/deeplinks/ml/jest.config.js\r\n./tsconfig.base.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/packages/security-solution/navigation/src/constants.ts\r\n./x-pack/platform/packages/private/ml/agg_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_components/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/cancellable_search/jest.config.js\r\n./x-pack/platform/packages/private/ml/category_validator/jest.config.js\r\n./x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_grid/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_view_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_picker/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js\r\n./x-pack/platform/packages/private/ml/in_memory_table/jest.config.js\r\n./x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js\r\n./x-pack/platform/packages/private/ml/is_defined/jest.config.js\r\n./x-pack/platform/packages/private/ml/is_populated_object/jest.config.js\r\n./x-pack/platform/packages/private/ml/json_schemas/jest.config.js\r\n./x-pack/platform/packages/private/ml/kibana_theme/jest.config.js\r\n./x-pack/platform/packages/private/ml/local_storage/jest.config.js\r\n./x-pack/platform/packages/private/ml/nested_property/jest.config.js\r\n./x-pack/platform/packages/private/ml/number_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/parse_interval/jest.config.js\r\n./x-pack/platform/packages/private/ml/query_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/route_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/string_hash/jest.config.js\r\n./x-pack/platform/packages/private/ml/time_buckets/jest.config.js\r\n./x-pack/platform/packages/private/ml/ui_actions/jest.config.js\r\n./x-pack/platform/packages/private/ml/url_state/jest.config.js\r\n./x-pack/platform/packages/private/ml/validators/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_common/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js\r\n./x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/chi2test/jest.config.js\r\n./x-pack/platform/packages/shared/ml/error_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/response_stream/jest.config.js\r\n./x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js\r\n./x-pack/platform/plugins/private/data_visualizer/jest.config.js\r\n./x-pack/platform/plugins/private/transform/jest.config.js\r\n./x-pack/platform/plugins/private/transform/readme.md\r\n./x-pack/platform/plugins/shared/aiops/README.md\r\n./x-pack/platform/plugins/shared/aiops/jest.config.js\r\n./x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts\r\n./x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts\r\n./x-pack/platform/plugins/shared/ml/jest.config.js\r\n./x-pack/platform/plugins/shared/ml/readme.md\r\n./x-pack/plugins/aiops/README.md\r\n./x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts\r\n./x-pack/plugins/security_solution/common/machine_learning/helpers.ts\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/default-nav/ml/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/ml/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/ml/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/ml/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/agg_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/agg_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_components/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_components/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/cancellable_search/jest.config.js:10\r\nx-pack/platform/packages/private/ml/cancellable_search/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/category_validator/jest.config.js:10\r\nx-pack/platform/packages/private/ml/category_validator/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_grid/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_grid/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_view_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_view_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/date_picker/jest.config.js:10\r\nx-pack/platform/packages/private/ml/date_picker/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/date_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/date_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js:10\r\nx-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/in_memory_table/jest.config.js:10\r\nx-pack/platform/packages/private/ml/in_memory_table/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js:10\r\nx-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/is_defined/jest.config.js:10\r\nx-pack/platform/packages/private/ml/is_defined/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/is_populated_object/jest.config.js:10\r\nx-pack/platform/packages/private/ml/is_populated_object/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/json_schemas/jest.config.js:10\r\nx-pack/platform/packages/private/ml/json_schemas/package.json:7\r\nx-pack/platform/packages/private/ml/json_schemas/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/kibana_theme/jest.config.js:10\r\nx-pack/platform/packages/private/ml/kibana_theme/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/local_storage/jest.config.js:10\r\nx-pack/platform/packages/private/ml/local_storage/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/nested_property/jest.config.js:10\r\nx-pack/platform/packages/private/ml/nested_property/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/number_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/number_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/parse_interval/jest.config.js:10\r\nx-pack/platform/packages/private/ml/parse_interval/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/query_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/query_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/route_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/route_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/string_hash/jest.config.js:10\r\nx-pack/platform/packages/private/ml/string_hash/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/time_buckets/jest.config.js:10\r\nx-pack/platform/packages/private/ml/time_buckets/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/ui_actions/jest.config.js:10\r\nx-pack/platform/packages/private/ml/ui_actions/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/url_state/jest.config.js:10\r\nx-pack/platform/packages/private/ml/url_state/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/validators/jest.config.js:10\r\nx-pack/platform/packages/private/ml/validators/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_common/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/chi2test/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/chi2test/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/error_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/error_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/response_stream/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/response_stream/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json:2\r\nx-pack/platform/plugins/private/data_visualizer/jest.config.js:10\r\nx-pack/platform/plugins/private/data_visualizer/tsconfig.json:2\r\nx-pack/platform/plugins/private/data_visualizer/tsconfig.json:7\r\nx-pack/platform/plugins/private/transform/jest.config.js:10\r\nx-pack/platform/plugins/private/transform/tsconfig.json:10\r\nx-pack/platform/plugins/private/transform/tsconfig.json:2\r\nx-pack/platform/plugins/shared/aiops/jest.config.js:10\r\nx-pack/platform/plugins/shared/aiops/tsconfig.json:2\r\nx-pack/platform/plugins/shared/aiops/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ml/jest.config.js:10\r\nx-pack/platform/plugins/shared/ml/readme.md:186\r\nx-pack/platform/plugins/shared/ml/readme.md:192\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:12\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:24\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Walter Rafelsberger
<walter.rafelsberger@elastic.co>","sha":"58b8b47928288d87c7c9d28368e110e2f3bb423d"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202764","number":202764,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/ml-ui`
(#202764)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 4 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/aiops-plugin` | `x-pack/platform/plugins/shared/aiops`
|\r\n| `@kbn/data-visualizer-plugin`
|\r\n`x-pack/platform/plugins/private/data_visualizer` |\r\n|
`@kbn/ml-plugin` | `x-pack/platform/plugins/shared/ml` |\r\n|
`@kbn/transform-plugin` |
`x-pack/platform/plugins/private/transform`\r\n|\r\n\r\n\r\n#### 42
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/aiops-change-point-detection`
|\r\n`x-pack/platform/packages/private/ml/aiops_change_point_detection`
|\r\n| `@kbn/aiops-common`
|\r\n`x-pack/platform/packages/shared/ml/aiops_common` |\r\n|
`@kbn/aiops-components`
|\r\n`x-pack/platform/packages/private/ml/aiops_components` |\r\n|
`@kbn/aiops-log-pattern-analysis`
|\r\n`x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis`
|\r\n| `@kbn/aiops-log-rate-analysis`
|\r\n`x-pack/platform/packages/shared/ml/aiops_log_rate_analysis` |\r\n|
`@kbn/aiops-test-utils`
|\r\n`x-pack/platform/packages/private/ml/aiops_test_utils` |\r\n|
`@kbn/deeplinks-ml` | `src/platform/packages/shared/deeplinks/ml` |\r\n|
`@kbn/default-nav-ml` |
`src/platform/packages/private/default-nav/ml`\r\n|\r\n|
`@kbn/inference_integration_flyout`
|\r\n`x-pack/platform/packages/private/ml/inference_integration_flyout`
|\r\n| `@kbn/json-schemas`
|\r\n`x-pack/platform/packages/private/ml/json_schemas` |\r\n|
`@kbn/ml-agg-utils` |
`x-pack/platform/packages/private/ml/agg_utils`\r\n|\r\n|
`@kbn/ml-anomaly-utils`
|\r\n`x-pack/platform/packages/shared/ml/anomaly_utils` |\r\n|
`@kbn/ml-cancellable-search`
|\r\n`x-pack/platform/packages/private/ml/cancellable_search` |\r\n|
`@kbn/ml-category-validator`
|\r\n`x-pack/platform/packages/private/ml/category_validator` |\r\n|
`@kbn/ml-chi2test` | `x-pack/platform/packages/shared/ml/chi2test`
|\r\n| `@kbn/ml-creation-wizard-utils`
|\r\n`x-pack/platform/packages/private/ml/creation_wizard_utils` |\r\n|
`@kbn/ml-data-frame-analytics-utils`
|\r\n`x-pack/platform/packages/private/ml/data_frame_analytics_utils`
|\r\n| `@kbn/ml-data-grid` |
`x-pack/platform/packages/private/ml/data_grid`\r\n|\r\n|
`@kbn/ml-data-view-utils`
|\r\n`x-pack/platform/packages/private/ml/data_view_utils` |\r\n|
`@kbn/ml-date-picker`
|\r\n`x-pack/platform/packages/private/ml/date_picker` |\r\n|
`@kbn/ml-date-utils`
|\r\n`x-pack/platform/packages/private/ml/date_utils` |\r\n|
`@kbn/ml-error-utils`
|\r\n`x-pack/platform/packages/shared/ml/error_utils` |\r\n|
`@kbn/ml-field-stats-flyout`
|\r\n`x-pack/platform/packages/private/ml/field_stats_flyout` |\r\n|
`@kbn/ml-in-memory-table`
|\r\n`x-pack/platform/packages/private/ml/in_memory_table` |\r\n|
`@kbn/ml-is-defined`
|\r\n`x-pack/platform/packages/private/ml/is_defined` |\r\n|
`@kbn/ml-is-populated-object`
|\r\n`x-pack/platform/packages/private/ml/is_populated_object` |\r\n|
`@kbn/ml-kibana-theme`
|\r\n`x-pack/platform/packages/private/ml/kibana_theme` |\r\n|
`@kbn/ml-local-storage`
|\r\n`x-pack/platform/packages/private/ml/local_storage` |\r\n|
`@kbn/ml-nested-property`
|\r\n`x-pack/platform/packages/private/ml/nested_property` |\r\n|
`@kbn/ml-number-utils`
|\r\n`x-pack/platform/packages/private/ml/number_utils` |\r\n|
`@kbn/ml-parse-interval`
|\r\n`x-pack/platform/packages/private/ml/parse_interval` |\r\n|
`@kbn/ml-query-utils`
|\r\n`x-pack/platform/packages/private/ml/query_utils` |\r\n|
`@kbn/ml-random-sampler-utils`
|\r\n`x-pack/platform/packages/shared/ml/random_sampler_utils` |\r\n|
`@kbn/ml-response-stream`
|\r\n`x-pack/platform/packages/shared/ml/response_stream` |\r\n|
`@kbn/ml-route-utils`
|\r\n`x-pack/platform/packages/private/ml/route_utils` |\r\n|
`@kbn/ml-runtime-field-utils`
|\r\n`x-pack/platform/packages/shared/ml/runtime_field_utils` |\r\n|
`@kbn/ml-string-hash`
|\r\n`x-pack/platform/packages/private/ml/string_hash` |\r\n|
`@kbn/ml-time-buckets`
|\r\n`x-pack/platform/packages/private/ml/time_buckets` |\r\n|
`@kbn/ml-trained-models-utils`
|\r\n`x-pack/platform/packages/shared/ml/trained_models_utils` |\r\n|
`@kbn/ml-ui-actions`
|\r\n`x-pack/platform/packages/private/ml/ui_actions` |\r\n|
`@kbn/ml-url-state` |
`x-pack/platform/packages/private/ml/url_state`\r\n|\r\n|
`@kbn/ml-validators`
|\r\n`x-pack/platform/packages/private/ml/validators`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\r\n./docs/developer/plugin-list.asciidoc\r\n./docs/redirects.asciidoc\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-synthetic-package-map/synthetic-packages.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/default-nav/ml/jest.config.js\r\n./src/platform/packages/shared/deeplinks/ml/jest.config.js\r\n./tsconfig.base.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/packages/security-solution/navigation/src/constants.ts\r\n./x-pack/platform/packages/private/ml/agg_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_components/jest.config.js\r\n./x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/cancellable_search/jest.config.js\r\n./x-pack/platform/packages/private/ml/category_validator/jest.config.js\r\n./x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_grid/jest.config.js\r\n./x-pack/platform/packages/private/ml/data_view_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_picker/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js\r\n./x-pack/platform/packages/private/ml/in_memory_table/jest.config.js\r\n./x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js\r\n./x-pack/platform/packages/private/ml/is_defined/jest.config.js\r\n./x-pack/platform/packages/private/ml/is_populated_object/jest.config.js\r\n./x-pack/platform/packages/private/ml/json_schemas/jest.config.js\r\n./x-pack/platform/packages/private/ml/kibana_theme/jest.config.js\r\n./x-pack/platform/packages/private/ml/local_storage/jest.config.js\r\n./x-pack/platform/packages/private/ml/nested_property/jest.config.js\r\n./x-pack/platform/packages/private/ml/number_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/parse_interval/jest.config.js\r\n./x-pack/platform/packages/private/ml/query_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/route_utils/jest.config.js\r\n./x-pack/platform/packages/private/ml/string_hash/jest.config.js\r\n./x-pack/platform/packages/private/ml/time_buckets/jest.config.js\r\n./x-pack/platform/packages/private/ml/ui_actions/jest.config.js\r\n./x-pack/platform/packages/private/ml/url_state/jest.config.js\r\n./x-pack/platform/packages/private/ml/validators/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_common/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js\r\n./x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/chi2test/jest.config.js\r\n./x-pack/platform/packages/shared/ml/error_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/response_stream/jest.config.js\r\n./x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js\r\n./x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js\r\n./x-pack/platform/plugins/private/data_visualizer/jest.config.js\r\n./x-pack/platform/plugins/private/transform/jest.config.js\r\n./x-pack/platform/plugins/private/transform/readme.md\r\n./x-pack/platform/plugins/shared/aiops/README.md\r\n./x-pack/platform/plugins/shared/aiops/jest.config.js\r\n./x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts\r\n./x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts\r\n./x-pack/platform/plugins/shared/ml/jest.config.js\r\n./x-pack/platform/plugins/shared/ml/readme.md\r\n./x-pack/plugins/aiops/README.md\r\n./x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts\r\n./x-pack/plugins/security_solution/common/machine_learning/helpers.ts\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/default-nav/ml/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/ml/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/ml/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/ml/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/agg_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/agg_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_components/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_components/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/cancellable_search/jest.config.js:10\r\nx-pack/platform/packages/private/ml/cancellable_search/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/category_validator/jest.config.js:10\r\nx-pack/platform/packages/private/ml/category_validator/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_grid/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_grid/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/data_view_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/data_view_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/date_picker/jest.config.js:10\r\nx-pack/platform/packages/private/ml/date_picker/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/date_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/date_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js:10\r\nx-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/in_memory_table/jest.config.js:10\r\nx-pack/platform/packages/private/ml/in_memory_table/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js:10\r\nx-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/is_defined/jest.config.js:10\r\nx-pack/platform/packages/private/ml/is_defined/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/is_populated_object/jest.config.js:10\r\nx-pack/platform/packages/private/ml/is_populated_object/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/json_schemas/jest.config.js:10\r\nx-pack/platform/packages/private/ml/json_schemas/package.json:7\r\nx-pack/platform/packages/private/ml/json_schemas/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/kibana_theme/jest.config.js:10\r\nx-pack/platform/packages/private/ml/kibana_theme/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/local_storage/jest.config.js:10\r\nx-pack/platform/packages/private/ml/local_storage/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/nested_property/jest.config.js:10\r\nx-pack/platform/packages/private/ml/nested_property/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/number_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/number_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/parse_interval/jest.config.js:10\r\nx-pack/platform/packages/private/ml/parse_interval/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/query_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/query_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/route_utils/jest.config.js:10\r\nx-pack/platform/packages/private/ml/route_utils/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/string_hash/jest.config.js:10\r\nx-pack/platform/packages/private/ml/string_hash/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/time_buckets/jest.config.js:10\r\nx-pack/platform/packages/private/ml/time_buckets/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/ui_actions/jest.config.js:10\r\nx-pack/platform/packages/private/ml/ui_actions/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/url_state/jest.config.js:10\r\nx-pack/platform/packages/private/ml/url_state/tsconfig.json:2\r\nx-pack/platform/packages/private/ml/validators/jest.config.js:10\r\nx-pack/platform/packages/private/ml/validators/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_common/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_common/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/chi2test/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/chi2test/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/error_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/error_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/response_stream/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/response_stream/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json:2\r\nx-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json:2\r\nx-pack/platform/plugins/private/data_visualizer/jest.config.js:10\r\nx-pack/platform/plugins/private/data_visualizer/tsconfig.json:2\r\nx-pack/platform/plugins/private/data_visualizer/tsconfig.json:7\r\nx-pack/platform/plugins/private/transform/jest.config.js:10\r\nx-pack/platform/plugins/private/transform/tsconfig.json:10\r\nx-pack/platform/plugins/private/transform/tsconfig.json:2\r\nx-pack/platform/plugins/shared/aiops/jest.config.js:10\r\nx-pack/platform/plugins/shared/aiops/tsconfig.json:2\r\nx-pack/platform/plugins/shared/aiops/tsconfig.json:7\r\nx-pack/platform/plugins/shared/ml/jest.config.js:10\r\nx-pack/platform/plugins/shared/ml/readme.md:186\r\nx-pack/platform/plugins/shared/ml/readme.md:192\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:12\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ml/tsconfig.json:24\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Walter Rafelsberger
<walter.rafelsberger@elastic.co>","sha":"58b8b47928288d87c7c9d28368e110e2f3bb423d"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2024-12-09 14:11:04 -07:00
Gerard Soldevila
609f61d1d5
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-entities (#202713) (#203402)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/obs-entities`
(#202713)](https://github.com/elastic/kibana/pull/202713)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-06T18:59:17Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-entities`
(#202713)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/entities-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_solution/entities_data_access`\r\n|\r\n|
`@kbn/entityManager-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_solution/entity_manager_app`\r\n|\r\n|
`@kbn/entityManager-plugin`
|\r\n`x-pack/platform/plugins/shared/entity_manager` |\r\n\r\n\r\n#### 1
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/entities-schema`
|\r\n`x-pack/platform/packages/shared/kbn-entities-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/kbn-entities-schema/jest.config.js\r\n./x-pack/platform/plugins/shared/entity_manager/jest.config.js\r\n./x-pack/plugins/entity_manager/docs/entity_definitions.md\r\n./x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/kbn-entities-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js:65\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/serve_oas_ui.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/tsconfig.json:2\r\nx-pack/platform/plugins/shared/entity_manager/jest.config.js:10\r\nx-pack/platform/plugins/shared/entity_manager/tsconfig.json:2\r\nx-pack/platform/plugins/shared/entity_manager/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js:12\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Rudolf Meijering
<skaapgif@gmail.com>","sha":"df3b18214f893ef587a59a64ffe5c3dc533abc8b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-entities"],"number":202713,"url":"https://github.com/elastic/kibana/pull/202713","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-entities`
(#202713)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/entities-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_solution/entities_data_access`\r\n|\r\n|
`@kbn/entityManager-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_solution/entity_manager_app`\r\n|\r\n|
`@kbn/entityManager-plugin`
|\r\n`x-pack/platform/plugins/shared/entity_manager` |\r\n\r\n\r\n#### 1
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/entities-schema`
|\r\n`x-pack/platform/packages/shared/kbn-entities-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/kbn-entities-schema/jest.config.js\r\n./x-pack/platform/plugins/shared/entity_manager/jest.config.js\r\n./x-pack/plugins/entity_manager/docs/entity_definitions.md\r\n./x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/kbn-entities-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js:65\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/serve_oas_ui.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/tsconfig.json:2\r\nx-pack/platform/plugins/shared/entity_manager/jest.config.js:10\r\nx-pack/platform/plugins/shared/entity_manager/tsconfig.json:2\r\nx-pack/platform/plugins/shared/entity_manager/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js:12\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Rudolf Meijering
<skaapgif@gmail.com>","sha":"df3b18214f893ef587a59a64ffe5c3dc533abc8b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202713","number":202713,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-entities`
(#202713)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 3 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/entities-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_solution/entities_data_access`\r\n|\r\n|
`@kbn/entityManager-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_solution/entity_manager_app`\r\n|\r\n|
`@kbn/entityManager-plugin`
|\r\n`x-pack/platform/plugins/shared/entity_manager` |\r\n\r\n\r\n#### 1
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/entities-schema`
|\r\n`x-pack/platform/packages/shared/kbn-entities-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/kbn-entities-schema/jest.config.js\r\n./x-pack/platform/plugins/shared/entity_manager/jest.config.js\r\n./x-pack/plugins/entity_manager/docs/entity_definitions.md\r\n./x-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/packages/shared/kbn-entities-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js:65\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/generate_oas.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/scripts/serve_oas_ui.js:8\r\nx-pack/platform/packages/shared/kbn-entities-schema/tsconfig.json:2\r\nx-pack/platform/plugins/shared/entity_manager/jest.config.js:10\r\nx-pack/platform/plugins/shared/entity_manager/tsconfig.json:2\r\nx-pack/platform/plugins/shared/entity_manager/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability_solution/entities_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/observability_solution/entities_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/jest.config.js:12\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_solution/entity_manager_app/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Rudolf Meijering
<skaapgif@gmail.com>","sha":"df3b18214f893ef587a59a64ffe5c3dc533abc8b"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-09 12:25:21 -06:00
Gerard Soldevila
da80d01ab5
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-esql (#202722) (#203390)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/kibana-esql`
(#202722)](https://github.com/elastic/kibana/pull/202722)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-09T10:33:55Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-esql`
(#202722)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 2 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/esql` | `src/platform/plugins/shared/esql` |\r\n|
`@kbn/esql-datagrid` | `src/platform/plugins/shared/esql_datagrid`
|\r\n\r\n\r\n#### 5 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n | `@kbn/esql-ast` |
`src/platform/packages/shared/kbn-esql-ast` |\r\n| `@kbn/esql-editor` |
`src/platform/packages/private/kbn-esql-editor` |\r\n| `@kbn/esql-utils`
| `src/platform/packages/shared/kbn-esql-utils` |\r\n|
`@kbn/esql-validation-autocomplete`
|\r\n`src/platform/packages/shared/kbn-esql-validation-autocomplete`
|\r\n| `@kbn/language-documentation`
|\r\n`src/platform/packages/private/kbn-language-documentation`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/esql_generate_function_metadata.sh\r\n./.buildkite/scripts/steps/esql_grammar_sync.sh\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/esql_ast_inspector/public/plugin.ts\r\n./examples/esql_validation_example/public/plugin.ts\r\n./package.json\r\n./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts\r\n./packages/kbn-monaco/BUILD.bazel\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./packages/kbn-ui-shared-deps-src/BUILD.bazel\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-esql-editor/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/package.json\r\n./src/platform/packages/shared/kbn-esql-ast/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts\r\n./src/platform/plugins/shared/esql/jest.config.js\r\n./src/platform/plugins/shared/esql_datagrid/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-esql-editor/jest.config.js:12\r\nsrc/platform/packages/private/kbn-esql-editor/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-language-documentation/jest.config.js:12\r\nsrc/platform/packages/private/kbn-language-documentation/package.json:12\r\nsrc/platform/packages/private/kbn-language-documentation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-ast/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-ast/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:10\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:11\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts:389\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/jest.config.js:12\r\nsrc/platform/plugins/shared/esql/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/tsconfig.json:7\r\nsrc/platform/plugins/shared/esql_datagrid/jest.config.js:12\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Rudolf Meijering
<skaapgif@gmail.com>","sha":"313f973aecac80f7eb6340ba517870999e0da1a3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:ESQL"],"number":202722,"url":"https://github.com/elastic/kibana/pull/202722","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-esql`
(#202722)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 2 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/esql` | `src/platform/plugins/shared/esql` |\r\n|
`@kbn/esql-datagrid` | `src/platform/plugins/shared/esql_datagrid`
|\r\n\r\n\r\n#### 5 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n | `@kbn/esql-ast` |
`src/platform/packages/shared/kbn-esql-ast` |\r\n| `@kbn/esql-editor` |
`src/platform/packages/private/kbn-esql-editor` |\r\n| `@kbn/esql-utils`
| `src/platform/packages/shared/kbn-esql-utils` |\r\n|
`@kbn/esql-validation-autocomplete`
|\r\n`src/platform/packages/shared/kbn-esql-validation-autocomplete`
|\r\n| `@kbn/language-documentation`
|\r\n`src/platform/packages/private/kbn-language-documentation`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/esql_generate_function_metadata.sh\r\n./.buildkite/scripts/steps/esql_grammar_sync.sh\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/esql_ast_inspector/public/plugin.ts\r\n./examples/esql_validation_example/public/plugin.ts\r\n./package.json\r\n./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts\r\n./packages/kbn-monaco/BUILD.bazel\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./packages/kbn-ui-shared-deps-src/BUILD.bazel\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-esql-editor/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/package.json\r\n./src/platform/packages/shared/kbn-esql-ast/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts\r\n./src/platform/plugins/shared/esql/jest.config.js\r\n./src/platform/plugins/shared/esql_datagrid/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-esql-editor/jest.config.js:12\r\nsrc/platform/packages/private/kbn-esql-editor/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-language-documentation/jest.config.js:12\r\nsrc/platform/packages/private/kbn-language-documentation/package.json:12\r\nsrc/platform/packages/private/kbn-language-documentation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-ast/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-ast/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:10\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:11\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts:389\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/jest.config.js:12\r\nsrc/platform/plugins/shared/esql/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/tsconfig.json:7\r\nsrc/platform/plugins/shared/esql_datagrid/jest.config.js:12\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Rudolf Meijering
<skaapgif@gmail.com>","sha":"313f973aecac80f7eb6340ba517870999e0da1a3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202722","number":202722,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-esql`
(#202722)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 2 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/esql` | `src/platform/plugins/shared/esql` |\r\n|
`@kbn/esql-datagrid` | `src/platform/plugins/shared/esql_datagrid`
|\r\n\r\n\r\n#### 5 package(s) are going to be relocated:\r\n\r\n | Id |
Target folder |\r\n | -- | ------------- |\r\n | `@kbn/esql-ast` |
`src/platform/packages/shared/kbn-esql-ast` |\r\n| `@kbn/esql-editor` |
`src/platform/packages/private/kbn-esql-editor` |\r\n| `@kbn/esql-utils`
| `src/platform/packages/shared/kbn-esql-utils` |\r\n|
`@kbn/esql-validation-autocomplete`
|\r\n`src/platform/packages/shared/kbn-esql-validation-autocomplete`
|\r\n| `@kbn/language-documentation`
|\r\n`src/platform/packages/private/kbn-language-documentation`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/esql_generate_function_metadata.sh\r\n./.buildkite/scripts/steps/esql_grammar_sync.sh\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/esql_ast_inspector/public/plugin.ts\r\n./examples/esql_validation_example/public/plugin.ts\r\n./package.json\r\n./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts\r\n./packages/kbn-monaco/BUILD.bazel\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./packages/kbn-ui-shared-deps-src/BUILD.bazel\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-esql-editor/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/jest.config.js\r\n./src/platform/packages/private/kbn-language-documentation/package.json\r\n./src/platform/packages/shared/kbn-esql-ast/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json\r\n./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts\r\n./src/platform/plugins/shared/esql/jest.config.js\r\n./src/platform/plugins/shared/esql_datagrid/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-esql-editor/jest.config.js:12\r\nsrc/platform/packages/private/kbn-esql-editor/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-language-documentation/jest.config.js:12\r\nsrc/platform/packages/private/kbn-language-documentation/package.json:12\r\nsrc/platform/packages/private/kbn-language-documentation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-ast/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-ast/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js:12\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:10\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:11\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts:389\r\nsrc/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/jest.config.js:12\r\nsrc/platform/plugins/shared/esql/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql/tsconfig.json:7\r\nsrc/platform/plugins/shared/esql_datagrid/jest.config.js:12\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:2\r\nsrc/platform/plugins/shared/esql_datagrid/tsconfig.json:7\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Rudolf Meijering
<skaapgif@gmail.com>","sha":"313f973aecac80f7eb6340ba517870999e0da1a3"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-09 10:20:46 -06:00
Alberto Blázquez
692b9b1e5a
[8.x] Create the "Asset Inventory" Kibana Plugin (#202291) (#202827)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Create the "Asset Inventory" Kibana Plugin
(#202291)](https://github.com/elastic/kibana/pull/202291)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Alberto
Blázquez","email":"albertoblaz@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-03T10:29:53Z","message":"Create
the \"Asset Inventory\" Kibana Plugin (#202291)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/201704.\r\n\r\nCreate an empty
\"Asset Inventory\" plugin with the minimal boilerplate\r\nrequired to
set it up, install it and run it on Kibana with a
blank\r\nslate.\r\n\r\nI generated the files using the `node
scripts/generate_plugin <NAME>`\r\nscript as per [this
documentation\r\npage](https://docs.elastic.dev/kibana-dev-docs/getting-started/hello-world-app#2-option-2---use-the-automatic-plugin-generator).\r\n\r\n###
Screenshots\r\n\r\n\r\n<details><summary>Main page (Sample
page)</summary>\r\n<img width=\"2498\" alt=\"Screenshot 2024-11-29 at 14
20
57\"\r\nsrc=\"https://github.com/user-attachments/assets/9d8a3751-519b-4661-bc90-cbb1e836b111\">\r\n</details>
\r\n\r\n### Implementation details\r\n\r\n- [x] Generated a new Kibana
plugin with minimal boilerplate and zero\r\ndependencies\r\n- [x] Use
[Cloud
Security\r\nPosture](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud_security_posture)\r\nplugin
as configuration reference\r\n- [x] Render \"Inventory\" title on the
main page\r\n- [x] Ensure the plugin is properly integrated into
Kibana's build and\r\ncan be loaded without errors\r\n- [x] Place the
plugin under the `x-pack/plugins` directory\r\n- [x] Include Readme
file\r\n- [x] Introduce placeholders for initialization of pipelines
and\r\ntransforms following [Cloud
Security\r\nPosture](https://github.com/elastic/kibana/blob/main/x-pack/plugins/cloud_security_posture/server/plugin.ts)\r\nplugin
initialize function.\r\n\r\n### PR Checklist\r\n\r\n- [ ] No docs for
now\r\n~~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials~~\r\n- [x] The
PR description includes the appropriate Release Notes section,\r\nand
the correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Risks\r\n\r\nNo risks at all since this is totally green-field and will
be hidden by\r\na feature
toggle.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Paulo Silva
<paulo.henrique@elastic.co>","sha":"e5b1773971656ad9529935832675b5f9c1849594","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor","backport:version","v8.18.0"],"number":202291,"url":"https://github.com/elastic/kibana/pull/202291","mergeCommit":{"message":"Create
the \"Asset Inventory\" Kibana Plugin (#202291)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/201704.\r\n\r\nCreate an empty
\"Asset Inventory\" plugin with the minimal boilerplate\r\nrequired to
set it up, install it and run it on Kibana with a
blank\r\nslate.\r\n\r\nI generated the files using the `node
scripts/generate_plugin <NAME>`\r\nscript as per [this
documentation\r\npage](https://docs.elastic.dev/kibana-dev-docs/getting-started/hello-world-app#2-option-2---use-the-automatic-plugin-generator).\r\n\r\n###
Screenshots\r\n\r\n\r\n<details><summary>Main page (Sample
page)</summary>\r\n<img width=\"2498\" alt=\"Screenshot 2024-11-29 at 14
20
57\"\r\nsrc=\"https://github.com/user-attachments/assets/9d8a3751-519b-4661-bc90-cbb1e836b111\">\r\n</details>
\r\n\r\n### Implementation details\r\n\r\n- [x] Generated a new Kibana
plugin with minimal boilerplate and zero\r\ndependencies\r\n- [x] Use
[Cloud
Security\r\nPosture](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud_security_posture)\r\nplugin
as configuration reference\r\n- [x] Render \"Inventory\" title on the
main page\r\n- [x] Ensure the plugin is properly integrated into
Kibana's build and\r\ncan be loaded without errors\r\n- [x] Place the
plugin under the `x-pack/plugins` directory\r\n- [x] Include Readme
file\r\n- [x] Introduce placeholders for initialization of pipelines
and\r\ntransforms following [Cloud
Security\r\nPosture](https://github.com/elastic/kibana/blob/main/x-pack/plugins/cloud_security_posture/server/plugin.ts)\r\nplugin
initialize function.\r\n\r\n### PR Checklist\r\n\r\n- [ ] No docs for
now\r\n~~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials~~\r\n- [x] The
PR description includes the appropriate Release Notes section,\r\nand
the correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Risks\r\n\r\nNo risks at all since this is totally green-field and will
be hidden by\r\na feature
toggle.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Paulo Silva
<paulo.henrique@elastic.co>","sha":"e5b1773971656ad9529935832675b5f9c1849594"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202291","number":202291,"mergeCommit":{"message":"Create
the \"Asset Inventory\" Kibana Plugin (#202291)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/201704.\r\n\r\nCreate an empty
\"Asset Inventory\" plugin with the minimal boilerplate\r\nrequired to
set it up, install it and run it on Kibana with a
blank\r\nslate.\r\n\r\nI generated the files using the `node
scripts/generate_plugin <NAME>`\r\nscript as per [this
documentation\r\npage](https://docs.elastic.dev/kibana-dev-docs/getting-started/hello-world-app#2-option-2---use-the-automatic-plugin-generator).\r\n\r\n###
Screenshots\r\n\r\n\r\n<details><summary>Main page (Sample
page)</summary>\r\n<img width=\"2498\" alt=\"Screenshot 2024-11-29 at 14
20
57\"\r\nsrc=\"https://github.com/user-attachments/assets/9d8a3751-519b-4661-bc90-cbb1e836b111\">\r\n</details>
\r\n\r\n### Implementation details\r\n\r\n- [x] Generated a new Kibana
plugin with minimal boilerplate and zero\r\ndependencies\r\n- [x] Use
[Cloud
Security\r\nPosture](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud_security_posture)\r\nplugin
as configuration reference\r\n- [x] Render \"Inventory\" title on the
main page\r\n- [x] Ensure the plugin is properly integrated into
Kibana's build and\r\ncan be loaded without errors\r\n- [x] Place the
plugin under the `x-pack/plugins` directory\r\n- [x] Include Readme
file\r\n- [x] Introduce placeholders for initialization of pipelines
and\r\ntransforms following [Cloud
Security\r\nPosture](https://github.com/elastic/kibana/blob/main/x-pack/plugins/cloud_security_posture/server/plugin.ts)\r\nplugin
initialize function.\r\n\r\n### PR Checklist\r\n\r\n- [ ] No docs for
now\r\n~~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials~~\r\n- [x] The
PR description includes the appropriate Release Notes section,\r\nand
the correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Risks\r\n\r\nNo risks at all since this is totally green-field and will
be hidden by\r\na feature
toggle.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Paulo Silva
<paulo.henrique@elastic.co>","sha":"e5b1773971656ad9529935832675b5f9c1849594"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-03 16:37:49 -08:00
Dario Gieselaar
39929f132e
[8.x] [Streams] App plugin (#200060) (#201999)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Streams] App plugin
(#200060)](https://github.com/elastic/kibana/pull/200060)

<!--- Backport version: 7.3.2 -->

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

<!--BACKPORT {commits} BACKPORT-->

---------

Co-authored-by: Caue Marcondes <caue.marcondes@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-02 16:34:30 +01:00
Kevin Lacabane
337ab20ad3
[8.x] [eem] _search endpoint / initial entity manager UI (#199609) (#202050)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[eem] _search endpoint / initial entity manager UI
(#199609)](https://github.com/elastic/kibana/pull/199609)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Kevin
Lacabane","email":"kevin.lacabane@elastic.co"},"sourceCommit":{"committedDate":"2024-11-22T15:12:04Z","message":"[eem]
_search endpoint / initial entity manager UI (#199609)\n\n##
Summary\r\n\r\n- create `_search` endpoint to discover entities with
esql queries. It\r\ncurrently reads sources of the provided `type`
from\r\n`kibana_entity_definitions` index. Run this query to insert
a\r\ndefinition:\r\n```\r\nPOST kibana_entity_definitions/_doc\r\n{\r\n
\"entity_type\": \"service\",\r\n \"index_patterns\":
[\"remote_cluster:logs-*\"],\r\n \"metadata_fields\": [],\r\n
\"identity_fields\": [\"service.name\"],\r\n \"filters\": [],\r\n
\"timestamp_field\": \"@timestamp\"\r\n}\r\n```\r\n\r\nBy default
`_search` will look at data in the last 5m. The lookup period\r\ncan be
overriden by providing `start`/`end` parameters in ISO format.
It\r\nalso accepts a `limit` to specify the number of entities returned
which\r\ndefaults to 10\r\n\r\n```\r\nPOST
kbn:/internal/entities/v2/_search\r\n{\r\n \"type\": \"service\",\r\n
\"start\": \"2024-11-19T20:40:00.000Z\",\r\n \"end\":
\"2024-11-19T20:50:00.000Z\",\r\n \"limit\": 20\r\n}\r\n```\r\n\r\n-
create `_search/preview` endpoint to preview output of entity
sources\r\nwithout persisting them\r\n \r\n- create UI to preview
results of an entity definition at\r\n`/app/entity_manager`. The
application is living in its own plugin
at\r\n`observability_solution/entity_manager_app`\r\n![Screenshot
2024-11-11 at 11
37\r\n18](https://github.com/user-attachments/assets/f284342d-21a3-4ba1-be94-38cff311266c)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Milton Hultgren
<miltonhultgren@gmail.com>","sha":"0b3f4fbd3cd60663289fc13f8f01e3f4c9131479","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-entities"],"number":199609,"url":"https://github.com/elastic/kibana/pull/199609","mergeCommit":{"message":"[eem]
_search endpoint / initial entity manager UI (#199609)\n\n##
Summary\r\n\r\n- create `_search` endpoint to discover entities with
esql queries. It\r\ncurrently reads sources of the provided `type`
from\r\n`kibana_entity_definitions` index. Run this query to insert
a\r\ndefinition:\r\n```\r\nPOST kibana_entity_definitions/_doc\r\n{\r\n
\"entity_type\": \"service\",\r\n \"index_patterns\":
[\"remote_cluster:logs-*\"],\r\n \"metadata_fields\": [],\r\n
\"identity_fields\": [\"service.name\"],\r\n \"filters\": [],\r\n
\"timestamp_field\": \"@timestamp\"\r\n}\r\n```\r\n\r\nBy default
`_search` will look at data in the last 5m. The lookup period\r\ncan be
overriden by providing `start`/`end` parameters in ISO format.
It\r\nalso accepts a `limit` to specify the number of entities returned
which\r\ndefaults to 10\r\n\r\n```\r\nPOST
kbn:/internal/entities/v2/_search\r\n{\r\n \"type\": \"service\",\r\n
\"start\": \"2024-11-19T20:40:00.000Z\",\r\n \"end\":
\"2024-11-19T20:50:00.000Z\",\r\n \"limit\": 20\r\n}\r\n```\r\n\r\n-
create `_search/preview` endpoint to preview output of entity
sources\r\nwithout persisting them\r\n \r\n- create UI to preview
results of an entity definition at\r\n`/app/entity_manager`. The
application is living in its own plugin
at\r\n`observability_solution/entity_manager_app`\r\n![Screenshot
2024-11-11 at 11
37\r\n18](https://github.com/user-attachments/assets/f284342d-21a3-4ba1-be94-38cff311266c)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Milton Hultgren
<miltonhultgren@gmail.com>","sha":"0b3f4fbd3cd60663289fc13f8f01e3f4c9131479"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199609","number":199609,"mergeCommit":{"message":"[eem]
_search endpoint / initial entity manager UI (#199609)\n\n##
Summary\r\n\r\n- create `_search` endpoint to discover entities with
esql queries. It\r\ncurrently reads sources of the provided `type`
from\r\n`kibana_entity_definitions` index. Run this query to insert
a\r\ndefinition:\r\n```\r\nPOST kibana_entity_definitions/_doc\r\n{\r\n
\"entity_type\": \"service\",\r\n \"index_patterns\":
[\"remote_cluster:logs-*\"],\r\n \"metadata_fields\": [],\r\n
\"identity_fields\": [\"service.name\"],\r\n \"filters\": [],\r\n
\"timestamp_field\": \"@timestamp\"\r\n}\r\n```\r\n\r\nBy default
`_search` will look at data in the last 5m. The lookup period\r\ncan be
overriden by providing `start`/`end` parameters in ISO format.
It\r\nalso accepts a `limit` to specify the number of entities returned
which\r\ndefaults to 10\r\n\r\n```\r\nPOST
kbn:/internal/entities/v2/_search\r\n{\r\n \"type\": \"service\",\r\n
\"start\": \"2024-11-19T20:40:00.000Z\",\r\n \"end\":
\"2024-11-19T20:50:00.000Z\",\r\n \"limit\": 20\r\n}\r\n```\r\n\r\n-
create `_search/preview` endpoint to preview output of entity
sources\r\nwithout persisting them\r\n \r\n- create UI to preview
results of an entity definition at\r\n`/app/entity_manager`. The
application is living in its own plugin
at\r\n`observability_solution/entity_manager_app`\r\n![Screenshot
2024-11-11 at 11
37\r\n18](https://github.com/user-attachments/assets/f284342d-21a3-4ba1-be94-38cff311266c)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Milton Hultgren
<miltonhultgren@gmail.com>","sha":"0b3f4fbd3cd60663289fc13f8f01e3f4c9131479"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-28 11:14:38 +01:00
Dario Gieselaar
570afd9967
[8.x] [Streams] Introducing the new Streams plugin (#198713) (#201723)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Streams] Introducing the new Streams plugin
(#198713)](https://github.com/elastic/kibana/pull/198713)

<!--- Backport version: 7.3.2 -->

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

<!--BACKPORT {commits} BACKPORT-->

Co-authored-by: Chris Cowan <chris@elastic.co>
2024-11-26 11:12:27 +01:00
Joe McElroy
5d9b7fad43
[8.x] [Search] Introduce search navigation plugin (#200314) (#201603)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Search] Introduce search navigation plugin
(#200314)](https://github.com/elastic/kibana/pull/200314)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Rodney
Norris","email":"rodney.norris@elastic.co"},"sourceCommit":{"committedDate":"2024-11-22T14:35:49Z","message":"[Search]
Introduce search navigation plugin
(#200314)","sha":"a84122c4cab5a61002d91631078056ee5d9cdd08","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:prev-minor","v8.18.0"],"number":200314,"url":"https://github.com/elastic/kibana/pull/200314","mergeCommit":{"message":"[Search]
Introduce search navigation plugin
(#200314)","sha":"a84122c4cab5a61002d91631078056ee5d9cdd08"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200314","number":200314,"mergeCommit":{"message":"[Search]
Introduce search navigation plugin
(#200314)","sha":"a84122c4cab5a61002d91631078056ee5d9cdd08"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Rodney Norris <rodney.norris@elastic.co>
2024-11-25 10:00:41 -06:00
Pierre Gayvallet
b6fe3628e3
[8.x] [LLM tasks] Add product documentation retrieval task (#194379) (#200754)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[LLM tasks] Add product documentation retrieval task
(#194379)](https://github.com/elastic/kibana/pull/194379)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2024-11-19T14:28:26Z","message":"[LLM
tasks] Add product documentation retrieval task (#194379)\n\n##
Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/193473\r\nClose
https://github.com/elastic/kibana/issues/193474\r\n\r\nThis PR utilize
the documentation packages that are build via the tool\r\nintroduced by
https://github.com/elastic/kibana/pull/193847, allowing to\r\ninstall
them in Kibana and expose documentation retrieval as an LLM task\r\nthat
AI assistants (or other consumers) can call.\r\n\r\nUsers can now decide
to install the Elastic documentation from the\r\nassistant's config
screen, which will expose a new tool for the\r\nassistant,
`retrieve_documentation` (only implemented for the o11y\r\nassistant in
the current PR, shall be done for security as a follow up).\r\n\r\nFor
more information, please refer to the self-review.\r\n\r\n## General
architecture\r\n\r\n<img width=\"1118\" alt=\"Screenshot 2024-10-17 at
09 22
32\"\r\nsrc=\"https://github.com/user-attachments/assets/3df8c30a-9ccc-49ab-92ce-c204b96d6fc4\">\r\n\r\n##
What this PR does\r\n\r\nAdds two plugin:\r\n- `productDocBase`:
contains all the logic related to product\r\ndocumentation installation,
status, and search. This is meant to be a\r\n\"low level\" components
only responsible for this specific part.\r\n- `llmTasks`: an higher
level plugin that will contain various LLM tasks\r\nto be used by
assistants and genAI consumers. The intent is not to have\r\na single
place to put all llm tasks, but more to have a default place\r\nwhere we
can introduce new tasks from. (fwiw, the `nlToEsql` task
will\r\nprobably be moved to that plugin).\r\n\r\n- Add a
`retrieve_documentation` tool registration for the
o11y\r\nassistant\r\n- Add a component on the o11y assistant
configuration page to install\r\nthe product doc\r\n\r\n(wiring the
feature to the o11y assistant was done for testing purposes\r\nmostly,
any addition / changes / enhancement should be done by the\r\nowning
team - either in this PR or as a follow-up)\r\n\r\n## What is NOT
included in this PR:\r\n\r\n- Wire product base feature to the security
assistant (should be done by\r\nthe owning team as a follow-up)\r\n -
installation\r\n - utilization as tool\r\n\r\n- FTR tests: this is
somewhat blocked by the same things we need to\r\nfigure out for
https://github.com/elastic/kibana-team/issues/1271\r\n\r\n## Screenshots
\r\n\r\n### Installation from o11y assistant configuration
page\r\n\r\n<img width=\"1476\" alt=\"Screenshot 2024-10-17 at 09 41
24\"\r\nsrc=\"https://github.com/user-attachments/assets/31daa585-9fb2-400a-a2d1-5917a262367a\">\r\n\r\n###
Example of output\r\n\r\n#### Without product documentation installed
\r\n\r\n<img width=\"739\" alt=\"Screenshot 2024-10-10 at 09 59
41\"\r\nsrc=\"https://github.com/user-attachments/assets/993fb216-6c9a-433f-bf44-f6e383d20d9d\">\r\n\r\n####
With product documentation installed\r\n\r\n<img width=\"718\"
alt=\"Screenshot 2024-10-10 at 09 55
38\"\r\nsrc=\"https://github.com/user-attachments/assets/805ea4ca-8bc9-4355-a434-0ba81f8228a9\">\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Alex Szabo <alex.szabo@elastic.co>\r\nCo-authored-by: Matthias Wilhelm
<matthias.wilhelm@elastic.co>\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"455c781c6d1e1161f66e275299cf06064a0ffde2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:cloud-deploy","Team:Obs
AI Assistant","ci:project-deploy-observability","Team:AI
Infra","v8.17.0"],"number":194379,"url":"https://github.com/elastic/kibana/pull/194379","mergeCommit":{"message":"[LLM
tasks] Add product documentation retrieval task (#194379)\n\n##
Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/193473\r\nClose
https://github.com/elastic/kibana/issues/193474\r\n\r\nThis PR utilize
the documentation packages that are build via the tool\r\nintroduced by
https://github.com/elastic/kibana/pull/193847, allowing to\r\ninstall
them in Kibana and expose documentation retrieval as an LLM task\r\nthat
AI assistants (or other consumers) can call.\r\n\r\nUsers can now decide
to install the Elastic documentation from the\r\nassistant's config
screen, which will expose a new tool for the\r\nassistant,
`retrieve_documentation` (only implemented for the o11y\r\nassistant in
the current PR, shall be done for security as a follow up).\r\n\r\nFor
more information, please refer to the self-review.\r\n\r\n## General
architecture\r\n\r\n<img width=\"1118\" alt=\"Screenshot 2024-10-17 at
09 22
32\"\r\nsrc=\"https://github.com/user-attachments/assets/3df8c30a-9ccc-49ab-92ce-c204b96d6fc4\">\r\n\r\n##
What this PR does\r\n\r\nAdds two plugin:\r\n- `productDocBase`:
contains all the logic related to product\r\ndocumentation installation,
status, and search. This is meant to be a\r\n\"low level\" components
only responsible for this specific part.\r\n- `llmTasks`: an higher
level plugin that will contain various LLM tasks\r\nto be used by
assistants and genAI consumers. The intent is not to have\r\na single
place to put all llm tasks, but more to have a default place\r\nwhere we
can introduce new tasks from. (fwiw, the `nlToEsql` task
will\r\nprobably be moved to that plugin).\r\n\r\n- Add a
`retrieve_documentation` tool registration for the
o11y\r\nassistant\r\n- Add a component on the o11y assistant
configuration page to install\r\nthe product doc\r\n\r\n(wiring the
feature to the o11y assistant was done for testing purposes\r\nmostly,
any addition / changes / enhancement should be done by the\r\nowning
team - either in this PR or as a follow-up)\r\n\r\n## What is NOT
included in this PR:\r\n\r\n- Wire product base feature to the security
assistant (should be done by\r\nthe owning team as a follow-up)\r\n -
installation\r\n - utilization as tool\r\n\r\n- FTR tests: this is
somewhat blocked by the same things we need to\r\nfigure out for
https://github.com/elastic/kibana-team/issues/1271\r\n\r\n## Screenshots
\r\n\r\n### Installation from o11y assistant configuration
page\r\n\r\n<img width=\"1476\" alt=\"Screenshot 2024-10-17 at 09 41
24\"\r\nsrc=\"https://github.com/user-attachments/assets/31daa585-9fb2-400a-a2d1-5917a262367a\">\r\n\r\n###
Example of output\r\n\r\n#### Without product documentation installed
\r\n\r\n<img width=\"739\" alt=\"Screenshot 2024-10-10 at 09 59
41\"\r\nsrc=\"https://github.com/user-attachments/assets/993fb216-6c9a-433f-bf44-f6e383d20d9d\">\r\n\r\n####
With product documentation installed\r\n\r\n<img width=\"718\"
alt=\"Screenshot 2024-10-10 at 09 55
38\"\r\nsrc=\"https://github.com/user-attachments/assets/805ea4ca-8bc9-4355-a434-0ba81f8228a9\">\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Alex Szabo <alex.szabo@elastic.co>\r\nCo-authored-by: Matthias Wilhelm
<matthias.wilhelm@elastic.co>\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"455c781c6d1e1161f66e275299cf06064a0ffde2"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194379","number":194379,"mergeCommit":{"message":"[LLM
tasks] Add product documentation retrieval task (#194379)\n\n##
Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/193473\r\nClose
https://github.com/elastic/kibana/issues/193474\r\n\r\nThis PR utilize
the documentation packages that are build via the tool\r\nintroduced by
https://github.com/elastic/kibana/pull/193847, allowing to\r\ninstall
them in Kibana and expose documentation retrieval as an LLM task\r\nthat
AI assistants (or other consumers) can call.\r\n\r\nUsers can now decide
to install the Elastic documentation from the\r\nassistant's config
screen, which will expose a new tool for the\r\nassistant,
`retrieve_documentation` (only implemented for the o11y\r\nassistant in
the current PR, shall be done for security as a follow up).\r\n\r\nFor
more information, please refer to the self-review.\r\n\r\n## General
architecture\r\n\r\n<img width=\"1118\" alt=\"Screenshot 2024-10-17 at
09 22
32\"\r\nsrc=\"https://github.com/user-attachments/assets/3df8c30a-9ccc-49ab-92ce-c204b96d6fc4\">\r\n\r\n##
What this PR does\r\n\r\nAdds two plugin:\r\n- `productDocBase`:
contains all the logic related to product\r\ndocumentation installation,
status, and search. This is meant to be a\r\n\"low level\" components
only responsible for this specific part.\r\n- `llmTasks`: an higher
level plugin that will contain various LLM tasks\r\nto be used by
assistants and genAI consumers. The intent is not to have\r\na single
place to put all llm tasks, but more to have a default place\r\nwhere we
can introduce new tasks from. (fwiw, the `nlToEsql` task
will\r\nprobably be moved to that plugin).\r\n\r\n- Add a
`retrieve_documentation` tool registration for the
o11y\r\nassistant\r\n- Add a component on the o11y assistant
configuration page to install\r\nthe product doc\r\n\r\n(wiring the
feature to the o11y assistant was done for testing purposes\r\nmostly,
any addition / changes / enhancement should be done by the\r\nowning
team - either in this PR or as a follow-up)\r\n\r\n## What is NOT
included in this PR:\r\n\r\n- Wire product base feature to the security
assistant (should be done by\r\nthe owning team as a follow-up)\r\n -
installation\r\n - utilization as tool\r\n\r\n- FTR tests: this is
somewhat blocked by the same things we need to\r\nfigure out for
https://github.com/elastic/kibana-team/issues/1271\r\n\r\n## Screenshots
\r\n\r\n### Installation from o11y assistant configuration
page\r\n\r\n<img width=\"1476\" alt=\"Screenshot 2024-10-17 at 09 41
24\"\r\nsrc=\"https://github.com/user-attachments/assets/31daa585-9fb2-400a-a2d1-5917a262367a\">\r\n\r\n###
Example of output\r\n\r\n#### Without product documentation installed
\r\n\r\n<img width=\"739\" alt=\"Screenshot 2024-10-10 at 09 59
41\"\r\nsrc=\"https://github.com/user-attachments/assets/993fb216-6c9a-433f-bf44-f6e383d20d9d\">\r\n\r\n####
With product documentation installed\r\n\r\n<img width=\"718\"
alt=\"Screenshot 2024-10-10 at 09 55
38\"\r\nsrc=\"https://github.com/user-attachments/assets/805ea4ca-8bc9-4355-a434-0ba81f8228a9\">\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Alex Szabo <alex.szabo@elastic.co>\r\nCo-authored-by: Matthias Wilhelm
<matthias.wilhelm@elastic.co>\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"455c781c6d1e1161f66e275299cf06064a0ffde2"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-11-19 11:06:20 -06:00
Kibana Machine
418281b2d1
[8.x] [Docs] Update nav instructions and sample data installation to accommodate for the solution views (#199163) (#199438)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Docs] Update nav instructions and sample data installation to
accommodate for the solution views
(#199163)](https://github.com/elastic/kibana/pull/199163)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"florent-leborgne","email":"florent.leborgne@elastic.co"},"sourceCommit":{"committedDate":"2024-11-08T10:10:32Z","message":"[Docs]
Update nav instructions and sample data installation to accommodate for
the solution views (#199163)\n\nThis PR:\r\n- updates navigation
instructions to accommodate for the navigation\r\nchanges related to
solution views.\r\n- updates instructions for adding sample data to rely
on the\r\nintegrations page instead of the home page, that only exists
with the\r\nclassic solution view\r\n- updates references to the home
page to avoid confusing users using one\r\nof the new solution
views\r\n\r\nCloses:
https://github.com/elastic/platform-docs-team/issues/529\r\nCloses:
https://github.com/elastic/platform-docs-team/issues/540","sha":"8e7fb7a77e2399e3e946bbba0462517fd7dad0f7","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","docs","v8.16.0","backport:version","v8.17.0"],"title":"[Docs]
Update nav instructions and sample data installation to accommodate for
the solution
views","number":199163,"url":"https://github.com/elastic/kibana/pull/199163","mergeCommit":{"message":"[Docs]
Update nav instructions and sample data installation to accommodate for
the solution views (#199163)\n\nThis PR:\r\n- updates navigation
instructions to accommodate for the navigation\r\nchanges related to
solution views.\r\n- updates instructions for adding sample data to rely
on the\r\nintegrations page instead of the home page, that only exists
with the\r\nclassic solution view\r\n- updates references to the home
page to avoid confusing users using one\r\nof the new solution
views\r\n\r\nCloses:
https://github.com/elastic/platform-docs-team/issues/529\r\nCloses:
https://github.com/elastic/platform-docs-team/issues/540","sha":"8e7fb7a77e2399e3e946bbba0462517fd7dad0f7"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199163","number":199163,"mergeCommit":{"message":"[Docs]
Update nav instructions and sample data installation to accommodate for
the solution views (#199163)\n\nThis PR:\r\n- updates navigation
instructions to accommodate for the navigation\r\nchanges related to
solution views.\r\n- updates instructions for adding sample data to rely
on the\r\nintegrations page instead of the home page, that only exists
with the\r\nclassic solution view\r\n- updates references to the home
page to avoid confusing users using one\r\nof the new solution
views\r\n\r\nCloses:
https://github.com/elastic/platform-docs-team/issues/529\r\nCloses:
https://github.com/elastic/platform-docs-team/issues/540","sha":"8e7fb7a77e2399e3e946bbba0462517fd7dad0f7"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
2024-11-08 10:41:00 +00:00
Lisa Cawley
c056931598
[8.x] [OpenAPI][DOCS] Add descriptions, examples, responses for role APIs (#195527) (#197889)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[OpenAPI][DOCS] Add descriptions, examples, responses for role APIs
(#195527)](https://github.com/elastic/kibana/pull/195527)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T17:13:57Z","message":"[OpenAPI][DOCS]
Add descriptions, examples, responses for role APIs
(#195527)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"02fab7248d5b4e537030252df81bef55d04d0595","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","Feature:Security/Authorization","v9.0.0","docs","v8.16.0","backport:version","v8.17.0"],"number":195527,"url":"https://github.com/elastic/kibana/pull/195527","mergeCommit":{"message":"[OpenAPI][DOCS]
Add descriptions, examples, responses for role APIs
(#195527)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"02fab7248d5b4e537030252df81bef55d04d0595"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195527","number":195527,"mergeCommit":{"message":"[OpenAPI][DOCS]
Add descriptions, examples, responses for role APIs
(#195527)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"02fab7248d5b4e537030252df81bef55d04d0595"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-10-28 20:04:48 -05:00
Kibana Machine
2cc114cd6b
[8.x] [AI Assistant] Set scope and rename to Observability and Search (#196322) (#197609)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[AI Assistant] Set scope and rename to Observability and Search
(#196322)](https://github.com/elastic/kibana/pull/196322)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-24T11:13:43Z","message":"[AI
Assistant] Set scope and rename to Observability and Search
(#196322)\n\n## Summary\r\n\r\nThis renames the Observability AI
Assistant in some places to AI\r\nAssistant for Observability and
Search. It also makes the scope\r\nmulti-valued on both
sides.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"26ec293f07a990930c4caf9765d79882723dbfa6","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","Team:Obs
AI
Assistant","ci:project-deploy-observability","Team:obs-ux-infra_services","apm:review","v8.16.0","backport:version","v8.17.0"],"title":"[AI
Assistant] Set scope and rename to Observability and
Search","number":196322,"url":"https://github.com/elastic/kibana/pull/196322","mergeCommit":{"message":"[AI
Assistant] Set scope and rename to Observability and Search
(#196322)\n\n## Summary\r\n\r\nThis renames the Observability AI
Assistant in some places to AI\r\nAssistant for Observability and
Search. It also makes the scope\r\nmulti-valued on both
sides.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"26ec293f07a990930c4caf9765d79882723dbfa6"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196322","number":196322,"mergeCommit":{"message":"[AI
Assistant] Set scope and rename to Observability and Search
(#196322)\n\n## Summary\r\n\r\nThis renames the Observability AI
Assistant in some places to AI\r\nAssistant for Observability and
Search. It also makes the scope\r\nmulti-valued on both
sides.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"26ec293f07a990930c4caf9765d79882723dbfa6"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2024-10-24 09:31:22 -05:00
Ignacio Rivas
ffa3e09a42
[8.x] Remove kbn-ace, ace and brace dependencies (#195703) (#195765)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Remove kbn-ace, ace and brace dependencies
(#195703)](https://github.com/elastic/kibana/pull/195703)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Ignacio
Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2024-10-10T12:16:42Z","message":"Remove
kbn-ace, ace and brace dependencies
(#195703)","sha":"d86ce77217a26747b39ddf240e5703efba1a0cb0","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","v9.0.0","backport:prev-minor","v8.16.0"],"number":195703,"url":"https://github.com/elastic/kibana/pull/195703","mergeCommit":{"message":"Remove
kbn-ace, ace and brace dependencies
(#195703)","sha":"d86ce77217a26747b39ddf240e5703efba1a0cb0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195703","number":195703,"mergeCommit":{"message":"Remove
kbn-ace, ace and brace dependencies
(#195703)","sha":"d86ce77217a26747b39ddf240e5703efba1a0cb0"}},{"branch":"8.x","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-10-11 11:17:21 +01:00
Kibana Machine
023e3ed826
[8.x] Clean up &#x60;cloud_chat&#x60; (#194571) (#194818)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Clean up &#x60;cloud_chat&#x60;
(#194571)](https://github.com/elastic/kibana/pull/194571)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2024-10-03T11:37:47Z","message":"Clean
up `cloud_chat` (#194571)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana-team/issues/1017\r\n\r\nThis PR
removes the unused Cloud Chat functionality from Kibana. The\r\nchat was
not used for some time. Moreover, we've seen some issues with\r\nit
where users saw it when it wasn't expected. Given the absence
of\r\nautomated tests and the fact that the feature is no longer needed,
we\r\nare removing it to improve the overall maintainability and
reliability\r\nof the codebase. This will also decrease the amount of
code loaded for\r\ntrial users of Kibana in cloud making the app
slightly
faster.","sha":"568e40accaaee06a6dadfec2028263889cf7104a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"Clean
up
`cloud_chat`","number":194571,"url":"https://github.com/elastic/kibana/pull/194571","mergeCommit":{"message":"Clean
up `cloud_chat` (#194571)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana-team/issues/1017\r\n\r\nThis PR
removes the unused Cloud Chat functionality from Kibana. The\r\nchat was
not used for some time. Moreover, we've seen some issues with\r\nit
where users saw it when it wasn't expected. Given the absence
of\r\nautomated tests and the fact that the feature is no longer needed,
we\r\nare removing it to improve the overall maintainability and
reliability\r\nof the codebase. This will also decrease the amount of
code loaded for\r\ntrial users of Kibana in cloud making the app
slightly
faster.","sha":"568e40accaaee06a6dadfec2028263889cf7104a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194571","number":194571,"mergeCommit":{"message":"Clean
up `cloud_chat` (#194571)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana-team/issues/1017\r\n\r\nThis PR
removes the unused Cloud Chat functionality from Kibana. The\r\nchat was
not used for some time. Moreover, we've seen some issues with\r\nit
where users saw it when it wasn't expected. Given the absence
of\r\nautomated tests and the fact that the feature is no longer needed,
we\r\nare removing it to improve the overall maintainability and
reliability\r\nof the codebase. This will also decrease the amount of
code loaded for\r\ntrial users of Kibana in cloud making the app
slightly faster.","sha":"568e40accaaee06a6dadfec2028263889cf7104a"}}]}]
BACKPORT-->

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2024-10-03 09:12:16 -05:00
Tiago Vila Verde
0b4ac42fbb
[8.x] [Entity Manager] Extract the entity manager out of Observability solution (#190304) (#193858)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Entity Manager] Extract the entity manager out of Observability
solution (#190304)](https://github.com/elastic/kibana/pull/190304)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Tiago Vila
Verde","email":"tiago.vilaverde@elastic.co"},"sourceCommit":{"committedDate":"2024-09-16T12:07:03Z","message":"[Entity
Manager] Extract the entity manager out of Observability solution
(#190304)\n\n## Summary\r\n\r\nMoving the Entity Manager out of
Observability and into a Kibana plugin\r\nas per
[this\r\nticket](https://github.com/elastic/security-team/issues/10156)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c26ee22db69059d1908cb7bf3982db13a354b77a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","team:obs-entities"],"number":190304,"url":"https://github.com/elastic/kibana/pull/190304","mergeCommit":{"message":"[Entity
Manager] Extract the entity manager out of Observability solution
(#190304)\n\n## Summary\r\n\r\nMoving the Entity Manager out of
Observability and into a Kibana plugin\r\nas per
[this\r\nticket](https://github.com/elastic/security-team/issues/10156)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c26ee22db69059d1908cb7bf3982db13a354b77a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190304","number":190304,"mergeCommit":{"message":"[Entity
Manager] Extract the entity manager out of Observability solution
(#190304)\n\n## Summary\r\n\r\nMoving the Entity Manager out of
Observability and into a Kibana plugin\r\nas per
[this\r\nticket](https://github.com/elastic/security-team/issues/10156)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c26ee22db69059d1908cb7bf3982db13a354b77a"}}]}]
BACKPORT-->
2024-09-24 18:24:09 +02:00
Sandra G
3d72870d4a
[8.x][Data Usage] New plugin (#193466) (#193597)
The initial serverless only plugin for viewing data usage and retention
in Management. The purpose of this PR is to provide a place for other
engineers to work on it, hidden from public use.

- Plugin is hidden by default and can be enabled through kibana.yml
`xpack.dataUsage.enabled: true`
- Currently it will show up in both stateful and serverless (if enabled
using config above). When we are ready to make the plugin available we
will enable it in config/serverless.yml
- Renders a card in Management (serverless) when enabled: <img
width="1269" alt="Screenshot 2024-09-19 at 4 14 15 PM"
src="https://github.com/user-attachments/assets/705e3866-bc88-436a-8532-2af53167f7b1">

https://github.com/elastic/kibana/issues/192965
https://github.com/elastic/kibana/issues/192966

---------

## Summary

Summarize your PR. If it involves visual changes include a screenshot or
gif.


### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-09-20 11:47:18 -05:00
Alejandro Fernández Haro
71ad243504
[8.x] [Feature Flags Service] Hello world 👋 (#188562) (#193519)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Feature Flags Service] Hello world 👋
(#188562)](https://github.com/elastic/kibana/pull/188562)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2024-09-18T16:02:55Z","message":"[Feature
Flags Service] Hello world 👋 (#188562)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Jean-Louis Leysens
<jloleysens@gmail.com>","sha":"02ce1b91014eb59f019854b01325bbdf983d2218","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Operations","Team:Security","release_note:skip","Team:Observability","Team:Fleet","v9.0.0","Team:
SecuritySolution","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-logs"],"number":188562,"url":"https://github.com/elastic/kibana/pull/188562","mergeCommit":{"message":"[Feature
Flags Service] Hello world 👋 (#188562)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Jean-Louis Leysens
<jloleysens@gmail.com>","sha":"02ce1b91014eb59f019854b01325bbdf983d2218"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188562","number":188562,"mergeCommit":{"message":"[Feature
Flags Service] Hello world 👋 (#188562)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Jean-Louis Leysens
<jloleysens@gmail.com>","sha":"02ce1b91014eb59f019854b01325bbdf983d2218"}}]}]
BACKPORT-->
2024-09-20 12:21:41 +02:00
Elena Shostak
518533898a
[8.x] Added scope field to features config. (#191634) (#193389)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Added scope field to features config.
(#191634)](https://github.com/elastic/kibana/pull/191634)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Elena
Shostak","email":"165678770+elena-shostak@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-09-13T00:22:20Z","message":"Added
scope field to features config. (#191634)\n\n## Summary\r\nKibana needs
to more tightly control the set of visible features within\r\na space,
in order to support the new solution-based navigation.\r\nAdded `scope`
field to the features configuration. This enhancement is\r\nintended to
prevent new features from appearing in Space
Visibility\r\nToggles.\r\n\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n__Fixes:
https://github.com/elastic/kibana/issues/191299__\r\n\r\n## Release
Note\r\n\r\nAdded `scope` field to the features configuration. This
enhancement is\r\nintended to prevent new features from appearing in
Space Visibility\r\nToggles.\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"a71c9ba38ab4b88288313b91bd1b699777b3aab1","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","chore","Team:Security","Feature:Security/Spaces","backport:skip","Team:Fleet","v9.0.0","Team:Obs
AI
Assistant","ci:project-deploy-observability","Team:obs-ux-infra_services","Team:obs-ux-management","apm:review"],"number":191634,"url":"https://github.com/elastic/kibana/pull/191634","mergeCommit":{"message":"Added
scope field to features config. (#191634)\n\n## Summary\r\nKibana needs
to more tightly control the set of visible features within\r\na space,
in order to support the new solution-based navigation.\r\nAdded `scope`
field to the features configuration. This enhancement is\r\nintended to
prevent new features from appearing in Space
Visibility\r\nToggles.\r\n\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n__Fixes:
https://github.com/elastic/kibana/issues/191299__\r\n\r\n## Release
Note\r\n\r\nAdded `scope` field to the features configuration. This
enhancement is\r\nintended to prevent new features from appearing in
Space Visibility\r\nToggles.\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"a71c9ba38ab4b88288313b91bd1b699777b3aab1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191634","number":191634,"mergeCommit":{"message":"Added
scope field to features config. (#191634)\n\n## Summary\r\nKibana needs
to more tightly control the set of visible features within\r\na space,
in order to support the new solution-based navigation.\r\nAdded `scope`
field to the features configuration. This enhancement is\r\nintended to
prevent new features from appearing in Space
Visibility\r\nToggles.\r\n\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n__Fixes:
https://github.com/elastic/kibana/issues/191299__\r\n\r\n## Release
Note\r\n\r\nAdded `scope` field to the features configuration. This
enhancement is\r\nintended to prevent new features from appearing in
Space Visibility\r\nToggles.\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"a71c9ba38ab4b88288313b91bd1b699777b3aab1"}}]}]
BACKPORT-->

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-09-19 10:42:43 -05:00
Dario Gieselaar
98aa1ab769
[Inventory] Inventory plugin (#191798)
## Description

This PR adds an inventory plugin, which renders an inventory UI.
Currently only data streams are rendered. This is part of the LogsAI
initiative - basically we need a UI for tasks like structuring data,
extracting entities, listing the results etc. This is mostly POC-level
stuff. Eventually some of this code might be handed over to ECO but
let's cross that bridge when we get to it.

## Notes for reviewers:

@elastic/appex-ai-infra @elastic/security-generative-ai: added a
`truncateList` utility function that takes the first n elements of an
array and appends a `{l-n} more` string value if there are more values
than n. Really simple but I expect will also be very often used because
we cannot send a huge amount of items to the LLM.

@elastic/kibana-core @elastic/kibana-operations: just boiler plate stuff
for adding a new plugin (and thank you for enabling us to run
`quick_checks` locally!

@elastic/obs-knowledge-team: added support for streaming using an
Observable.

@elastic/obs-ux-management-team: added links to the Inventory UI in the
Observability plugin

@elastic/obs-entities: I've added an entity manager client to be able to
fetch entity definitions on the server. Maybe there's a better way? LMK.

@elastic/obs-ux-logs-team: added a deeplink to the Inventory UI. I've
also moved CODEOWNERS for this package to
@elastic/obs-ux-management-team as they own the Observability plugin
where this is mostly used.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-09-12 15:07:09 +02:00
Sergi Massaneda
3956ba0b7e
[Security Solution] Security offering plugins readme (#191587) 2024-09-11 10:58:44 +02:00
Tre
69665cecd0
[FTR] Refactor test/common/services/* -> packages/kbn-ftr-common-functional-[ui-]services/* (#191805)
## Summary

Moving common services to respective new homes.

This PR is revived from a previously
[merged](09a365850e)
and [reverted PR](https://github.com/elastic/kibana/pull/191765) as
[detailed
here](https://github.com/elastic/kibana/pull/189051#issuecomment-2318999361).
- This was due to "extra" tests being applied to
https://github.com/elastic/kibana/pull/191708
- These "extra" tests were applied as
https://github.com/elastic/kibana/pull/191708 changes files within
`x-pack/plugins/observability_solution/` as configured
[here](https://github.com/elastic/kibana/blob/main/.buildkite/scripts/pipelines/pull_request/pipeline.ts#L129)

### Why these failures were not caught in the original
[PR](https://github.com/elastic/kibana/pull/189051)
The pipeline is generated at runtime, and the original
[PR](https://github.com/elastic/kibana/pull/189051) had zero changes
under `x-pack/plugins/observability_solution/`
 
 ## Changes on top of original PR
 - Add `ci:all-cypress-suites` label to run extra tests
- Add `services` stanza to which contains the missing references by
spreading the services from `@kbn/ftr-common-functional-services` &&
`@kbn/ftr-common-functional-ui-services` into the stanza, for the
following:
   - `x-pack/plugins/observability_solution/synthetics/e2e/config.ts`
   - `x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts` 
-
`x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts`
   - `x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts`
   - `x-pack/plugins/observability_solution/synthetics/e2e/config.ts`
   - `x-pack/plugins/observability_solution/uptime/e2e/config.ts`
 

 
 
Blocked by: https://github.com/elastic/kibana/issues/191961
Resolves: https://github.com/elastic/kibana/issues/188541

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-09-05 10:00:55 +01:00
Jon
9f70009d89
Revert "[FTR] Refactor test/common/services/* -> packages/kbn-ftr-com… (#191765)
Build failure


https://buildkite.com/elastic/kibana-pull-request/builds/230868#01919ed7-15d5-425c-9b8e-146ed5fe9daf
2024-08-29 16:05:53 -05:00
Tre
09a365850e
[FTR] Refactor test/common/services/* -> packages/kbn-ftr-common-functional-[ui-]services/* (#189051)
## Summary

Moving common services to respective new homes.

Resolves: https://github.com/elastic/kibana/issues/188541

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-08-29 14:46:35 +01:00
Rodney Norris
e6e75ef6fa
[Search] search_indices: scaffold empty plugin (#190748)
## Summary

Scaffolding empty plugin for development of day 0 onboarding work. This
plugin is currently disabled by default and will be enabled for ES3 when
it's ready for users.
2024-08-23 17:13:52 +02:00
Saarika Bhasi
a524e27bed
[Search] Search assistant plugin setup (#190633)
## Summary

Introducing new plugin for search assistant. in the future this will be
extension of Observability AI solution solution
[plugin](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_ai_assistant)

### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sander Philipse <sander.philipse@elastic.co>
2024-08-22 06:27:33 -05:00
Tom Myers
e9c913dcb0
Add OpenAPI specs for EEM APIs (#190203) 2024-08-19 20:05:25 +02:00
Milton Hultgren
c45e2d4252
[EEM] Rename assets data access to entities data access (#190072) 2024-08-08 09:00:08 -05:00
Dario Gieselaar
769fb994df
[Inference] Inference plugin + chatComplete API (#188280)
This PR introduces an Inference plugin.

## Goals

- Provide a single place for all interactions with large language models
and other generative AI adjacent tasks.
- Abstract away differences between different LLM providers like OpenAI,
Bedrock and Gemini
- Host commonly used LLM-based tasks like generating ES|QL from natural
language and knowledge base recall.
- Allow us to move gradually to the _inference endpoint without
disrupting engineers.

## Architecture and examples

![CleanShot 2024-07-14 at 14 45
27@2x](https://github.com/user-attachments/assets/e65a3e47-bce1-4dcf-bbed-4f8ac12a104f)

## Terminology

The following concepts are referenced throughout this POC:

- **chat completion**: the process in which the LLM generates the next
message in the conversation. This is sometimes referred to as inference,
text completion, text generation or content generation.
- **tasks**: higher level tasks that, based on its input, use the LLM in
conjunction with other services like Elasticsearch to achieve a result.
The example in this POC is natural language to ES|QL.
- **tools**: a set of tools that the LLM can choose to use when
generating the next message. In essence, it allows the consumer of the
API to define a schema for structured output instead of plain text, and
having the LLM select the most appropriate one.
- **tool call**: when the LLM has chosen a tool (schema) to use for its
output, and returns a document that matches the schema, this is referred
to as a tool call.

## Usage examples

```ts

class MyPlugin {
  setup(coreSetup, pluginsSetup) {
    const router = coreSetup.http.createRouter();

    router.post(
      {
        path: '/internal/my_plugin/do_something',
        validate: {
          body: schema.object({
            connectorId: schema.string(),
          }),
        },
      },
      async (context, request, response) => {
        const [coreStart, pluginsStart] = await coreSetup.getStartServices();

        const inferenceClient = pluginsSetup.inference.getClient({ request });

        const chatComplete$ = inferenceClient.chatComplete({
          connectorId: request.body.connectorId,
          system: `Here is my system message`,
          messages: [
            {
              role: MessageRole.User,
              content: 'Do something',
            },
          ],
        });

        const message = await lastValueFrom(
          chatComplete$.pipe(withoutTokenCountEvents(), withoutChunkEvents())
        );

        return response.ok({
          body: {
            message,
          },
        });
      }
    );
  }
}
```

## Implementation

The bulk of the work here is implementing a `chatComplete` API. Here's
what it does:

- Formats the request for the specific LLM that is being called (all
have different API specifications).
- Executes the specified connector with the formatted request.
- Creates and returns an Observable, and starts reading from the stream.
- Every event in the stream is normalized to a format that is close to
(but not exactly the same) as OpenAI's format, and emitted as a value
from the Observable.
- When the stream ends, the individual events (chunks) are concatenated
into a single message.
- If the LLM has called any tools, the tool call is validated according
to its schema.
- After emitting the message, the Observable completes

There's also a thin wrapper around this API, which is called the
`output` API. It simplifies a few things:

- It doesn't require a conversation (list of messages), a simple `input`
string suffices.
- You can define a schema for the output of the LLM. 
- It drops the token count events that are emitted
- It simplifies the event format (update & complete)

### Observable event streams

These APIs, both on the client and the server, return Observables that
emit events. When converting the Observable into a stream, the following
things happen:

- Errors are caught and serialized as events sent over the stream (after
an error, the stream ends).
- The response stream outputs data as [server-sent
events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)
- The client that reads the stream, parses the event source as an
Observable, and if it encounters a serialized error, it deserializes it
and throws an error in the Observable.

### Errors

All known errors are instances, and not extensions, from the
`InferenceTaskError` base class, which has a `code`, a `message`, and
`meta` information about the error. This allows us to serialize and
deserialize errors over the wire without a complicated factory pattern.

### Tools

Tools are defined as a record, with a `description` and optionally a
`schema`. The reason why it's a record is because of type-safety. This
allows us to have fully typed tool calls (e.g. when the name of the tool
being called is `x`, its arguments are typed as the schema of `x`).

## Notes for reviewers

- I've only added one reference implementation for a connector adapter,
which is OpenAI. Adding more would create noise in the PR, but I can add
them as well. Bedrock would need simulated function calling, which I
would also expect to be handled by this plugin.
- Similarly, the natural language to ES|QL task just creates dummy
steps, as moving the entire implementation would mean 1000s of
additional LOC due to it needing the documentation, for instance.
- Observables over promises/iterators: Observables are a well-defined
and widely-adopted solution for async programming. Promises are not
suitable for streamed/chunked responses because there are no
intermediate values. Async iterators are not widely adopted for Kibana
engineers.
- JSON Schema over Zod: I've tried using Zod, because I like its
ergonomics over plain JSON Schema, but we need to convert it to JSON
Schema at some point, which is a lossy conversion, creating a risk of
using features that we cannot convert to JSON Schema. Additionally,
tools for converting Zod to and [from JSON Schema are not always
suitable
](https://github.com/StefanTerdell/json-schema-to-zod#use-at-runtime).
I've implemented my own JSON Schema to type definition, as
[json-schema-to-ts](https://github.com/ThomasAribart/json-schema-to-ts)
is very slow.
- There's no option for raw input or output. There could be, but it
would defeat the purpose of the normalization that the `chatComplete`
API handles. At that point it might be better to use the connector
directly.
- That also means that for LangChain, something would be needed to
convert the Observable into an async iterator that returns
OpenAI-compatible output. This is doable, although it would be nice if
we could just use the output from the OpenAI API in that case.
- I have not made room for any vendor-specific parameters in the
`chatComplete` API. We might need it, but hopefully not.
- I think type safety is critical here, so there is some TypeScript
voodoo in some places to make that happen.
- `system` is not a message in the conversation, but a separate
property. Given the semantics of a system message (there can only be
one, and only at the beginning of the conversation), I think it's easier
to make it a top-level property than a message type.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-08-06 04:07:33 -05:00
Alejandro Fernández Haro
56fc5ce8e1
[Cloud] Extend metadata (#189001) 2024-07-24 14:10:28 +02:00
Kevin Delemme
aa67c800ce
chore(investigate): Add investigate-app plugin from poc (#188122) 2024-07-23 11:44:32 -04:00
Dzmitry Lemechko
88464e5b6d
[FTR] split configs by target into multiple manifest files (#187440)
## Summary

Part of #186515

Split FTR configs manifest into multiple files based on distro
(serverless/stateful) and area of testing (platform/solutions)
Update the CI scripts to support the change, but without logic
modification

More context:

With this change we will have a clear split of FTR test configs owned by
Platform and Solutions. It is a starting point to make configs
discoverable, our test pipelines be flexible and run tests based on
distro/solution.
2024-07-19 15:00:53 +02:00
Marco Antonio Ghiani
5e9d2aeb5e
[Fields Metadata] Add metadata fields static source (#188453)
## 📓 Summary

Closes #188443 

Adding a static source repository for [metadata
fields](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-fields.html#_indexing_metadata_fields)
in the resolution chain, so that it's now possible to retrieve metadata
info for them too.

**GET /internal/fields_metadata?fieldNames=_index,_source**
```json
{
  "fields": {
    "_index": {
      "dashed_name": "index",
      "description": "The index to which the document belongs. This metadata field specifies the exact index name in which the document is stored.",
      "example": "index_1",
      "flat_name": "_index",
      "name": "_index",
      "short": "The index to which the document belongs.",
      "type": "keyword",
      "documentation_url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-index-field.html",
      "source": "metadata",
      "normalize": []
    },
    "_source": {
      "dashed_name": "source",
      "description": "The original JSON representing the body of the document. This field contains all the source data that was provided at the time of indexing.",
      "example": "{\"user\": \"John Doe\", \"message\": \"Hello\"}",
      "flat_name": "_source",
      "name": "_source",
      "short": "The original JSON representing the body of the document.",
      "documentation_url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-source-field.html",
      "source": "metadata",
      "normalize": [],
      "type": "unknown"
    }
  }
}
```

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-07-17 11:47:40 +02:00
Jon
7891410d12
Upgrade Node.js to 20.15.1 (#187791)
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md
2024-07-15 12:34:07 -05:00
Alejandro Fernández Haro
166b31246f
[Cloud Experiments] Deprecate APIs (#188163) 2024-07-15 18:54:32 +10:00
Vadim Kibana
7e4c8a83e1
[ES|QL] Rename text-based-languages pugin to esql plugin (#187520)
## Summary

Renames `@kbn/text-based-languages` plugin to `@kbn/esql` plugin. This
has been discussed internally, the rationale is that now there will be
only one language: ES|QL; and we may use this plugin for ES|QL related
HTTP routes.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-07-10 00:16:32 +10:00
Pius
91b59bfc2e
Update stability.asciidoc (#187294)
Removed unnecessary line that is a copy/paste error.
Please backport to all relevant versions.
2024-07-01 12:41:32 -06:00
Kevin Lacabane
a493e4075b
[eem] rename asset_manager to entity_manager (#186617)
## Summary

Renames the experimental asset_manager plugin (never
documented/officially released) into entity_manager. I've used `node
scripts/lint_ts_projects --fix` and `node scripts/lint_packages.js
--fix` to help with the procedure and also renamed manually the
asset_manager references left.

The change also removes the deprecated asset_manager code, including the
`assetManager.alphaEnabled` plugin configuration. This means
entityManager plugin will be enabled by default.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-26 14:25:32 +02:00
Rodney Norris
74c4d3a85e
[Search] Homepage Plugin setup (#186224)
## Summary

Introducing the `search_homepage` plugin along with integration into
`enterprise_search` and `serverless_search` behind a feature flag. This
will allow implementing the feature gated behind the feature flag.

To test these changes you can enable the feature flag with the Kibana
Dev Console using the following command:
```
POST kbn:/internal/kibana/settings/searchHomepage:homepageEnabled
{"value": true}
```

You can then disable the feature flag with the following command:
```
DELETE kbn:/internal/kibana/settings/searchHomepage:homepageEnabled
```

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-19 12:47:18 +02:00
Marius Iversen
9ed2865838
New Integration Assistant plugin (#184296)
## Summary

This is a PR to add a new backend plugin (frontend will be done in
separate [PR](https://github.com/elastic/kibana/pull/184546)).

The purpose of the plugin is to provide a set of API routes that is used
to perform a variety of GenAI workflows to generate new integrations
based on provided inputs.

It reuses the existing GenAI connectors for its LLM communication, and
provides a set of API's to create ECS mapping, Categorization, Related
Fields and an API to generate the actual integration package zip, which
is forwarded to the UI component.

### Planned follow-up changes:

As the PR is getting way too large, some planned changes would be added
in much smaller follow-ups. This includes mostly more improved try/catch
for certain routes, adding debug/error log entries where relevant,
especially for the API endpoints themself, some more unit and end2end
tests.

- OpenAPI spec for the API will be handled in a separate PR
- All the missing unit tests will be added as a followup PR

### Testing

The `integration_assistant` plugin will be disabled by default while
it's being implemented so we can iterate and merge partial PRs without
interfering with the releases. This config will work as our feature
flag:


6aefd4ff7b/x-pack/plugins/integration_assistant/server/config.ts (L11-L13)

To test it add this to your _kibana.dev.yml_:
```
xpack.integration_assistant.enabled: true
```

### Checklist

Delete any items that are not applicable to this PR.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Bharat Pasupula <saibharatchandra.pasupula@elastic.co>
Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
2024-06-13 16:48:36 -06:00
Saikat Sarkar
db425e3f4f
Add inference endpoints management page (#184614)
## Description

In this PR, we implemented a view for managing inference endpoints. The
changes include the following items for both **Serverless** and
**Stack**.

- A blank page will be displayed if no inference endpoints are
available.
- A page displaying a list of inference endpoints. The user can view
various details about each endpoint, such as the endpoint itself, the
provider, and the type. The table supports pagination and sorting.
- Users can add a new inference endpoint using Elasticsearch models and
third-party APIs, including Hugging Face, Cohere, and OpenAI.

To keep the changes in this PR manageable, the following items are **out
of scope** but will be added in subsequent PRs
- Option to delete an inference endpoint
- Filtering and Search bar
- Information about allocations, thread.
- Icons for **Provider**
- Deployment status of underlying trained models

## Empty page in Stack Management


e2064ee8-3623-457f-8a04-19603e97e815

## Page with all inference endpoints in Stack Management


89bec450-1569-4425-b013-5058b577b95a

## Inference Endpoints Management in Serverless


bd8b6b71-0e09-49f4-aa9a-19338a1da225

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-13 10:00:33 -07:00
Abdul Wahab Zahid
9298c6f268
[Dataset quality] Change Dataset Quality app's title and add description. (#184728)
The PR changes the app's title from "Datasets" to "Data Set Quality".
Note that the changed title "Data Set Quality" will also be used as a
side nav menu item under Stack Management (in followups). The PR also
adds an app description as suggested in the parent issue.


![image](1d882f38-d062-40bc-b03f-717f9454b0cf)

The link leads to Doc's ECS page: [Data Stream
Fields](https://www.elastic.co/guide/en/ecs/current/ecs-data_stream.html).

The PR also changes the breadcrumb and quick search entry to use "Data
Set Quality" instead of "Data quality" or "Logs data quality".


![image](10d53c25-e3bd-489c-8a4d-a93153eb5499)

As per the [writing style
guidelines](https://brand.elastic.co/302f66895/p/194a3b-writing-style-guide/t/889c93),
any instance of "Dataest" is changed to either "Data Set" or "Data set".
2024-06-11 20:29:43 +02:00
Dario Gieselaar
15b6ba9bd8
[Investigate] Create plugin (#184908)
Create the Investigate plugin (naming TBD). Part of
https://github.com/elastic/kibana/pull/183293, splitting up the work in
several PRs.

The investigate plugin is mostly a registry to allow plugins to register
their widgets without creating dependency issues.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-07 15:05:36 +02:00
Stratoula Kalafateli
5860259222
[ES|QL] Render a Discover-like table in the assistant instead of a Lens chart (#184106)
## Summary

This PR does 2 things:

- Creates a new plugin that is a wrapper of the unified datatable and is
only for rendering as a table ES|QL results. The UnifiedDatatable
package is good but the consumers need to know all the properties to
understand how to use it and the necessity of displaying in a table the
results of an ES|QL query comes a lot lately. This plugin has only 3
required properties (rows, columns, query) which make it very easy for
the consumers to use it. It also integrates the Row Viewer flyout

- It changes the implementation of the obs ai assistant to render a
Discover like table instead of a Lens table. The Discover-like table is
much better on rendering a table with thousands of columns and is going
to be much more helpful for our users.

The same plugin can be used later for the inline ediitng flyout too in a
dashboard if we want to also display the results of an ES|QL query.

Some screenshots of the new possibilities in the assistant:

- I can see the results of an ES|QL query in a visualization


![meow](27f77ca3-633b-45f2-b935-42c62c184a04)

- I can render my results as a Document view

<img width="880" alt="image"
src="e8034e10-325d-4d9e-b8a5-34d01b0dbd9d">

<img width="1095" alt="image"
src="c8236e65-96aa-4fcb-b7c3-835e2a5665bd">

<img width="955" alt="image"
src="78b1d664-6863-42bf-a337-659143b7683d">


### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-05 20:20:20 +02:00
Marco Antonio Ghiani
0a0853bef9
[Spacetime] Fields metadata services (#183806)
## 📓 Summary

Closes https://github.com/elastic/observability-dev/issues/3331

Given the needs described in the linked issue about having a centralized
and async way to consume field metadata across Kibana, this work focuses
on providing server/client services to consume field metadata on demand
from static ECS definition and integration manifests, with the chance to
extend further the possible resolution sources.


3b2d9027-5c29-4081-ab17-1b43618c62a7

## 💡 Reviewers hints

This PR got quite long as it involves and touches different parts of the
codebase, so I'll break down the interesting parts for an easier review.

More details, code examples and mechanics description can be found in
the README file for the plugin.

### `@kbn/fields-metadata-plugin`

To avoid bundling and consuming the whole ECS static definition
client-side, a new plugin `@kbn/fields-metadata-plugin` is created to
expose the server/client services which enable retrieving only the
fields needed on a use-case basis.

### FieldsMetadataService server side

A `FieldsMetadataService` is instantiated on the plugin setup/start
server lifecycle, exposing a client to consume the fields and setup
tools for registering external dependencies.

The start contract exposes a `FieldsMetadataClient` instance. With this,
any application in Kibana can query for some fields using the available
methods, currently:
- `FieldsMetadataClient.prototype.getByName()`: retrieves a single
`FieldMetadata` instance.
- `FieldsMetadataClient.prototype.find()`: retrieves a record of
matching `FieldMetadata` instances.

`FieldsMetadataClient` is instantiated with the source repositories
dependencies. They act as encapsulated sources which are responsible for
fetching fields from their related source. Currently, there are 2 field
repository sources used in the resolution step, but we can use this
concept to extend the resolution step in future with more sources (LLM,
OTel, ...).
The currently used sources are:
- `EcsFieldsRepository`: allows fetching static ECS field metadata.
- `IntegrationFieldsRepository`: allows fetching fields from an
integration package from EPR, where the fields metadata are stored. To
correctly consume these fields, the `fleet` plugin must be enabled,
otherwise, the service won't be able to access the registered fields
extractor implemented with the fleet services.
As this service performs a more expensive retrieval process than the
`EcsFieldsRepository` constant complexity access, a caching layer is
applied to the retrieved results from the external source to minimize
latency.

### Fields metadata API

To expose this service to the client, a first API endpoint is created to
find field metadata and filter the results to minimize the served
payload.
- `GET /internal/fields_metadata/find` supports some initial query
parameters to narrow the fields' search.

### FieldsMetadataService client side

As we have a server-side `FieldsMetadataService`, we need a client
counterpart to consume the exposed API safely and go through the
validation steps.

The client `FieldsMetadataService` works similarly to the server-side
one, exposing a client which is returned by the public start contract of
the plugin, allowing any other to directly use fields metadata
client-side.

This client would work well with existing state management solutions, as
it's not decoupled from any library.

### useFieldsMetadata

For simpler use cases where we need a quick and easy way to consume
fields metadata client-side, the plugin start contract also exposes a
`useFieldsMetadata` react custom hook, which is pre-created accessing
the FieldsMetadataService client described above. It is important to
retrieve the hook from the start contract of this plugin, as it already
gets all the required dependencies injected minimizing the effort on the
consumer side.

The `UnifiedDocViewer` plugin changes exemplify how we can use this hook
to access and filter fields' metadata quickly.

### `registerIntegrationFieldsExtractor` (@elastic/fleet)

Getting fields from an integration dataset is more complex than
accessing a static dictionary of ECS fields, and to achieve that we need
access to the PackageService implemented by the fleet team.

To get access to the package, maintain a proper separation of concerns
and avoid a direct dependency on the fleet plugin, some actions were
taken:
- the `PackageService.prototype.getPackageFieldsMetadata()` method is
implemented to keep the knowledge about retrieving package details on
this service instead of mixing it on parallel services.
- a fleet `registerIntegrationFieldsExtractor` service is created and
used during the fleet plugin setup to register a callback that accesses
the service as an internal user and retrieves the fields by the given
parameters.
- the fields metadata plugin returns a
`registerIntegrationFieldsExtractor` function from its server setup so
that we can use it to register the above-mentioned callback that
retrieves fields from an integration.

This inverts the dependency between `fields_metadata` and `fleet`
plugins so that the `fields_metadata` plugin keeps zero dependencies on
external apps.

## Adoption

We currently have places where the `@elastic/ecs` package is directly
accessed and where we might be able to refactor the codebase to consume
this service.

**[EcsFlat usages in
Kibana](https://github.com/search?q=repo%3Aelastic%2Fkibana%20EcsFlat&type=code)**

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-05 09:51:50 +02:00
Jill Guyonnet
3e5852cb89
[Fleet] Update README and local setup dev docs (#184629)
## Summary

Closes https://github.com/elastic/ingest-dev/issues/3354

This is a docs only change.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-04 11:13:52 +02:00