Commit graph

1540 commits

Author SHA1 Message Date
Pierre Gayvallet
8642be7278
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/stack-monitoring (#202860) (#205139)
# Backport

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

<!--- 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-24T10:52:48Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/stack-monitoring`
(#202860)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/monitoring-collection-plugin`
|\r\n`x-pack/platform/plugins/private/monitoring_collection` |\r\n|
`@kbn/monitoring-plugin`
|\r\n`x-pack/platform/plugins/private/monitoring` |\r\n\r\n\r\n<details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md:7\r\nx-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md:8\r\nx-pack/platform/plugins/private/monitoring/jest.config.js:10\r\nx-pack/platform/plugins/private/monitoring/tsconfig.json:2\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:106\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:109\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:115\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:121\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:127\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:130\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:133\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:136\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:139\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:142\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:145\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:19\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:97\r\nx-pack/platform/plugins/private/monitoring_collection/jest.config.js:10\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.json:2\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:16\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:19\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:31\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <pierre.gayvallet@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"47f675cb9940641e7a579e17f48d756a4ab3ddf9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Monitoring","release_note:skip","backport:skip","v9.0.0","plugin
groups"],"number":202860,"url":"https://github.com/elastic/kibana/pull/202860","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/stack-monitoring`
(#202860)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/monitoring-collection-plugin`
|\r\n`x-pack/platform/plugins/private/monitoring_collection` |\r\n|
`@kbn/monitoring-plugin`
|\r\n`x-pack/platform/plugins/private/monitoring` |\r\n\r\n\r\n<details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md:7\r\nx-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md:8\r\nx-pack/platform/plugins/private/monitoring/jest.config.js:10\r\nx-pack/platform/plugins/private/monitoring/tsconfig.json:2\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:106\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:109\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:115\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:121\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:127\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:130\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:133\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:136\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:139\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:142\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:145\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:19\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:97\r\nx-pack/platform/plugins/private/monitoring_collection/jest.config.js:10\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.json:2\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:16\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:19\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:31\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <pierre.gayvallet@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"47f675cb9940641e7a579e17f48d756a4ab3ddf9"}},"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/202860","number":202860,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/stack-monitoring`
(#202860)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/monitoring-collection-plugin`
|\r\n`x-pack/platform/plugins/private/monitoring_collection` |\r\n|
`@kbn/monitoring-plugin`
|\r\n`x-pack/platform/plugins/private/monitoring` |\r\n\r\n\r\n<details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md:7\r\nx-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md:8\r\nx-pack/platform/plugins/private/monitoring/jest.config.js:10\r\nx-pack/platform/plugins/private/monitoring/tsconfig.json:2\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:100\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:103\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:106\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:109\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:115\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:121\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:127\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:130\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:133\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:136\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:139\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:142\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:145\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:19\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:34\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:64\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:67\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:70\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:73\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:76\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:79\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:82\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:85\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:88\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:91\r\nx-pack/platform/plugins/private/monitoring/tsconfig.type_check.json:97\r\nx-pack/platform/plugins/private/monitoring_collection/jest.config.js:10\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.json:2\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:16\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:19\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:22\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/private/monitoring_collection/tsconfig.type_check.json:31\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <pierre.gayvallet@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"47f675cb9940641e7a579e17f48d756a4ab3ddf9"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-24 07:50:52 -06:00
Pierre Gayvallet
6fe3d36b7f
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/logstash (#202756) (#205131)
# Backport

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

<!--- 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-24T08:54:24Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/logstash`
(#202756)\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#### 1 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/logstash-plugin` | `x-pack/platform/plugins/private/logstash`
|\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./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/build/plugin/kibana/x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/logstash/jest.config.js\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/logstash/jest.config.js:10\r\nx-pack/platform/plugins/private/logstash/tsconfig.json:3\r\n```\r\n\r\n</details>","sha":"49956ec243a2aad61a3c8ef6d59ee3743505f2e3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Logstash","release_note:skip","v9.0.0","backport:prev-minor","plugin
groups"],"number":202756,"url":"https://github.com/elastic/kibana/pull/202756","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/logstash`
(#202756)\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#### 1 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/logstash-plugin` | `x-pack/platform/plugins/private/logstash`
|\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./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/build/plugin/kibana/x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/logstash/jest.config.js\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/logstash/jest.config.js:10\r\nx-pack/platform/plugins/private/logstash/tsconfig.json:3\r\n```\r\n\r\n</details>","sha":"49956ec243a2aad61a3c8ef6d59ee3743505f2e3"}},"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/202756","number":202756,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/logstash`
(#202756)\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#### 1 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/logstash-plugin` | `x-pack/platform/plugins/private/logstash`
|\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./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/build/plugin/kibana/x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/logstash/jest.config.js\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/private/logstash/jest.config.js:10\r\nx-pack/platform/plugins/private/logstash/tsconfig.json:3\r\n```\r\n\r\n</details>","sha":"49956ec243a2aad61a3c8ef6d59ee3743505f2e3"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2024-12-24 04:49:24 -06:00
Nick Peihl
a27fee19e7
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-presentation (#204843) (#205120)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 21 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/canvas-plugin` | `x-pack/platform/plugins/private/canvas` |
| `@kbn/controls-plugin` | `src/platform/plugins/shared/controls` |
| `@kbn/dashboard-enhanced-plugin` |
`x-pack/platform/plugins/shared/dashboard_enhanced` |
| `@kbn/dashboard-plugin` | `src/platform/plugins/shared/dashboard` |
| `@kbn/embeddable-enhanced-plugin` |
`x-pack/platform/plugins/shared/embeddable_enhanced` |
| `@kbn/embeddable-plugin` | `src/platform/plugins/shared/embeddable` |
| `@kbn/expression-error-plugin` |
`src/platform/plugins/shared/expression_error` |
| `@kbn/expression-image-plugin` |
`src/platform/plugins/shared/expression_image` |
| `@kbn/expression-metric-plugin` |
`src/platform/plugins/shared/expression_metric` |
| `@kbn/expression-repeat-image-plugin` |
`src/platform/plugins/shared/expression_repeat_image` |
| `@kbn/expression-reveal-image-plugin` |
`src/platform/plugins/shared/expression_reveal_image` |
| `@kbn/expression-shape-plugin` |
`src/platform/plugins/shared/expression_shape` |
| `@kbn/file-upload-plugin` |
`x-pack/platform/plugins/private/file_upload` |
| `@kbn/input-control-vis-plugin` |
`src/platform/plugins/private/input_control_vis` |
| `@kbn/inspector-plugin` | `src/platform/plugins/shared/inspector` |
| `@kbn/links-plugin` | `src/platform/plugins/private/links` |
| `@kbn/maps-ems-plugin` | `src/platform/plugins/private/maps_ems` |
| `@kbn/maps-plugin` | `x-pack/platform/plugins/shared/maps` |
| `@kbn/presentation-panel-plugin` |
`src/platform/plugins/private/presentation_panel` |
| `@kbn/presentation-util-plugin` |
`src/platform/plugins/shared/presentation_util` |
| `@kbn/vis-type-markdown-plugin` |
`src/platform/plugins/private/vis_type_markdown` |




#### 3 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/panel-loader` | `src/platform/packages/private/kbn-panel-loader`
|
| `@kbn/presentation-containers` |
`src/platform/packages/shared/presentation/presentation_containers` |
| `@kbn/presentation-publishing` |
`src/platform/packages/shared/presentation/presentation_publishing` |


<details >
<summary>Updated references</summary>

```
./.eslintignore
./.eslintrc.js
./.github/codeql/codeql-config.yml
./.github/paths-labeller.yml
./.i18nrc.json
./docs/developer/best-practices/index.asciidoc
./docs/developer/contributing/development-tests.asciidoc
./docs/developer/plugin-list.asciidoc
./legacy_rfcs/text/0018_timeslider.md
./package.json
./packages/kbn-cli-dev-mode/src/watcher.ts
./packages/kbn-docs-utils/src/utils.test.ts
./packages/kbn-repo-packages/package-map.json
./packages/kbn-test/src/jest/setup/polyfills.jsdom.js
./packages/kbn-ts-projects/config-paths.json
./src/dev/build/tasks/build_canvas_shareable_runtime.ts
./src/dev/build/tasks/create_archives_sources_task.ts
./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt
./src/dev/precommit_hook/casing_check_config.js
./src/dev/storybook/aliases.ts
./src/platform/packages/private/kbn-panel-loader/jest.config.js
./src/platform/packages/shared/presentation/presentation_containers/jest.config.js
./src/platform/packages/shared/presentation/presentation_publishing/jest.config.js
./src/platform/plugins/private/input_control_vis/jest.config.js
./src/platform/plugins/private/links/jest.config.js
./src/platform/plugins/private/maps_ems/jest.config.js
./src/platform/plugins/private/presentation_panel/jest.config.js
./src/platform/plugins/private/vis_type_markdown/jest.config.js
./src/platform/plugins/shared/controls/jest.config.js
./src/platform/plugins/shared/dashboard/jest.config.js
./src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap
./src/platform/plugins/shared/embeddable/README.md
./src/platform/plugins/shared/embeddable/jest.config.js
./src/platform/plugins/shared/expression_image/jest.config.js
./src/platform/plugins/shared/expression_metric/jest.config.js
./src/platform/plugins/shared/expression_repeat_image/jest.config.js
./src/platform/plugins/shared/expression_reveal_image/jest.config.js
./src/platform/plugins/shared/expression_shape/jest.config.js
./src/platform/plugins/shared/inspector/jest.config.js
./src/platform/plugins/shared/presentation_util/jest.config.js
./src/platform/plugins/shared/presentation_util/storybook/manager.ts
./src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts
./tsconfig.base.json
./x-pack/.i18nrc.json
./x-pack/platform/plugins/private/canvas/jest.config.js
./x-pack/platform/plugins/private/canvas/scripts/jest.js
./x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js
./x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts
./x-pack/platform/plugins/private/file_upload/jest.config.js
./x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts
./x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js
./x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts
./x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js
./x-pack/platform/plugins/shared/maps/README.md
./x-pack/platform/plugins/shared/maps/jest.config.js
./x-pack/plugins/reporting/server/config/ui_settings.ts
./x-pack/test/api_integration/apis/maps/fonts_api.js
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/packages/private/kbn-panel-loader/jest.config.js:12
src/platform/packages/private/kbn-panel-loader/tsconfig.json:2
src/platform/packages/shared/presentation/presentation_containers/jest.config.js:12
src/platform/packages/shared/presentation/presentation_containers/tsconfig.json:2
src/platform/packages/shared/presentation/presentation_publishing/jest.config.js:12
src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json:2
src/platform/plugins/private/input_control_vis/jest.config.js:12
src/platform/plugins/private/input_control_vis/tsconfig.json:2
src/platform/plugins/private/links/jest.config.js:12
src/platform/plugins/private/links/public/_mixins.scss:1
src/platform/plugins/private/links/tsconfig.json:2
src/platform/plugins/private/maps_ems/jest.config.js:12
src/platform/plugins/private/maps_ems/tsconfig.json:2
src/platform/plugins/private/presentation_panel/jest.config.js:12
src/platform/plugins/private/presentation_panel/tsconfig.json:2
src/platform/plugins/private/presentation_panel/tsconfig.json:6
src/platform/plugins/private/vis_type_markdown/jest.config.js:12
src/platform/plugins/private/vis_type_markdown/tsconfig.json:2
src/platform/plugins/shared/controls/jest.config.js:12
src/platform/plugins/shared/controls/tsconfig.json:12
src/platform/plugins/shared/controls/tsconfig.json:2
src/platform/plugins/shared/dashboard/jest.config.js:12
src/platform/plugins/shared/dashboard/tsconfig.json:2
src/platform/plugins/shared/embeddable/jest.config.js:12
src/platform/plugins/shared/embeddable/tsconfig.json:2
src/platform/plugins/shared/expression_error/tsconfig.json:2
src/platform/plugins/shared/expression_image/jest.config.js:12
src/platform/plugins/shared/expression_image/tsconfig.json:2
src/platform/plugins/shared/expression_metric/jest.config.js:12
src/platform/plugins/shared/expression_metric/tsconfig.json:2
src/platform/plugins/shared/expression_repeat_image/jest.config.js:12
src/platform/plugins/shared/expression_repeat_image/tsconfig.json:2
src/platform/plugins/shared/expression_reveal_image/jest.config.js:12
src/platform/plugins/shared/expression_reveal_image/tsconfig.json:2
src/platform/plugins/shared/expression_shape/jest.config.js:12
src/platform/plugins/shared/expression_shape/tsconfig.json:2
src/platform/plugins/shared/inspector/jest.config.js:12
src/platform/plugins/shared/inspector/tsconfig.json:2
src/platform/plugins/shared/presentation_util/jest.config.js:12
src/platform/plugins/shared/presentation_util/storybook/main.ts:17
src/platform/plugins/shared/presentation_util/tsconfig.json:13
src/platform/plugins/shared/presentation_util/tsconfig.json:2
x-pack/platform/plugins/private/canvas/CONTRIBUTING.md:3
x-pack/platform/plugins/private/canvas/PLUGINS.mdx:174
x-pack/platform/plugins/private/canvas/PLUGINS.mdx:175
x-pack/platform/plugins/private/canvas/PLUGINS.mdx:63
x-pack/platform/plugins/private/canvas/PLUGINS.mdx:64
x-pack/platform/plugins/private/canvas/jest.config.js:10
x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js:11
x-pack/platform/plugins/private/canvas/storybook/constants.ts:10
x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx:86
x-pack/platform/plugins/private/canvas/tsconfig.json:16
x-pack/platform/plugins/private/canvas/tsconfig.json:2
x-pack/platform/plugins/private/canvas/tsconfig.json:29
x-pack/platform/plugins/private/file_upload/jest.config.js:10
x-pack/platform/plugins/private/file_upload/tsconfig.json:2
x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js:10
x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json:2
x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js:10
x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json:2
x-pack/platform/plugins/shared/maps/jest.config.js:10
x-pack/platform/plugins/shared/maps/public/_main.scss:1
x-pack/platform/plugins/shared/maps/tsconfig.json:12
x-pack/platform/plugins/shared/maps/tsconfig.json:2
```

</details>
2024-12-24 08:44:32 +01:00
Gerard Soldevila
1febffdff2
[8.x] Sustainable Kibana Architecture: Move 11 modules under packages/core (#203638) (#205108)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move 11 modules under
`packages/core`
(#203638)](https://github.com/elastic/kibana/pull/203638)

<!--- 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-23T15:36:49Z","message":"Sustainable
Kibana Architecture: Move 11 modules under `packages/core`
(#203638)\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#### 11 package(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
@kbn/core-analytics-browser | src/core/packages/analytics/browser |\r\n|
@kbn/core-analytics-browser-internal
|\r\nsrc/core/packages/analytics/browser-internal |\r\n|
@kbn/core-analytics-server | src/core/packages/analytics/server |\r\n|
@kbn/core-analytics-server-internal
|\r\nsrc/core/packages/analytics/server-internal |\r\n|
@kbn/core-application-browser |
src/core/packages/application/browser\r\n|\r\n|
@kbn/core-application-browser-internal
|\r\nsrc/core/packages/application/browser-internal |\r\n|
@kbn/core-application-common | src/core/packages/application/common
|\r\n| @kbn/core-apps-browser-internal
|\r\nsrc/core/packages/apps/browser-internal |\r\n|
@kbn/core-apps-server-internal
|\r\nsrc/core/packages/apps/server-internal |\r\n|
@kbn/core-base-browser-internal
|\r\nsrc/core/packages/base/browser-internal |\r\n|
@kbn/core-base-common | src/core/packages/base/common
|","sha":"f2a50ef30de03d1da9da3b968892ada5300024bf","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","plugin
groups"],"number":203638,"url":"https://github.com/elastic/kibana/pull/203638","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move 11 modules under `packages/core`
(#203638)\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#### 11 package(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
@kbn/core-analytics-browser | src/core/packages/analytics/browser |\r\n|
@kbn/core-analytics-browser-internal
|\r\nsrc/core/packages/analytics/browser-internal |\r\n|
@kbn/core-analytics-server | src/core/packages/analytics/server |\r\n|
@kbn/core-analytics-server-internal
|\r\nsrc/core/packages/analytics/server-internal |\r\n|
@kbn/core-application-browser |
src/core/packages/application/browser\r\n|\r\n|
@kbn/core-application-browser-internal
|\r\nsrc/core/packages/application/browser-internal |\r\n|
@kbn/core-application-common | src/core/packages/application/common
|\r\n| @kbn/core-apps-browser-internal
|\r\nsrc/core/packages/apps/browser-internal |\r\n|
@kbn/core-apps-server-internal
|\r\nsrc/core/packages/apps/server-internal |\r\n|
@kbn/core-base-browser-internal
|\r\nsrc/core/packages/base/browser-internal |\r\n|
@kbn/core-base-common | src/core/packages/base/common
|","sha":"f2a50ef30de03d1da9da3b968892ada5300024bf"}},"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/203638","number":203638,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move 11 modules under `packages/core`
(#203638)\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#### 11 package(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
@kbn/core-analytics-browser | src/core/packages/analytics/browser |\r\n|
@kbn/core-analytics-browser-internal
|\r\nsrc/core/packages/analytics/browser-internal |\r\n|
@kbn/core-analytics-server | src/core/packages/analytics/server |\r\n|
@kbn/core-analytics-server-internal
|\r\nsrc/core/packages/analytics/server-internal |\r\n|
@kbn/core-application-browser |
src/core/packages/application/browser\r\n|\r\n|
@kbn/core-application-browser-internal
|\r\nsrc/core/packages/application/browser-internal |\r\n|
@kbn/core-application-common | src/core/packages/application/common
|\r\n| @kbn/core-apps-browser-internal
|\r\nsrc/core/packages/apps/browser-internal |\r\n|
@kbn/core-apps-server-internal
|\r\nsrc/core/packages/apps/server-internal |\r\n|
@kbn/core-base-browser-internal
|\r\nsrc/core/packages/base/browser-internal |\r\n|
@kbn/core-base-common | src/core/packages/base/common
|","sha":"f2a50ef30de03d1da9da3b968892ada5300024bf"}}]}] BACKPORT-->
2024-12-23 11:26:55 -07:00
Matthew Kime
99093f3f4a
[8.x] Relocating module @kbn/index-management-plugin (#204953) (#205025)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Relocating module `@kbn/index-management-plugin`
(#204953)](https://github.com/elastic/kibana/pull/204953)

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

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

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2024-12-19T18:39:27Z","message":"Relocating
module `@kbn/index-management-plugin` (#204953)\n\n##
Summary\r\n\r\nLast plugin to move for sustainable
architecture\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f27053c89ed8ce97ac1dc8f478e928cceedb90","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","v9.0.0","backport:prev-minor"],"number":204953,"url":"https://github.com/elastic/kibana/pull/204953","mergeCommit":{"message":"Relocating
module `@kbn/index-management-plugin` (#204953)\n\n##
Summary\r\n\r\nLast plugin to move for sustainable
architecture\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f27053c89ed8ce97ac1dc8f478e928cceedb90"}},"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/204953","number":204953,"mergeCommit":{"message":"Relocating
module `@kbn/index-management-plugin` (#204953)\n\n##
Summary\r\n\r\nLast plugin to move for sustainable
architecture\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f27053c89ed8ce97ac1dc8f478e928cceedb90"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-20 09:05:41 +01:00
Gerard Soldevila
01ff4b31d7
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-reporting-services (#202741) (#204901)
# Backport

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

<!--- 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-18T01:49:07Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-reporting-services` (#202741)\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/screenshotting-plugin`
|\r\n`x-pack/platform/plugins/shared/screenshotting`
|\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-cli-dev-mode/src/watcher.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./tsconfig.base.json\r\n./x-pack/.gitignore\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/shared/screenshotting/README.md\r\n./x-pack/platform/plugins/shared/screenshotting/jest.config.js\r\n./x-pack/platform/plugins/shared/screenshotting/jest.integration.config.js\r\n./x-pack/platform/plugins/shared/screenshotting/server/screenshots/screenshots.test.ts\r\n./x-pack/plugins/lens/public/app_plugin/share_action.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\nx-pack/platform/plugins/shared/screenshotting/jest.config.js:10\r\nx-pack/platform/plugins/shared/screenshotting/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/screenshotting/server/formats/pdf/pdf_maker/worker_src_harness.js:14\r\nx-pack/platform/plugins/shared/screenshotting/tsconfig.json:10\r\nx-pack/platform/plugins/shared/screenshotting/tsconfig.json:14\r\nx-pack/platform/plugins/shared/screenshotting/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>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"0e2fc8f4e22a9dd41fc0b0f3c0ea2bd448a6c73e","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:Reporting
Services","plugin
groups"],"number":202741,"url":"https://github.com/elastic/kibana/pull/202741","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-reporting-services` (#202741)\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/screenshotting-plugin`
|\r\n`x-pack/platform/plugins/shared/screenshotting`
|\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-cli-dev-mode/src/watcher.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./tsconfig.base.json\r\n./x-pack/.gitignore\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/shared/screenshotting/README.md\r\n./x-pack/platform/plugins/shared/screenshotting/jest.config.js\r\n./x-pack/platform/plugins/shared/screenshotting/jest.integration.config.js\r\n./x-pack/platform/plugins/shared/screenshotting/server/screenshots/screenshots.test.ts\r\n./x-pack/plugins/lens/public/app_plugin/share_action.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\nx-pack/platform/plugins/shared/screenshotting/jest.config.js:10\r\nx-pack/platform/plugins/shared/screenshotting/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/screenshotting/server/formats/pdf/pdf_maker/worker_src_harness.js:14\r\nx-pack/platform/plugins/shared/screenshotting/tsconfig.json:10\r\nx-pack/platform/plugins/shared/screenshotting/tsconfig.json:14\r\nx-pack/platform/plugins/shared/screenshotting/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>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"0e2fc8f4e22a9dd41fc0b0f3c0ea2bd448a6c73e"}},"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/202741","number":202741,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-reporting-services` (#202741)\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/screenshotting-plugin`
|\r\n`x-pack/platform/plugins/shared/screenshotting`
|\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-cli-dev-mode/src/watcher.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./tsconfig.base.json\r\n./x-pack/.gitignore\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/shared/screenshotting/README.md\r\n./x-pack/platform/plugins/shared/screenshotting/jest.config.js\r\n./x-pack/platform/plugins/shared/screenshotting/jest.integration.config.js\r\n./x-pack/platform/plugins/shared/screenshotting/server/screenshots/screenshots.test.ts\r\n./x-pack/plugins/lens/public/app_plugin/share_action.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\nx-pack/platform/plugins/shared/screenshotting/jest.config.js:10\r\nx-pack/platform/plugins/shared/screenshotting/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/screenshotting/server/formats/pdf/pdf_maker/worker_src_harness.js:14\r\nx-pack/platform/plugins/shared/screenshotting/tsconfig.json:10\r\nx-pack/platform/plugins/shared/screenshotting/tsconfig.json:14\r\nx-pack/platform/plugins/shared/screenshotting/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>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"0e2fc8f4e22a9dd41fc0b0f3c0ea2bd448a6c73e"}}]}]
BACKPORT-->
2024-12-19 05:50:59 -06:00
Marshall Main
42e71f4256
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-detections-response (#202847) (#204833)
# Backport

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

<!--- 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-18T20:10:50Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-detections-response` (#202847)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/rule-data-utils`
|\r\n`src/platform/packages/shared/kbn-rule-data-utils`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\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/platform/packages/shared/kbn-rule-data-utils/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/examples/triggers_actions_ui_example/tsconfig.type_check.json\r\n./x-pack/packages/observability/alert_details/tsconfig.type_check.json\r\n./x-pack/packages/observability/alerting_test_data/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/monitoring/tsconfig.type_check.json\r\n./x-pack/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/cases/tsconfig.type_check.json\r\n./x-pack/plugins/ml/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/infra/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/investigate_app/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability_shared/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/synthetics/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/uptime/tsconfig.type_check.json\r\n./x-pack/plugins/rule_registry/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/plugins/triggers_actions_ui/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/timelines/tsconfig.type_check.json\r\n./x-pack/test/alerting_api_integration/common/plugins/alerts/tsconfig.type_check.json\r\n./x-pack/test/security_solution_api_integration/tsconfig.type_check.json\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.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-rule-data-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-rule-data-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-rule-data-utils/tsconfig.type_check.json:2\r\n```\r\n\r\n</details>\r\n\r\nCo-authored-by:
Marshall Main
<55718608+marshallmain@users.noreply.github.com>","sha":"e6a07e63829e116c8e809a3923b7b0fe239e1318","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Team:Detection
Engine","plugin
groups"],"number":202847,"url":"https://github.com/elastic/kibana/pull/202847","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-detections-response` (#202847)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/rule-data-utils`
|\r\n`src/platform/packages/shared/kbn-rule-data-utils`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\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/platform/packages/shared/kbn-rule-data-utils/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/examples/triggers_actions_ui_example/tsconfig.type_check.json\r\n./x-pack/packages/observability/alert_details/tsconfig.type_check.json\r\n./x-pack/packages/observability/alerting_test_data/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/monitoring/tsconfig.type_check.json\r\n./x-pack/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/cases/tsconfig.type_check.json\r\n./x-pack/plugins/ml/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/infra/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/investigate_app/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability_shared/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/synthetics/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/uptime/tsconfig.type_check.json\r\n./x-pack/plugins/rule_registry/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/plugins/triggers_actions_ui/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/timelines/tsconfig.type_check.json\r\n./x-pack/test/alerting_api_integration/common/plugins/alerts/tsconfig.type_check.json\r\n./x-pack/test/security_solution_api_integration/tsconfig.type_check.json\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.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-rule-data-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-rule-data-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-rule-data-utils/tsconfig.type_check.json:2\r\n```\r\n\r\n</details>\r\n\r\nCo-authored-by:
Marshall Main
<55718608+marshallmain@users.noreply.github.com>","sha":"e6a07e63829e116c8e809a3923b7b0fe239e1318"}},"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/202847","number":202847,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-detections-response` (#202847)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/rule-data-utils`
|\r\n`src/platform/packages/shared/kbn-rule-data-utils`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\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/platform/packages/shared/kbn-rule-data-utils/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/examples/triggers_actions_ui_example/tsconfig.type_check.json\r\n./x-pack/packages/observability/alert_details/tsconfig.type_check.json\r\n./x-pack/packages/observability/alerting_test_data/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/monitoring/tsconfig.type_check.json\r\n./x-pack/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/cases/tsconfig.type_check.json\r\n./x-pack/plugins/ml/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/infra/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/investigate_app/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability_logs_explorer/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability_shared/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/synthetics/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/uptime/tsconfig.type_check.json\r\n./x-pack/plugins/rule_registry/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/plugins/triggers_actions_ui/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/timelines/tsconfig.type_check.json\r\n./x-pack/test/alerting_api_integration/common/plugins/alerts/tsconfig.type_check.json\r\n./x-pack/test/security_solution_api_integration/tsconfig.type_check.json\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.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-rule-data-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-rule-data-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-rule-data-utils/tsconfig.type_check.json:2\r\n```\r\n\r\n</details>\r\n\r\nCo-authored-by:
Marshall Main
<55718608+marshallmain@users.noreply.github.com>","sha":"e6a07e63829e116c8e809a3923b7b0fe239e1318"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2024-12-18 16:33:43 -06:00
Gerard Soldevila
33103ae55b
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-detection-rule-management (#202846) (#204811)
# Backport

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

<!--- 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-18T16:05:37Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-detection-rule-management` (#202846)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/openapi-common`
|\r\n`src/platform/packages/shared/kbn-openapi-common` |\r\n|
`@kbn/zod-helpers` | `src/platform/packages/shared/kbn-zod-helpers`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/code_generation/security_solution_codegen.sh\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/platform/packages/shared/kbn-openapi-common/jest.config.js\r\n./src/platform/packages/shared/kbn-zod-helpers/jest.config.js\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/tsconfig.type_check.json\r\n./x-pack/plugins/osquery/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml\r\n./x-pack/solutions/security/plugins/lists/tsconfig.type_check.json\r\n./x-pack/test/api_integration/apis/entity_manager/fixture_plugin/tsconfig.type_check.json\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-openapi-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-openapi-common/scripts/openapi_generate.js:10\r\nsrc/platform/packages/shared/kbn-openapi-common/tsconfig.json:7\r\nsrc/platform/packages/shared/kbn-openapi-common/tsconfig.type_check.json:14\r\nsrc/platform/packages/shared/kbn-zod-helpers/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.json:7\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.type_check.json:14\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.type_check.json:23\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"96af6fa88057a8ec42cb643735c77412d9033108","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:Detection
Rule Management","backport:prev-minor","plugin
groups"],"number":202846,"url":"https://github.com/elastic/kibana/pull/202846","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-detection-rule-management` (#202846)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/openapi-common`
|\r\n`src/platform/packages/shared/kbn-openapi-common` |\r\n|
`@kbn/zod-helpers` | `src/platform/packages/shared/kbn-zod-helpers`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/code_generation/security_solution_codegen.sh\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/platform/packages/shared/kbn-openapi-common/jest.config.js\r\n./src/platform/packages/shared/kbn-zod-helpers/jest.config.js\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/tsconfig.type_check.json\r\n./x-pack/plugins/osquery/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml\r\n./x-pack/solutions/security/plugins/lists/tsconfig.type_check.json\r\n./x-pack/test/api_integration/apis/entity_manager/fixture_plugin/tsconfig.type_check.json\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-openapi-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-openapi-common/scripts/openapi_generate.js:10\r\nsrc/platform/packages/shared/kbn-openapi-common/tsconfig.json:7\r\nsrc/platform/packages/shared/kbn-openapi-common/tsconfig.type_check.json:14\r\nsrc/platform/packages/shared/kbn-zod-helpers/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.json:7\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.type_check.json:14\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.type_check.json:23\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"96af6fa88057a8ec42cb643735c77412d9033108"}},"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/202846","number":202846,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-detection-rule-management` (#202846)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/openapi-common`
|\r\n`src/platform/packages/shared/kbn-openapi-common` |\r\n|
`@kbn/zod-helpers` | `src/platform/packages/shared/kbn-zod-helpers`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/code_generation/security_solution_codegen.sh\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/platform/packages/shared/kbn-openapi-common/jest.config.js\r\n./src/platform/packages/shared/kbn-zod-helpers/jest.config.js\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/tsconfig.type_check.json\r\n./x-pack/plugins/osquery/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml\r\n./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml\r\n./x-pack/solutions/security/plugins/lists/tsconfig.type_check.json\r\n./x-pack/test/api_integration/apis/entity_manager/fixture_plugin/tsconfig.type_check.json\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-openapi-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-openapi-common/scripts/openapi_generate.js:10\r\nsrc/platform/packages/shared/kbn-openapi-common/tsconfig.json:7\r\nsrc/platform/packages/shared/kbn-openapi-common/tsconfig.type_check.json:14\r\nsrc/platform/packages/shared/kbn-zod-helpers/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.json:7\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.type_check.json:14\r\nsrc/platform/packages/shared/kbn-zod-helpers/tsconfig.type_check.json:23\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"96af6fa88057a8ec42cb643735c77412d9033108"}}]}]
BACKPORT-->
2024-12-18 13:11:38 -06:00
Alberto Blázquez
dee44c331c
[8.x] Revert backported AssetInventory plugin (revert #202827) (#204641)
## Summary

Clean-up all "Asset Inventory" plugin code from the `8.x` branch. 

### Motivation

It was decided in the weekly meetings not to backport any work related
to Asset Inventory because it's a new feature. However, this decision
was made after I had already shipped the first PR that introduced all
the minimal required boilerplate:

- https://github.com/elastic/kibana/pull/202291

which was backported with:

- https://github.com/elastic/kibana/pull/202827

I couldn't auto revert the merge commit because of this refactor PR that
was merged in between:

- https://github.com/elastic/kibana/pull/202862

So I'm deleting and reverting each change manually.

### Checklist

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

### Risks

No risk at all.
2024-12-18 08:55:58 -08:00
Gerard Soldevila
82ed34444a
[8.x] SKA: Move modules owned by @elastic/security-detection-engine (#202844) (#204703)
## Summary

Backport https://github.com/elastic/kibana/pull/202844 to `8.x` branch.
2024-12-18 16:54:39 +01:00
Clint Andrew Hall
8e17323459
[8.x] [ai][assistant] Create AI Assistant Icon, Avatar, Beacon (#203879) (#204745)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ai][assistant] Create AI Assistant Icon, Avatar, Beacon
(#203879)](https://github.com/elastic/kibana/pull/203879)

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

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

<!--BACKPORT [{"author":{"name":"Clint Andrew
Hall","email":"clint.hall@elastic.co"},"sourceCommit":{"committedDate":"2024-12-13T21:18:35Z","message":"[ai][assistant]
Create AI Assistant Icon, Avatar, Beacon
(#203879)","sha":"666a0cf9719a0af7c868a36f49b9d478b59a39a2","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","v9.0.0","Team:Obs
AI
Assistant","ci:project-deploy-observability","v8.18.0"],"number":203879,"url":"https://github.com/elastic/kibana/pull/203879","mergeCommit":{"message":"[ai][assistant]
Create AI Assistant Icon, Avatar, Beacon
(#203879)","sha":"666a0cf9719a0af7c868a36f49b9d478b59a39a2"}},"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/203879","number":203879,"mergeCommit":{"message":"[ai][assistant]
Create AI Assistant Icon, Avatar, Beacon
(#203879)","sha":"666a0cf9719a0af7c868a36f49b9d478b59a39a2"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-18 16:03:52 +01:00
Dzmitry Lemechko
8d49feb271
[8.x] [kbn-scout] Custom event-oriented test reporter & persistence (#202906) (#204696)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[kbn-scout] Custom event-oriented test reporter & persistence
(#202906)](https://github.com/elastic/kibana/pull/202906)

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

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

<!--BACKPORT [{"author":{"name":"David
Olaru","email":"dolaru@elastic.co"},"sourceCommit":{"committedDate":"2024-12-09T14:34:25Z","message":"[kbn-scout]
Custom event-oriented test reporter & persistence
(#202906)","sha":"ad4e8efd0f07f8f682709efce271493a4872e331","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","test:scout"],"number":202906,"url":"https://github.com/elastic/kibana/pull/202906","mergeCommit":{"message":"[kbn-scout]
Custom event-oriented test reporter & persistence
(#202906)","sha":"ad4e8efd0f07f8f682709efce271493a4872e331"}},"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/202906","number":202906,"mergeCommit":{"message":"[kbn-scout]
Custom event-oriented test reporter & persistence
(#202906)","sha":"ad4e8efd0f07f8f682709efce271493a4872e331"}}]}]
BACKPORT-->

---------

Co-authored-by: David Olaru <dolaru@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-18 05:06:58 -06:00
Eyo O. Eyo
f535325378
[8.x] ES Lint rules for css-in-js declarations within Kibana (#200703) (#204620)
# Backport

This will backport the following commits from `main` to `8.x`:
- [ES Lint rules for css-in-js declarations within Kibana
(#200703)](https://github.com/elastic/kibana/pull/200703)

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

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

<!--BACKPORT [{"author":{"name":"Eyo O.
Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-16T15:56:52Z","message":"ES
Lint rules for css-in-js declarations within Kibana (#200703)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana-team/issues/1272\r\n\r\nThis PR adds
implementation for eslint rules to help facilitate the\r\nmigration away
from SASS files to leveraging the design tokens EUI\r\nprovides for
styling.\r\n\r\nThe introduced rules in this PR are as follows;\r\n\r\n-
#### No CSS Color values\r\n Consider; \r\n\r\n ```tsx\r\n <EuiCode
style={{ color: '#dd4040' }}>Hello World!</EuiCode>\r\n ```\r\n\r\nthis
expression because it specifies the css color property, with a\r\nvalid
[CSS
color\r\nvalue](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value),\r\nwhen
the aforementioned rule is enabled depending on the set report\r\nlevel
set the user would get a feedback, see screenshot below;\r\n\r\n\r\n<img
width=\"735\" alt=\"Screenshot 2024-11-20 at 12 46
17\"\r\nsrc=\"https://github.com/user-attachments/assets/d2f608dc-782c-4d83-88e6-92dfdd8f6101\">\r\n\r\nThis
rule also works for variables defined elsewhere in the code
and\r\nreferenced as a value to the style prop, see screenshot
below;\r\n\r\n<img width=\"1658\" alt=\"Screenshot 2024-11-26 at 13 29
45\"\r\nsrc=\"https://github.com/user-attachments/assets/f8aadf6b-318b-4c6a-b7c9-bb44fb867b58\">\r\n\r\nfeedback
will also be provided when some variable that is a literal\r\nvalue is
specified as a value for any earmarked property that should
not\r\nspecify literal values.\r\n\r\n<img width=\"1730\"
alt=\"Screenshot 2024-11-28 at 19 00
08\"\r\nsrc=\"https://github.com/user-attachments/assets/bc3a8674-9469-4c7a-b0c9-7a2bfa7f08dc\">\r\n\r\nfeedback
will be provided for referencing a member prop of some object\r\ndefined
elsewhere as a value to any earmarked property that we have\r\ndeemed to
not specify literal values\r\n\r\n<img width=\"1676\" alt=\"Screenshot
2024-11-29 at 11 36
44\"\r\nsrc=\"https://github.com/user-attachments/assets/c4537fbf-b2d8-46bb-ad5f-8582e8c9a932\">\r\n\r\n\tSupports;\r\n\t-
object values\r\n\t- object references\r\n\t- template literals\r\n\t-
tagged templates \r\n\r\nThis approach does not penalize variable
declarations, only the usages\r\nof any said variable when it doesn't
conform to expectation\r\n\r\n- #### Prefer CSS attributes for EUI
components (optional)\r\n Consider; \r\n\r\n ```tsx\r\n<EuiCode style={{
someCSSProperty: 'propertyValue' }}>Hello\r\nWorld!</EuiCode>\r\n
```\r\nA declaration like the one above, will be regarded as an error
and can\r\nbe fixed, when it's fixed it will be re-written as\r\n \r\n
```tsx\r\n<EuiCode css={{ someCSSProperty: 'propertyValue'
}}>Hello\r\nWorld!</EuiCode>\r\n ```\r\n\r\n\t\r\n<!--\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\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- [ ] [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- [ ] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_node:*` 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###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ] ...\r\n\r\n\r\n-->\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7370cc712ee2bf23f4cf53eef2e74942340f761c","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","Team:SharedUX","backport:prev-minor"],"number":200703,"url":"https://github.com/elastic/kibana/pull/200703","mergeCommit":{"message":"ES
Lint rules for css-in-js declarations within Kibana (#200703)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana-team/issues/1272\r\n\r\nThis PR adds
implementation for eslint rules to help facilitate the\r\nmigration away
from SASS files to leveraging the design tokens EUI\r\nprovides for
styling.\r\n\r\nThe introduced rules in this PR are as follows;\r\n\r\n-
#### No CSS Color values\r\n Consider; \r\n\r\n ```tsx\r\n <EuiCode
style={{ color: '#dd4040' }}>Hello World!</EuiCode>\r\n ```\r\n\r\nthis
expression because it specifies the css color property, with a\r\nvalid
[CSS
color\r\nvalue](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value),\r\nwhen
the aforementioned rule is enabled depending on the set report\r\nlevel
set the user would get a feedback, see screenshot below;\r\n\r\n\r\n<img
width=\"735\" alt=\"Screenshot 2024-11-20 at 12 46
17\"\r\nsrc=\"https://github.com/user-attachments/assets/d2f608dc-782c-4d83-88e6-92dfdd8f6101\">\r\n\r\nThis
rule also works for variables defined elsewhere in the code
and\r\nreferenced as a value to the style prop, see screenshot
below;\r\n\r\n<img width=\"1658\" alt=\"Screenshot 2024-11-26 at 13 29
45\"\r\nsrc=\"https://github.com/user-attachments/assets/f8aadf6b-318b-4c6a-b7c9-bb44fb867b58\">\r\n\r\nfeedback
will also be provided when some variable that is a literal\r\nvalue is
specified as a value for any earmarked property that should
not\r\nspecify literal values.\r\n\r\n<img width=\"1730\"
alt=\"Screenshot 2024-11-28 at 19 00
08\"\r\nsrc=\"https://github.com/user-attachments/assets/bc3a8674-9469-4c7a-b0c9-7a2bfa7f08dc\">\r\n\r\nfeedback
will be provided for referencing a member prop of some object\r\ndefined
elsewhere as a value to any earmarked property that we have\r\ndeemed to
not specify literal values\r\n\r\n<img width=\"1676\" alt=\"Screenshot
2024-11-29 at 11 36
44\"\r\nsrc=\"https://github.com/user-attachments/assets/c4537fbf-b2d8-46bb-ad5f-8582e8c9a932\">\r\n\r\n\tSupports;\r\n\t-
object values\r\n\t- object references\r\n\t- template literals\r\n\t-
tagged templates \r\n\r\nThis approach does not penalize variable
declarations, only the usages\r\nof any said variable when it doesn't
conform to expectation\r\n\r\n- #### Prefer CSS attributes for EUI
components (optional)\r\n Consider; \r\n\r\n ```tsx\r\n<EuiCode style={{
someCSSProperty: 'propertyValue' }}>Hello\r\nWorld!</EuiCode>\r\n
```\r\nA declaration like the one above, will be regarded as an error
and can\r\nbe fixed, when it's fixed it will be re-written as\r\n \r\n
```tsx\r\n<EuiCode css={{ someCSSProperty: 'propertyValue'
}}>Hello\r\nWorld!</EuiCode>\r\n ```\r\n\r\n\t\r\n<!--\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\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- [ ] [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- [ ] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_node:*` 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###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ] ...\r\n\r\n\r\n-->\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7370cc712ee2bf23f4cf53eef2e74942340f761c"}},"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/200703","number":200703,"mergeCommit":{"message":"ES
Lint rules for css-in-js declarations within Kibana (#200703)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana-team/issues/1272\r\n\r\nThis PR adds
implementation for eslint rules to help facilitate the\r\nmigration away
from SASS files to leveraging the design tokens EUI\r\nprovides for
styling.\r\n\r\nThe introduced rules in this PR are as follows;\r\n\r\n-
#### No CSS Color values\r\n Consider; \r\n\r\n ```tsx\r\n <EuiCode
style={{ color: '#dd4040' }}>Hello World!</EuiCode>\r\n ```\r\n\r\nthis
expression because it specifies the css color property, with a\r\nvalid
[CSS
color\r\nvalue](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value),\r\nwhen
the aforementioned rule is enabled depending on the set report\r\nlevel
set the user would get a feedback, see screenshot below;\r\n\r\n\r\n<img
width=\"735\" alt=\"Screenshot 2024-11-20 at 12 46
17\"\r\nsrc=\"https://github.com/user-attachments/assets/d2f608dc-782c-4d83-88e6-92dfdd8f6101\">\r\n\r\nThis
rule also works for variables defined elsewhere in the code
and\r\nreferenced as a value to the style prop, see screenshot
below;\r\n\r\n<img width=\"1658\" alt=\"Screenshot 2024-11-26 at 13 29
45\"\r\nsrc=\"https://github.com/user-attachments/assets/f8aadf6b-318b-4c6a-b7c9-bb44fb867b58\">\r\n\r\nfeedback
will also be provided when some variable that is a literal\r\nvalue is
specified as a value for any earmarked property that should
not\r\nspecify literal values.\r\n\r\n<img width=\"1730\"
alt=\"Screenshot 2024-11-28 at 19 00
08\"\r\nsrc=\"https://github.com/user-attachments/assets/bc3a8674-9469-4c7a-b0c9-7a2bfa7f08dc\">\r\n\r\nfeedback
will be provided for referencing a member prop of some object\r\ndefined
elsewhere as a value to any earmarked property that we have\r\ndeemed to
not specify literal values\r\n\r\n<img width=\"1676\" alt=\"Screenshot
2024-11-29 at 11 36
44\"\r\nsrc=\"https://github.com/user-attachments/assets/c4537fbf-b2d8-46bb-ad5f-8582e8c9a932\">\r\n\r\n\tSupports;\r\n\t-
object values\r\n\t- object references\r\n\t- template literals\r\n\t-
tagged templates \r\n\r\nThis approach does not penalize variable
declarations, only the usages\r\nof any said variable when it doesn't
conform to expectation\r\n\r\n- #### Prefer CSS attributes for EUI
components (optional)\r\n Consider; \r\n\r\n ```tsx\r\n<EuiCode style={{
someCSSProperty: 'propertyValue' }}>Hello\r\nWorld!</EuiCode>\r\n
```\r\nA declaration like the one above, will be regarded as an error
and can\r\nbe fixed, when it's fixed it will be re-written as\r\n \r\n
```tsx\r\n<EuiCode css={{ someCSSProperty: 'propertyValue'
}}>Hello\r\nWorld!</EuiCode>\r\n ```\r\n\r\n\t\r\n<!--\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\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- [ ] [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- [ ] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_node:*` 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###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ] ...\r\n\r\n\r\n-->\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7370cc712ee2bf23f4cf53eef2e74942340f761c"}}]}]
BACKPORT-->
2024-12-18 09:18:14 +01:00
seanrathier
1e6a6caa5f
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-cloud-security-posture (#202862) (#204474)
# Backport

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

<!--- 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-16T17:56:03Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-cloud-security-posture`
(#202862)","sha":"f508ad2bf69745a020cf325089087b29b2d97625","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:
SecuritySolution","Team:Cloud
Security","backport:prev-minor","ci:cloud-deploy"],"number":202862,"url":"https://github.com/elastic/kibana/pull/202862","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-cloud-security-posture`
(#202862)","sha":"f508ad2bf69745a020cf325089087b29b2d97625"}},"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/202862","number":202862,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-cloud-security-posture`
(#202862)","sha":"f508ad2bf69745a020cf325089087b29b2d97625"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-18 09:14:02 +01:00
Kibana Machine
abde299121
[8.x] [inference] Add cancelation support for chatComplete and output (#203108) (#204588)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[inference] Add cancelation support for chatComplete and output
(#203108)](https://github.com/elastic/kibana/pull/203108)

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

### 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-12-17T15:13:17Z","message":"[inference]
Add cancelation support for chatComplete and output (#203108)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/200757\r\n\r\nAdd cancelation
support for `chatComplete` and `output`, based on an\r\nabort
signal.\r\n\r\n\r\n### Examples\r\n\r\n#### response
mode\r\n\r\n```ts\r\nimport { isInferenceRequestAbortedError } from
'@kbn/inference-common';\r\n\r\ntry {\r\n const abortController = new
AbortController();\r\n const chatResponse = await
inferenceClient.chatComplete({\r\n connectorId:
'some-gen-ai-connector',\r\n abortSignal: abortController.signal,\r\n
messages: [{ role: MessageRole.User, content: 'Do something' }],\r\n
});\r\n} catch(e) {\r\n if(isInferenceRequestAbortedError(e)) {\r\n //
request was aborted, do something\r\n } else {\r\n // was another error,
do something else\r\n }\r\n}\r\n\r\n//
elsewhere\r\nabortController.abort()\r\n```\r\n\r\n#### stream
mode\r\n\r\n```ts\r\nimport { isInferenceRequestAbortedError } from
'@kbn/inference-common';\r\n\r\nconst abortController = new
AbortController();\r\nconst events$ = inferenceClient.chatComplete({\r\n
stream: true,\r\n connectorId: 'some-gen-ai-connector',\r\n abortSignal:
abortController.signal,\r\n messages: [{ role: MessageRole.User,
content: 'Do something' }],\r\n});\r\n\r\nevents$.subscribe({\r\n next:
(event) => {\r\n // do something\r\n },\r\n error: (err) => {\r\n
if(isInferenceRequestAbortedError(e)) {\r\n // request was aborted, do
something\r\n } else {\r\n // was another error, do something else\r\n
}\r\n
}\r\n});\r\n\r\nabortController.abort();\r\n```","sha":"0b74f62a338fe1f6b281a019e71279f0d2ffb81f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","Team:AI
Infra","v8.18.0"],"title":"[inference] Add cancelation support for
chatComplete and
output","number":203108,"url":"https://github.com/elastic/kibana/pull/203108","mergeCommit":{"message":"[inference]
Add cancelation support for chatComplete and output (#203108)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/200757\r\n\r\nAdd cancelation
support for `chatComplete` and `output`, based on an\r\nabort
signal.\r\n\r\n\r\n### Examples\r\n\r\n#### response
mode\r\n\r\n```ts\r\nimport { isInferenceRequestAbortedError } from
'@kbn/inference-common';\r\n\r\ntry {\r\n const abortController = new
AbortController();\r\n const chatResponse = await
inferenceClient.chatComplete({\r\n connectorId:
'some-gen-ai-connector',\r\n abortSignal: abortController.signal,\r\n
messages: [{ role: MessageRole.User, content: 'Do something' }],\r\n
});\r\n} catch(e) {\r\n if(isInferenceRequestAbortedError(e)) {\r\n //
request was aborted, do something\r\n } else {\r\n // was another error,
do something else\r\n }\r\n}\r\n\r\n//
elsewhere\r\nabortController.abort()\r\n```\r\n\r\n#### stream
mode\r\n\r\n```ts\r\nimport { isInferenceRequestAbortedError } from
'@kbn/inference-common';\r\n\r\nconst abortController = new
AbortController();\r\nconst events$ = inferenceClient.chatComplete({\r\n
stream: true,\r\n connectorId: 'some-gen-ai-connector',\r\n abortSignal:
abortController.signal,\r\n messages: [{ role: MessageRole.User,
content: 'Do something' }],\r\n});\r\n\r\nevents$.subscribe({\r\n next:
(event) => {\r\n // do something\r\n },\r\n error: (err) => {\r\n
if(isInferenceRequestAbortedError(e)) {\r\n // request was aborted, do
something\r\n } else {\r\n // was another error, do something else\r\n
}\r\n
}\r\n});\r\n\r\nabortController.abort();\r\n```","sha":"0b74f62a338fe1f6b281a019e71279f0d2ffb81f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203108","number":203108,"mergeCommit":{"message":"[inference]
Add cancelation support for chatComplete and output (#203108)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/200757\r\n\r\nAdd cancelation
support for `chatComplete` and `output`, based on an\r\nabort
signal.\r\n\r\n\r\n### Examples\r\n\r\n#### response
mode\r\n\r\n```ts\r\nimport { isInferenceRequestAbortedError } from
'@kbn/inference-common';\r\n\r\ntry {\r\n const abortController = new
AbortController();\r\n const chatResponse = await
inferenceClient.chatComplete({\r\n connectorId:
'some-gen-ai-connector',\r\n abortSignal: abortController.signal,\r\n
messages: [{ role: MessageRole.User, content: 'Do something' }],\r\n
});\r\n} catch(e) {\r\n if(isInferenceRequestAbortedError(e)) {\r\n //
request was aborted, do something\r\n } else {\r\n // was another error,
do something else\r\n }\r\n}\r\n\r\n//
elsewhere\r\nabortController.abort()\r\n```\r\n\r\n#### stream
mode\r\n\r\n```ts\r\nimport { isInferenceRequestAbortedError } from
'@kbn/inference-common';\r\n\r\nconst abortController = new
AbortController();\r\nconst events$ = inferenceClient.chatComplete({\r\n
stream: true,\r\n connectorId: 'some-gen-ai-connector',\r\n abortSignal:
abortController.signal,\r\n messages: [{ role: MessageRole.User,
content: 'Do something' }],\r\n});\r\n\r\nevents$.subscribe({\r\n next:
(event) => {\r\n // do something\r\n },\r\n error: (err) => {\r\n
if(isInferenceRequestAbortedError(e)) {\r\n // request was aborted, do
something\r\n } else {\r\n // was another error, do something else\r\n
}\r\n
}\r\n});\r\n\r\nabortController.abort();\r\n```","sha":"0b74f62a338fe1f6b281a019e71279f0d2ffb81f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2024-12-17 15:24:27 -06:00
Dzmitry Lemechko
1c7e33a4c7
[8.x] [kbn-scout] initial package implementation (playwright-test POC) (#194006) (#204572)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[kbn-scout] initial package implementation (playwright-test POC)
(#194006)](https://github.com/elastic/kibana/pull/194006)

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

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2024-11-26T16:33:49Z","message":"[kbn-scout]
initial package implementation (playwright-test POC) (#194006)\n\n##
Summary\r\n\r\nThis PR introduces a new package, **kbn-scout**, designed
to streamline\r\nthe setup and execution of Playwright tests for Kibana.
The `kbn-scout`\r\npackage consolidates server management and testing
capabilities by\r\nwrapping both the Kibana/Elasticsearch server
launcher and the\r\nPlaywright test runner. It includes:\r\n\r\n- Test
and worker-scoped fixtures for reliable setup across test suites\r\n-
Page objects combined into the fixture for Kibana UI interactions\r\n-
Configurations for seamless test execution in both local and
CI\r\nenvironments (`Cloud` execution is out of scope)\r\n- This package
aims to simplify test setup and enhance modularity,\r\nmaking it easier
to create, run, and maintain deployment-agnostic tests,\r\nthat are
located in the plugin they actually test.\r\n\r\nTests example is
available in `x-pack/plugins/discover_enhanced` plugin\r\nunder
`ui_tests` folder\r\n\r\nHow to run:\r\n1) As a single script (servers +
tests): \r\n```\r\nnode scripts/scout_test.js
--config=x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts
--serverless=es\r\n```\r\n\r\n2) Start servers first\r\n```\r\nnode
scripts/scout_start_servers.js --serverless=es\r\n```\r\nthen run
tests:\r\n```\r\nnpx playwright test
--config=x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts\r\n```\r\nif
you have Playwright plugin in IDEA, just use it to run tests
files\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"310d922f137ed5c1117e2660ffa8af618810f350","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.0.0","test:scout"],"number":194006,"url":"https://github.com/elastic/kibana/pull/194006","mergeCommit":{"message":"[kbn-scout]
initial package implementation (playwright-test POC) (#194006)\n\n##
Summary\r\n\r\nThis PR introduces a new package, **kbn-scout**, designed
to streamline\r\nthe setup and execution of Playwright tests for Kibana.
The `kbn-scout`\r\npackage consolidates server management and testing
capabilities by\r\nwrapping both the Kibana/Elasticsearch server
launcher and the\r\nPlaywright test runner. It includes:\r\n\r\n- Test
and worker-scoped fixtures for reliable setup across test suites\r\n-
Page objects combined into the fixture for Kibana UI interactions\r\n-
Configurations for seamless test execution in both local and
CI\r\nenvironments (`Cloud` execution is out of scope)\r\n- This package
aims to simplify test setup and enhance modularity,\r\nmaking it easier
to create, run, and maintain deployment-agnostic tests,\r\nthat are
located in the plugin they actually test.\r\n\r\nTests example is
available in `x-pack/plugins/discover_enhanced` plugin\r\nunder
`ui_tests` folder\r\n\r\nHow to run:\r\n1) As a single script (servers +
tests): \r\n```\r\nnode scripts/scout_test.js
--config=x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts
--serverless=es\r\n```\r\n\r\n2) Start servers first\r\n```\r\nnode
scripts/scout_start_servers.js --serverless=es\r\n```\r\nthen run
tests:\r\n```\r\nnpx playwright test
--config=x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts\r\n```\r\nif
you have Playwright plugin in IDEA, just use it to run tests
files\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"310d922f137ed5c1117e2660ffa8af618810f350"}},"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/194006","number":194006,"mergeCommit":{"message":"[kbn-scout]
initial package implementation (playwright-test POC) (#194006)\n\n##
Summary\r\n\r\nThis PR introduces a new package, **kbn-scout**, designed
to streamline\r\nthe setup and execution of Playwright tests for Kibana.
The `kbn-scout`\r\npackage consolidates server management and testing
capabilities by\r\nwrapping both the Kibana/Elasticsearch server
launcher and the\r\nPlaywright test runner. It includes:\r\n\r\n- Test
and worker-scoped fixtures for reliable setup across test suites\r\n-
Page objects combined into the fixture for Kibana UI interactions\r\n-
Configurations for seamless test execution in both local and
CI\r\nenvironments (`Cloud` execution is out of scope)\r\n- This package
aims to simplify test setup and enhance modularity,\r\nmaking it easier
to create, run, and maintain deployment-agnostic tests,\r\nthat are
located in the plugin they actually test.\r\n\r\nTests example is
available in `x-pack/plugins/discover_enhanced` plugin\r\nunder
`ui_tests` folder\r\n\r\nHow to run:\r\n1) As a single script (servers +
tests): \r\n```\r\nnode scripts/scout_test.js
--config=x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts
--serverless=es\r\n```\r\n\r\n2) Start servers first\r\n```\r\nnode
scripts/scout_start_servers.js --serverless=es\r\n```\r\nthen run
tests:\r\n```\r\nnpx playwright test
--config=x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts\r\n```\r\nif
you have Playwright plugin in IDEA, just use it to run tests
files\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"310d922f137ed5c1117e2660ffa8af618810f350"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-17 12:33:36 -07:00
Shahzad
0bdde5725d
[8.x] [Obs UX Management] Migrate leftover code owner !! (#203814) (#203997)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs UX Management] Migrate leftover code owner !!
(#203814)](https://github.com/elastic/kibana/pull/203814)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-12-11T19:08:52Z","message":"[Obs
UX Management] Migrate leftover code owner !! (#203814)\n\n##
Summary\r\n\r\nMigrate leftover code owner
!!\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"37e107e1dcfb5046882224905e85e4251422eb40","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services"],"number":203814,"url":"https://github.com/elastic/kibana/pull/203814","mergeCommit":{"message":"[Obs
UX Management] Migrate leftover code owner !! (#203814)\n\n##
Summary\r\n\r\nMigrate leftover code owner
!!\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"37e107e1dcfb5046882224905e85e4251422eb40"}},"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/203814","number":203814,"mergeCommit":{"message":"[Obs
UX Management] Migrate leftover code owner !! (#203814)\n\n##
Summary\r\n\r\nMigrate leftover code owner
!!\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"37e107e1dcfb5046882224905e85e4251422eb40"}}]}]
BACKPORT-->
2024-12-17 12:32:39 -07:00
Gerard Soldevila
9ecc8186dd
[8.x] SKA: Relocate modules owned by @elastic/security-solution (#204523)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 3 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/security-solution-ess` |
`x-pack/solutions/security/plugins/security_solution_ess` |
| `@kbn/security-solution-plugin` |
`x-pack/solutions/security/plugins/security_solution` |
| `@kbn/security-solution-serverless` |
`x-pack/solutions/security/plugins/security_solution_serverless` |




#### 2 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/deeplinks-security` |
`src/platform/packages/shared/deeplinks/security` |
| `@kbn/serverless-security-settings` |
`src/platform/packages/shared/serverless/settings/security_project` |


<details open>
<summary>Script errors</summary>

```
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:25
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:25
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:25
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:25
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:25
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:25
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:25
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:25
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/gsoldevila/.backport/repositories/elastic/kibana/x-pack/solutions/security/plugins/security_solution/package.json:31
```

</details><details >
<summary>Updated references</summary>

```
./.buildkite/scripts/packer_cache.sh
./.buildkite/scripts/pipelines/security_solution_quality_gate/edr_workflows/mki_security_solution_defend_workflows.sh
./.buildkite/scripts/steps/code_generation/security_solution_codegen.sh
./.buildkite/scripts/steps/functional/defend_workflows.sh
./.buildkite/scripts/steps/functional/defend_workflows_burn.sh
./.buildkite/scripts/steps/functional/defend_workflows_serverless.sh
./.buildkite/scripts/steps/functional/defend_workflows_serverless_burn.sh
./.buildkite/scripts/steps/openapi_bundling/security_solution_openapi_bundling.sh
./.eslintrc.js
./.github/codeql/codeql-config.yml
./.gitignore
./docs/developer/plugin-list.asciidoc
./oas_docs/scripts/merge_ess_oas.js
./package.json
./packages/kbn-dependency-usage/README.md
./packages/kbn-dependency-usage/src/dependency_graph/providers/cruiser.test.ts
./packages/kbn-openapi-generator/README.md
./packages/kbn-repo-packages/package-map.json
./packages/kbn-securitysolution-io-ts-types/src/version/index.ts
./packages/kbn-ts-projects/config-paths.json
./packages/kbn-zod-helpers/README.md
./src/dev/code_coverage/docs/team_assignment/README.md
./src/dev/precommit_hook/casing_check_config.js
./src/dev/storybook/aliases.ts
./src/platform/packages/shared/deeplinks/security/jest.config.js
./src/plugins/data/server/search/search_service.ts
./src/plugins/guided_onboarding/README.md
./tsconfig.base.json
./tsconfig.refs.json
./x-pack/.i18nrc.json
./x-pack/README.md
./x-pack/platform/packages/shared/kbn-elastic-assistant-common/README.md
./x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/prompt_context/types.ts
./x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts
./x-pack/platform/plugins/shared/osquery/package.json
./x-pack/plugins/cloud_defend/public/common/navigation/types.ts
./x-pack/plugins/cloud_security_posture/public/common/navigation/types.ts
./x-pack/plugins/fleet/dev_docs/fleet_ui_extensions.md
./x-pack/plugins/fleet/server/services/epm/archive/parse.ts
./x-pack/plugins/fleet/server/telemetry/sender.ts
./x-pack/plugins/lists/server/routes/utils/build_siem_response.ts
./x-pack/plugins/lists/server/routes/utils/route_validation.test.ts
./x-pack/plugins/lists/server/routes/utils/route_validation.ts
./x-pack/plugins/rule_registry/common/schemas/README.md
./x-pack/plugins/rule_registry/server/routes/utils/route_validation.ts
./x-pack/solutions/observability/plugins/synthetics/server/telemetry/sender.ts
./x-pack/solutions/security/packages/data_table/README.md
./x-pack/solutions/security/packages/expandable-flyout/README.md
./x-pack/solutions/security/packages/features/src/security/types.ts
./x-pack/solutions/security/packages/navigation/src/constants.ts
./x-pack/solutions/security/plugins/elastic_assistant/server/routes/user_conversations/find_route.ts
./x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/model/alerts/README.md
./x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff_conflict.ts
./x-pack/solutions/security/plugins/security_solution/common/api/endpoint/README.md
./x-pack/solutions/security/plugins/security_solution/common/api/endpoint/actions/response_actions/kill_process/kill_process.ts
./x-pack/solutions/security/plugins/security_solution/common/endpoint/service/response_actions/constants.ts
./x-pack/solutions/security/plugins/security_solution/common/endpoint/utils/kibana_status.ts
./x-pack/solutions/security/plugins/security_solution/common/jest.config.js
./x-pack/solutions/security/plugins/security_solution/docs/adrs/threat_hunting/0001_saving_of_timeline_associated_saved_objects.md
./x-pack/solutions/security/plugins/security_solution/docs/openapi/README.md
./x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md
./x-pack/solutions/security/plugins/security_solution/jest.config.dev.js
./x-pack/solutions/security/plugins/security_solution/jest.integration.config.js
./x-pack/solutions/security/plugins/security_solution/public/app/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/assistant/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/attack_discovery/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/cases/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/common/components/toasters/utils.ts
./x-pack/solutions/security/plugins/security_solution/public/common/components/with_security_context/store.ts
./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts
./x-pack/solutions/security/plugins/security_solution/public/common/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/dashboards/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/detection_engine/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/detections/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/entity_analytics/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/exceptions/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/explore/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/flyout/README.md
./x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/right/hooks/use_fetch_threat_intelligence.ts
./x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/shared/mocks/mock_get_fields_data.ts
./x-pack/solutions/security/plugins/security_solution/public/flyout/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/management/cypress/README.md
./x-pack/solutions/security/plugins/security_solution/public/management/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/notes/api/api.ts
./x-pack/solutions/security/plugins/security_solution/public/notes/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/onboarding/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/overview/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/resolver/documentation/schema.md
./x-pack/solutions/security/plugins/security_solution/public/resolver/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/security_integrations/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/siem_migrations/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/sourcerer/jest.config.js
./x-pack/solutions/security/plugins/security_solution/public/threat_intelligence/use_investigate_in_timeline.ts
./x-pack/solutions/security/plugins/security_solution/public/timelines/jest.config.js
./x-pack/solutions/security/plugins/security_solution/scripts/endpoint/README.md
./x-pack/solutions/security/plugins/security_solution/scripts/endpoint/api_emulator/README.md
./x-pack/solutions/security/plugins/security_solution/scripts/endpoint/common/roles_users/serverless/es_serverless_resources/README.md
./x-pack/solutions/security/plugins/security_solution/scripts/endpoint/common/vm_services.ts
./x-pack/solutions/security/plugins/security_solution/scripts/jest.config.js
./x-pack/solutions/security/plugins/security_solution/scripts/junit_transformer/__snapshots__/junit_transformer.test.ts.snap
./x-pack/solutions/security/plugins/security_solution/scripts/junit_transformer/fixtures/suite_with_failing_test.xml
./x-pack/solutions/security/plugins/security_solution/scripts/mappings/README.md
./x-pack/solutions/security/plugins/security_solution/scripts/openapi/generate.js
./x-pack/solutions/security/plugins/security_solution/scripts/quickstart/README.md
./x-pack/solutions/security/plugins/security_solution/scripts/run_cypress/utils.ts
./x-pack/solutions/security/plugins/security_solution/scripts/telemetry/README.md
./x-pack/solutions/security/plugins/security_solution/server/__mocks__/module_name_map.js
./x-pack/solutions/security/plugins/security_solution/server/assistant/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/client/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/config.ts
./x-pack/solutions/security/plugins/security_solution/server/endpoint/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/endpoint/services/agent/clients/endpoint/endpoint_agent_status_client.test.ts
./x-pack/solutions/security/plugins/security_solution/server/endpoint/services/metadata/mocks.ts
./x-pack/solutions/security/plugins/security_solution/server/fleet_integration/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/integration_tests/lib/helpers.ts
./x-pack/solutions/security/plugins/security_solution/server/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/README.md
./x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/content/prepackaged_timelines/README.md
./x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/detection_engine_health/README.md
./x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_types/new_terms/bulk_create_suppressed_alerts_in_memory.ts
./x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/risk_score/painless/index.test.ts
./x-pack/solutions/security/plugins/security_solution/server/lib/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/readme.md
./x-pack/solutions/security/plugins/security_solution/server/lib/telemetry/artifact.test.ts
./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/routes/notes/get_notes.ts
./x-pack/solutions/security/plugins/security_solution/server/lists_integration/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/search_strategy/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/usage/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/utils/jest.config.js
./x-pack/solutions/security/plugins/security_solution_ess/jest.config.dev.js
./x-pack/solutions/security/plugins/security_solution_ess/public/jest.config.js
./x-pack/solutions/security/plugins/security_solution_serverless/common/config.ts
./x-pack/solutions/security/plugins/security_solution_serverless/common/jest.config.js
./x-pack/solutions/security/plugins/security_solution_serverless/jest.config.dev.js
./x-pack/solutions/security/plugins/security_solution_serverless/public/jest.config.js
./x-pack/solutions/security/plugins/security_solution_serverless/server/config.ts
./x-pack/solutions/security/plugins/security_solution_serverless/server/jest.config.js
./x-pack/solutions/security/plugins/threat_intelligence/README.md
./x-pack/solutions/security/plugins/threat_intelligence/common/types/indicator.ts
./x-pack/solutions/security/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.ts
./x-pack/solutions/security/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.ts
./x-pack/solutions/security/plugins/threat_intelligence/public/types.ts
./x-pack/solutions/security/plugins/threat_intelligence/public/utils/security_solution_links.ts
./x-pack/solutions/security/plugins/timelines/common/types/timeline/cells/index.ts
./x-pack/solutions/security/plugins/timelines/common/types/timeline/rows/index.ts
./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts
./x-pack/test/security_solution_api_integration/test_suites/detections_response/detection_engine/rule_execution_logic/eql/trial_license_complete_tier/eql_alert_suppression.ts
./x-pack/test/security_solution_cypress/cypress/tsconfig.json
./x-pack/test/security_solution_cypress/package.json
./x-pack/test/security_solution_endpoint/page_objects/policy_page.ts
./x-pack/test/security_solution_playwright/package.json
./x-pack/test/security_solution_playwright/tsconfig.json
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/packages/shared/deeplinks/security/jest.config.js:12
src/platform/packages/shared/deeplinks/security/tsconfig.json:2
src/platform/packages/shared/serverless/settings/security_project/tsconfig.json:2
x-pack/solutions/security/plugins/security_solution/README.md:100
x-pack/solutions/security/plugins/security_solution/README.md:22
x-pack/solutions/security/plugins/security_solution/README.md:26
x-pack/solutions/security/plugins/security_solution/README.md:31
x-pack/solutions/security/plugins/security_solution/common/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/docs/openapi/README.md:3
x-pack/solutions/security/plugins/security_solution/docs/openapi/README.md:7
x-pack/solutions/security/plugins/security_solution/jest.config.dev.js:10
x-pack/solutions/security/plugins/security_solution/jest.integration.config.js:10
x-pack/solutions/security/plugins/security_solution/package.json:10
x-pack/solutions/security/plugins/security_solution/package.json:13
x-pack/solutions/security/plugins/security_solution/package.json:16
x-pack/solutions/security/plugins/security_solution/package.json:25
x-pack/solutions/security/plugins/security_solution/package.json:31
x-pack/solutions/security/plugins/security_solution/package.json:8
x-pack/solutions/security/plugins/security_solution/package.json:9
x-pack/solutions/security/plugins/security_solution/public/app/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/assistant/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/attack_discovery/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/cases/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/common/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/dashboards/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/detection_engine/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/detections/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/entity_analytics/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/exceptions/hooks/use_import_exception_list/index.tsx:25
x-pack/solutions/security/plugins/security_solution/public/exceptions/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/explore/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/flyout/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts:27
x-pack/solutions/security/plugins/security_solution/public/management/cypress/tsconfig.json:2
x-pack/solutions/security/plugins/security_solution/public/management/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/management/reporter_config.json:12
x-pack/solutions/security/plugins/security_solution/public/management/reporter_config.json:14
x-pack/solutions/security/plugins/security_solution/public/notes/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/onboarding/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/overview/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/resolver/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/security_integrations/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/siem_migrations/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/sourcerer/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/public/timelines/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/scripts/beat_docs/build.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/agent_downloader.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/endpoint_agent_emulator.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/load_agent_policies.js:10
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/load_blocklists.js:10
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/load_endpoint_policies.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/load_env_data.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/load_event_filters.js:10
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/load_host_isolation_exceptions.js:10
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/load_trusted_apps.js:10
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/resolver_generator.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/run_endpoint_agent.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/run_sentinelone_host.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/start_es_serverless_with_security_users.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/start_external_edr_server_emulator.js:8
x-pack/solutions/security/plugins/security_solution/scripts/endpoint/start_fleet_server.js:8
x-pack/solutions/security/plugins/security_solution/scripts/extract_tactics_techniques_mitre.js:8
x-pack/solutions/security/plugins/security_solution/scripts/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/scripts/junit_transformer/index.js:8
x-pack/solutions/security/plugins/security_solution/scripts/mappings/mappings_generator.js:8
x-pack/solutions/security/plugins/security_solution/scripts/mappings/mappings_loader.js:8
x-pack/solutions/security/plugins/security_solution/scripts/mappings/mappings_loader_script.ts:20
x-pack/solutions/security/plugins/security_solution/scripts/mappings/mappings_loader_script.ts:21
x-pack/solutions/security/plugins/security_solution/scripts/openapi/bundle_detections.js:8
x-pack/solutions/security/plugins/security_solution/scripts/openapi/bundle_endpoint_management.js:8
x-pack/solutions/security/plugins/security_solution/scripts/openapi/bundle_entity_analytics.js:8
x-pack/solutions/security/plugins/security_solution/scripts/openapi/bundle_timeline.js:8
x-pack/solutions/security/plugins/security_solution/scripts/openapi/generate.js:8
x-pack/solutions/security/plugins/security_solution/scripts/quickstart/run.js:8
x-pack/solutions/security/plugins/security_solution/scripts/run_playwright/playwright.ts:327
x-pack/solutions/security/plugins/security_solution/scripts/run_playwright/playwright.ts:337
x-pack/solutions/security/plugins/security_solution/scripts/run_playwright/start_playwright.js:8
x-pack/solutions/security/plugins/security_solution/scripts/siem_migration/draw_graphs.js:8
x-pack/solutions/security/plugins/security_solution/scripts/start_cypress_parallel.js:8
x-pack/solutions/security/plugins/security_solution/scripts/start_cypress_parallel_serverless.js:8
x-pack/solutions/security/plugins/security_solution/server/assistant/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/client/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/endpoint/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/fleet_integration/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_context.ts:18
x-pack/solutions/security/plugins/security_solution/server/lib/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/lists_integration/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/search_strategy/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/usage/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/server/utils/jest.config.js:10
x-pack/solutions/security/plugins/security_solution/tsconfig.json:16
x-pack/solutions/security/plugins/security_solution/tsconfig.json:2
x-pack/solutions/security/plugins/security_solution/tsconfig.json:22
x-pack/solutions/security/plugins/security_solution_ess/README.md:76
x-pack/solutions/security/plugins/security_solution_ess/jest.config.dev.js:10
x-pack/solutions/security/plugins/security_solution_ess/package.json:8
x-pack/solutions/security/plugins/security_solution_ess/package.json:9
x-pack/solutions/security/plugins/security_solution_ess/public/jest.config.js:9
x-pack/solutions/security/plugins/security_solution_ess/tsconfig.json:12
x-pack/solutions/security/plugins/security_solution_ess/tsconfig.json:2
x-pack/solutions/security/plugins/security_solution_serverless/README.md:78
x-pack/solutions/security/plugins/security_solution_serverless/common/jest.config.js:10
x-pack/solutions/security/plugins/security_solution_serverless/jest.config.dev.js:10
x-pack/solutions/security/plugins/security_solution_serverless/package.json:8
x-pack/solutions/security/plugins/security_solution_serverless/package.json:9
x-pack/solutions/security/plugins/security_solution_serverless/public/jest.config.js:10
x-pack/solutions/security/plugins/security_solution_serverless/server/jest.config.js:11
x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.json:12
x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.json:2
```

</details>

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-17 20:13:10 +01:00
Marco Antonio Ghiani
6c8302128b
[8.x][Observability Onboarding] Remove legacy team ownership (#204576)
## 📓 Summary

Manual backport for #203808

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
2024-12-17 09:36:17 -06:00
Gerard Soldevila
e3c5e8ddb1
[8.x] Sustainable Kibana Architecture: Relocate script v5 (#204522)
## Summary

Backport https://github.com/elastic/kibana/pull/204461 to `8.x` branch

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-17 13:57:27 +01:00
Shahzad
0a5e9da063
[8.x] Relocating module @kbn/slo-plugin (#204265) (#204456)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Relocating module `@kbn/slo-plugin`
(#204265)](https://github.com/elastic/kibana/pull/204265)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-12-16T16:35:31Z","message":"Relocating
module `@kbn/slo-plugin` (#204265)\n\n## Summary\r\n\r\nPR has been
generated with script `node scripts/relocate
--team\r\n\"@elastic/obs-ux-management-team\"`\r\n\r\nRelocating module
`@kbn/slo-plugin`\r\n\r\nWe are facing emotion issues that we need to
fix !!\r\n\r\nWe need to figure out why app is broken after relocating
with
following\r\nerror\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0e9de89c-7044-4099-bb05-c5ebf21f77c4)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Kevin Delemme
<kevin.delemme@elastic.co>","sha":"984a059e67c774243adc77f6291a45eda9e8fd12","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"number":204265,"url":"https://github.com/elastic/kibana/pull/204265","mergeCommit":{"message":"Relocating
module `@kbn/slo-plugin` (#204265)\n\n## Summary\r\n\r\nPR has been
generated with script `node scripts/relocate
--team\r\n\"@elastic/obs-ux-management-team\"`\r\n\r\nRelocating module
`@kbn/slo-plugin`\r\n\r\nWe are facing emotion issues that we need to
fix !!\r\n\r\nWe need to figure out why app is broken after relocating
with
following\r\nerror\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0e9de89c-7044-4099-bb05-c5ebf21f77c4)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Kevin Delemme
<kevin.delemme@elastic.co>","sha":"984a059e67c774243adc77f6291a45eda9e8fd12"}},"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/204265","number":204265,"mergeCommit":{"message":"Relocating
module `@kbn/slo-plugin` (#204265)\n\n## Summary\r\n\r\nPR has been
generated with script `node scripts/relocate
--team\r\n\"@elastic/obs-ux-management-team\"`\r\n\r\nRelocating module
`@kbn/slo-plugin`\r\n\r\nWe are facing emotion issues that we need to
fix !!\r\n\r\nWe need to figure out why app is broken after relocating
with
following\r\nerror\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0e9de89c-7044-4099-bb05-c5ebf21f77c4)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Kevin Delemme
<kevin.delemme@elastic.co>","sha":"984a059e67c774243adc77f6291a45eda9e8fd12"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-17 06:37:58 -06:00
Matthew Kime
437b88fef3
[8.x] [ingest pipeline mgmt] Move to x-pack/platform/plugins/shared/ingest_pipelines (#204331) (#204502)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ingest pipeline mgmt] Move to
x-pack/platform/plugins/shared/ingest_pipelines
(#204331)](https://github.com/elastic/kibana/pull/204331)

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

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

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2024-12-16T22:09:27Z","message":"[ingest
pipeline mgmt] Move to x-pack/platform/plugins/shared/ingest_pipelines
(#204331)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/ingest-pipelines-plugin`
|\r\n`x-pack/platform/plugins/shared/ingest_pipelines`
|\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-package-map/package-map.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./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/transform/common/types/es_ingest_pipeline.ts\r\n./x-pack/platform/plugins/shared/ingest_pipelines/jest.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/shared/ingest_pipelines/jest.config.js:10\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.json:11\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:13\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:35\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:38\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:41\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:44\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:47\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:50\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:53\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:56\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:59\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:62\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:65\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:68\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:71\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:74\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:77\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:80\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:83\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:86\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:89\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:92\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:95\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7460dc47fe657a2bd0a1ef9824de4cd57eddecc3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","v9.0.0","Feature:Ingest Node
Pipelines","backport:prev-minor"],"number":204331,"url":"https://github.com/elastic/kibana/pull/204331","mergeCommit":{"message":"[ingest
pipeline mgmt] Move to x-pack/platform/plugins/shared/ingest_pipelines
(#204331)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/ingest-pipelines-plugin`
|\r\n`x-pack/platform/plugins/shared/ingest_pipelines`
|\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-package-map/package-map.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./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/transform/common/types/es_ingest_pipeline.ts\r\n./x-pack/platform/plugins/shared/ingest_pipelines/jest.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/shared/ingest_pipelines/jest.config.js:10\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.json:11\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:13\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:35\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:38\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:41\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:44\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:47\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:50\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:53\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:56\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:59\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:62\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:65\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:68\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:71\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:74\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:77\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:80\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:83\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:86\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:89\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:92\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:95\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7460dc47fe657a2bd0a1ef9824de4cd57eddecc3"}},"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/204331","number":204331,"mergeCommit":{"message":"[ingest
pipeline mgmt] Move to x-pack/platform/plugins/shared/ingest_pipelines
(#204331)\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\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
1 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/ingest-pipelines-plugin`
|\r\n`x-pack/platform/plugins/shared/ingest_pipelines`
|\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-package-map/package-map.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./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/plugins/private/transform/common/types/es_ingest_pipeline.ts\r\n./x-pack/platform/plugins/shared/ingest_pipelines/jest.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/platform/plugins/shared/ingest_pipelines/jest.config.js:10\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.json:11\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.json:2\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:13\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:35\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:38\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:41\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:44\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:47\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:50\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:53\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:56\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:59\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:62\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:65\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:68\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:71\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:74\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:77\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:80\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:83\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:86\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:89\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:92\r\nx-pack/platform/plugins/shared/ingest_pipelines/tsconfig.type_check.json:95\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7460dc47fe657a2bd0a1ef9824de4cd57eddecc3"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-16 17:36:42 -08:00
Gerard Soldevila
7c1a30ad60
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-threat-hunting-explore (#202852) (#204327)
# Backport

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

<!--- 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-13T18:46:30Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting-explore` (#202852)\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#### 1 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ecs-data-quality-dashboard-plugin`
|\r\n`x-pack/solutions/security/plugins/ecs_data_quality_dashboard`
|\r\n\r\n\r\n\r\n\r\n#### 8 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cell-actions` |
`src/platform/packages/shared/kbn-cell-actions`\r\n|\r\n|
`@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-storybook-config`
|\r\n`x-pack/solutions/security/packages/storybook/config` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-ecs`
|\r\n`src/platform/packages/shared/kbn-securitysolution-ecs`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\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/packages/shared/kbn-cell-actions/jest.config.js\r\n./src/platform/packages/shared/kbn-securitysolution-ecs/jest.config.js\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/jest.config.js\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/packages/shared/kbn-cell-actions/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-cell-actions/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-securitysolution-ecs/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-securitysolution-ecs/tsconfig.json:2\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/jest.config.js:15\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.json:12\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
Karen Grigoryan
<karen.grigoryan@elastic.co>","sha":"f1440787129c973fdae0a8fa419f8909029601ae","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:Explore","backport:prev-minor"],"number":202852,"url":"https://github.com/elastic/kibana/pull/202852","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting-explore` (#202852)\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#### 1 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ecs-data-quality-dashboard-plugin`
|\r\n`x-pack/solutions/security/plugins/ecs_data_quality_dashboard`
|\r\n\r\n\r\n\r\n\r\n#### 8 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cell-actions` |
`src/platform/packages/shared/kbn-cell-actions`\r\n|\r\n|
`@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-storybook-config`
|\r\n`x-pack/solutions/security/packages/storybook/config` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-ecs`
|\r\n`src/platform/packages/shared/kbn-securitysolution-ecs`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\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/packages/shared/kbn-cell-actions/jest.config.js\r\n./src/platform/packages/shared/kbn-securitysolution-ecs/jest.config.js\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/jest.config.js\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/packages/shared/kbn-cell-actions/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-cell-actions/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-securitysolution-ecs/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-securitysolution-ecs/tsconfig.json:2\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/jest.config.js:15\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.json:12\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
Karen Grigoryan
<karen.grigoryan@elastic.co>","sha":"f1440787129c973fdae0a8fa419f8909029601ae"}},"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/202852","number":202852,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting-explore` (#202852)\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#### 1 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/ecs-data-quality-dashboard-plugin`
|\r\n`x-pack/solutions/security/plugins/ecs_data_quality_dashboard`
|\r\n\r\n\r\n\r\n\r\n#### 8 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cell-actions` |
`src/platform/packages/shared/kbn-cell-actions`\r\n|\r\n|
`@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-storybook-config`
|\r\n`x-pack/solutions/security/packages/storybook/config` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-ecs`
|\r\n`src/platform/packages/shared/kbn-securitysolution-ecs`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\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/packages/shared/kbn-cell-actions/jest.config.js\r\n./src/platform/packages/shared/kbn-securitysolution-ecs/jest.config.js\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/jest.config.js\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/packages/shared/kbn-cell-actions/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-cell-actions/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-securitysolution-ecs/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-securitysolution-ecs/tsconfig.json:2\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/jest.config.js:15\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.json:12\r\nx-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
Karen Grigoryan
<karen.grigoryan@elastic.co>","sha":"f1440787129c973fdae0a8fa419f8909029601ae"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co>
2024-12-16 19:12:32 -06:00
Kenneth Kreindler
49f8fddee7
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-generative-ai (#202848) (#204468)
## Summary

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


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] 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
- [ ] 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 was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-12-16 16:54:32 -06:00
Shahzad
87f9d773fd
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-management-team (#202832) (#204256)
# Backport

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

<!--- 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-12T20:28:21Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\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#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\r\n| `@kbn/observability-alerting-test-data`
|\r\n`x-pack/solutions/observability/packages/alerting_test_data` |\r\n|
`@kbn/observability-get-padded-alert-time-range-util`
|\r\n`x-pack/solutions/observability/packages/get_padded_alert_time_range_util`\r\n|\r\n|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\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-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\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/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\r\n./x-pack/solutions/observability/packages/alert_details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting_test_data/jest.config.js\r\n./x-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js\r\n./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/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\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert_details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert_details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85","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-ux-management"],"number":202832,"url":"https://github.com/elastic/kibana/pull/202832","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\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#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\r\n| `@kbn/observability-alerting-test-data`
|\r\n`x-pack/solutions/observability/packages/alerting_test_data` |\r\n|
`@kbn/observability-get-padded-alert-time-range-util`
|\r\n`x-pack/solutions/observability/packages/get_padded_alert_time_range_util`\r\n|\r\n|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\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-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\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/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\r\n./x-pack/solutions/observability/packages/alert_details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting_test_data/jest.config.js\r\n./x-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js\r\n./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/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\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert_details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert_details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85"}},"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/202832","number":202832,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\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#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\r\n| `@kbn/observability-alerting-test-data`
|\r\n`x-pack/solutions/observability/packages/alerting_test_data` |\r\n|
`@kbn/observability-get-padded-alert-time-range-util`
|\r\n`x-pack/solutions/observability/packages/get_padded_alert_time_range_util`\r\n|\r\n|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\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-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\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/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\r\n./x-pack/solutions/observability/packages/alert_details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting_test_data/jest.config.js\r\n./x-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js\r\n./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/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\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert_details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert_details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Justin Kambic <jk@elastic.co>
2024-12-16 10:49:47 -06:00
Gerard Soldevila
0e65296515
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-knowledge-team (#202766) (#204325)
# Backport

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

<!--- 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-13T11:43:28Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-knowledge-team`
(#202766)\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#### 8 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/io-ts-utils` |
`src/platform/packages/shared/kbn-io-ts-utils` |\r\n|
`@kbn/server-route-repository`
|\r\n`src/platform/packages/shared/kbn-server-route-repository` |\r\n|
`@kbn/server-route-repository-client`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-client`
|\r\n| `@kbn/server-route-repository-utils`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-utils`
|\r\n| `@kbn/sse-utils` | `src/platform/packages/shared/kbn-sse-utils`
|\r\n| `@kbn/sse-utils-client`
|\r\n`src/platform/packages/shared/kbn-sse-utils-client` |\r\n|
`@kbn/sse-utils-server`
|\r\n`src/platform/packages/private/kbn-sse-utils-server` |\r\n|
`@kbn/typed-react-router-config`
|\r\n`src/platform/packages/shared/kbn-typed-react-router-config`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\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/platform/packages/private/kbn-sse-utils-server/jest.config.js\r\n./src/platform/packages/shared/kbn-io-ts-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils-client/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-typed-react-router-config/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-sse-utils-server/jest.config.js:12\r\nsrc/platform/packages/private/kbn-sse-utils-server/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-io-ts-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-io-ts-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/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":"0147e7456e4540dc691bdb10b46f58adaa1240b4","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-knowledge"],"number":202766,"url":"https://github.com/elastic/kibana/pull/202766","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-knowledge-team`
(#202766)\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#### 8 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/io-ts-utils` |
`src/platform/packages/shared/kbn-io-ts-utils` |\r\n|
`@kbn/server-route-repository`
|\r\n`src/platform/packages/shared/kbn-server-route-repository` |\r\n|
`@kbn/server-route-repository-client`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-client`
|\r\n| `@kbn/server-route-repository-utils`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-utils`
|\r\n| `@kbn/sse-utils` | `src/platform/packages/shared/kbn-sse-utils`
|\r\n| `@kbn/sse-utils-client`
|\r\n`src/platform/packages/shared/kbn-sse-utils-client` |\r\n|
`@kbn/sse-utils-server`
|\r\n`src/platform/packages/private/kbn-sse-utils-server` |\r\n|
`@kbn/typed-react-router-config`
|\r\n`src/platform/packages/shared/kbn-typed-react-router-config`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\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/platform/packages/private/kbn-sse-utils-server/jest.config.js\r\n./src/platform/packages/shared/kbn-io-ts-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils-client/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-typed-react-router-config/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-sse-utils-server/jest.config.js:12\r\nsrc/platform/packages/private/kbn-sse-utils-server/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-io-ts-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-io-ts-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/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":"0147e7456e4540dc691bdb10b46f58adaa1240b4"}},"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/202766","number":202766,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-knowledge-team`
(#202766)\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#### 8 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/io-ts-utils` |
`src/platform/packages/shared/kbn-io-ts-utils` |\r\n|
`@kbn/server-route-repository`
|\r\n`src/platform/packages/shared/kbn-server-route-repository` |\r\n|
`@kbn/server-route-repository-client`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-client`
|\r\n| `@kbn/server-route-repository-utils`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-utils`
|\r\n| `@kbn/sse-utils` | `src/platform/packages/shared/kbn-sse-utils`
|\r\n| `@kbn/sse-utils-client`
|\r\n`src/platform/packages/shared/kbn-sse-utils-client` |\r\n|
`@kbn/sse-utils-server`
|\r\n`src/platform/packages/private/kbn-sse-utils-server` |\r\n|
`@kbn/typed-react-router-config`
|\r\n`src/platform/packages/shared/kbn-typed-react-router-config`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\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/platform/packages/private/kbn-sse-utils-server/jest.config.js\r\n./src/platform/packages/shared/kbn-io-ts-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils-client/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-typed-react-router-config/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-sse-utils-server/jest.config.js:12\r\nsrc/platform/packages/private/kbn-sse-utils-server/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-io-ts-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-io-ts-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/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":"0147e7456e4540dc691bdb10b46f58adaa1240b4"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-16 09:09:21 +01:00
Matthew Kime
e6c9e20ae9
[8.x] kibana-management team module move (#203883) (#204274)
# Backport

This will backport the following commits from `main` to `8.x`:
- [kibana-management team module move
(#203883)](https://github.com/elastic/kibana/pull/203883)

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

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

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2024-12-13T18:29:30Z","message":"kibana-management
team module move (#203883)\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#### 17 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cloud-data-migration-plugin`
|\r\n`x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration`\r\n|\r\n|
`@kbn/console-plugin` | `src/platform/plugins/shared/console` |\r\n|
`@kbn/cross-cluster-replication-plugin`
|\r\n`x-pack/platform/plugins/private/cross_cluster_replication` |\r\n|
`@kbn/dev-tools-plugin` | `src/platform/plugins/shared/dev_tools` |\r\n|
`@kbn/es-ui-shared-plugin`
|\r\n`src/platform/plugins/shared/es_ui_shared` |\r\n|
`@kbn/grokdebugger-plugin`
|\r\n`x-pack/platform/plugins/private/grokdebugger` |\r\n|
`@kbn/index-lifecycle-management-plugin`
|\r\n`x-pack/platform/plugins/private/index_lifecycle_management` |\r\n|
`@kbn/license-api-guard-plugin`
|\r\n`x-pack/platform/plugins/private/license_api_guard` |\r\n|
`@kbn/license-management-plugin`
|\r\n`x-pack/platform/plugins/shared/license_management` |\r\n|
`@kbn/management-plugin` | `src/platform/plugins/shared/management`
|\r\n| `@kbn/painless-lab-plugin`
|\r\n`x-pack/platform/plugins/private/painless_lab` |\r\n|
`@kbn/remote-clusters-plugin`
|\r\n`x-pack/platform/plugins/private/remote_clusters` |\r\n|
`@kbn/rollup-plugin` | `x-pack/platform/plugins/private/rollup` |\r\n|
`@kbn/runtime-fields-plugin`
|\r\n`x-pack/platform/plugins/private/runtime_fields` |\r\n|
`@kbn/searchprofiler-plugin`
|\r\n`x-pack/platform/plugins/shared/searchprofiler` |\r\n|
`@kbn/snapshot-restore-plugin`
|\r\n`x-pack/platform/plugins/private/snapshot_restore` |\r\n|
`@kbn/watcher-plugin` | `x-pack/platform/plugins/private/watcher`
|\r\n\r\n\r\n\r\n\r\n#### 17 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-devtools`
|\r\n`src/platform/packages/shared/deeplinks/devtools` |\r\n|
`@kbn/deeplinks-management`
|\r\n`src/platform/packages/shared/deeplinks/management` |\r\n|
`@kbn/default-nav-devtools`
|\r\n`src/platform/packages/private/default-nav/devtools` |\r\n|
`@kbn/default-nav-management`
|\r\n`src/platform/packages/private/default-nav/management` |\r\n|
`@kbn/index-lifecycle-management-common-shared`
|\r\n`x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared`\r\n|\r\n|
`@kbn/index-management-shared-types`
|\r\n`x-pack/platform/packages/shared/index-management/index_management_shared_types`\r\n|\r\n|
`@kbn/management-cards-navigation`
|\r\n`src/platform/packages/shared/kbn-management/cards_navigation`
|\r\n| `@kbn/management-settings-application`
|\r\n`src/platform/packages/private/kbn-management/settings/application`
|\r\n| `@kbn/management-settings-components-field-category`
|\r\n`src/platform/packages/private/kbn-management/settings/components/field_category`\r\n|\r\n|
`@kbn/management-settings-components-field-input`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_input`\r\n|\r\n|
`@kbn/management-settings-components-field-row`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_row`\r\n|\r\n|
`@kbn/management-settings-components-form`
|\r\n`src/platform/packages/private/kbn-management/settings/components/form`\r\n|\r\n|
`@kbn/management-settings-field-definition`
|\r\n`src/platform/packages/shared/kbn-management/settings/field_definition`\r\n|\r\n|
`@kbn/management-settings-types`
|\r\n`src/platform/packages/shared/kbn-management/settings/types` |\r\n|
`@kbn/management-settings-utilities`
|\r\n`src/platform/packages/shared/kbn-management/settings/utilities`
|\r\n| `@kbn/rollup` | `x-pack/platform/packages/private/rollup` |\r\n|
`@kbn/unsaved-changes-prompt`
|\r\n`src/platform/packages/shared/kbn-unsaved-changes-prompt`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/console_definitions_sync.sh\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/contributing/development-tests.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-generate-console-definitions/README.md\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-search-connectors/components/cron_editor/readme.md\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/default-nav/devtools/jest.config.js\r\n./src/platform/packages/private/default-nav/management/jest.config.js\r\n./src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js\r\n./src/platform/packages/shared/deeplinks/devtools/jest.config.js\r\n./src/platform/packages/shared/deeplinks/management/jest.config.js\r\n./src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js\r\n./src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js\r\n./src/platform/plugins/shared/console/README.md\r\n./src/platform/plugins/shared/console/jest.config.js\r\n./src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js\r\n./src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md\r\n./src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts\r\n./src/platform/plugins/shared/es_ui_shared/jest.config.js\r\n./src/platform/plugins/shared/es_ui_shared/static/forms/README.md\r\n./src/platform/plugins/shared/management/jest.config.js\r\n./src/plugins/advanced_settings/README.md\r\n./src/plugins/management/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/rollup/jest.config.js\r\n./x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js\r\n./x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js\r\n./x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js\r\n./x-pack/platform/plugins/private/grokdebugger/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js\r\n./x-pack/platform/plugins/private/license_api_guard/jest.config.js\r\n./x-pack/platform/plugins/private/painless_lab/jest.config.js\r\n./x-pack/platform/plugins/private/remote_clusters/jest.config.js\r\n./x-pack/platform/plugins/private/rollup/jest.config.js\r\n./x-pack/platform/plugins/private/runtime_fields/jest.config.js\r\n./x-pack/platform/plugins/private/snapshot_restore/jest.config.js\r\n./x-pack/platform/plugins/private/watcher/jest.config.js\r\n./x-pack/platform/plugins/shared/license_management/jest.config.js\r\n./x-pack/platform/plugins/shared/searchprofiler/jest.config.js\r\n./x-pack/plugins/index_management/README.md\r\n./x-pack/plugins/triggers_actions_ui/README.md\r\n./x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts\r\n./x-pack/solutions/security/packages/navigation/src/constants.ts\r\n./x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts\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/packages/private/default-nav/devtools/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/devtools/tsconfig.json:2\r\nsrc/platform/packages/private/default-nav/management/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/management/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/application/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js:12\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/form/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/devtools/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/devtools/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/management/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/management/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/types/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json:2\r\nsrc/platform/plugins/shared/console/jest.config.js:12\r\nsrc/platform/plugins/shared/console/tsconfig.json:2\r\nsrc/platform/plugins/shared/dev_tools/tsconfig.json:2\r\nsrc/platform/plugins/shared/es_ui_shared/jest.config.js:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:2\r\nsrc/platform/plugins/shared/management/jest.config.js:12\r\nsrc/platform/plugins/shared/management/tsconfig.json:10\r\nsrc/platform/plugins/shared/management/tsconfig.json:2\r\nx-pack/platform/packages/private/rollup/jest.config.js:10\r\nx-pack/platform/packages/private/rollup/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js:10\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json:2\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:2\r\nx-pack/platform/plugins/private/cross_cluster_replication/jest.config.js:10\r\nx-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json:2\r\nx-pack/platform/plugins/private/grokdebugger/jest.config.js:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:2\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:12\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:2\r\nx-pack/platform/plugins/private/license_api_guard/jest.config.js:10\r\nx-pack/platform/plugins/private/license_api_guard/tsconfig.json:2\r\nx-pack/platform/plugins/private/painless_lab/jest.config.js:10\r\nx-pack/platform/plugins/private/painless_lab/public/styles/_index.scss:1\r\nx-pack/platform/plugins/private/painless_lab/tsconfig.json:2\r\nx-pack/platform/plugins/private/remote_clusters/jest.config.js:10\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:12\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:2\r\nx-pack/platform/plugins/private/rollup/jest.config.js:10\r\nx-pack/platform/plugins/private/rollup/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/README.md:155\r\nx-pack/platform/plugins/private/runtime_fields/jest.config.js:10\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:8\r\nx-pack/platform/plugins/private/snapshot_restore/jest.config.js:10\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:12\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:2\r\nx-pack/platform/plugins/private/watcher/jest.config.js:10\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:12\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:2\r\nx-pack/platform/plugins/shared/license_management/jest.config.js:10\r\nx-pack/platform/plugins/shared/license_management/tsconfig.json:2\r\nx-pack/platform/plugins/shared/searchprofiler/jest.config.js:10\r\nx-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss:1\r\nx-pack/platform/plugins/shared/searchprofiler/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2fd89943c52bb9850cfd515975b0eeb080af608c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Kibana
Management","Team:Kibana
Management","release_note:skip","v9.0.0","backport:prev-minor"],"number":203883,"url":"https://github.com/elastic/kibana/pull/203883","mergeCommit":{"message":"kibana-management
team module move (#203883)\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#### 17 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cloud-data-migration-plugin`
|\r\n`x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration`\r\n|\r\n|
`@kbn/console-plugin` | `src/platform/plugins/shared/console` |\r\n|
`@kbn/cross-cluster-replication-plugin`
|\r\n`x-pack/platform/plugins/private/cross_cluster_replication` |\r\n|
`@kbn/dev-tools-plugin` | `src/platform/plugins/shared/dev_tools` |\r\n|
`@kbn/es-ui-shared-plugin`
|\r\n`src/platform/plugins/shared/es_ui_shared` |\r\n|
`@kbn/grokdebugger-plugin`
|\r\n`x-pack/platform/plugins/private/grokdebugger` |\r\n|
`@kbn/index-lifecycle-management-plugin`
|\r\n`x-pack/platform/plugins/private/index_lifecycle_management` |\r\n|
`@kbn/license-api-guard-plugin`
|\r\n`x-pack/platform/plugins/private/license_api_guard` |\r\n|
`@kbn/license-management-plugin`
|\r\n`x-pack/platform/plugins/shared/license_management` |\r\n|
`@kbn/management-plugin` | `src/platform/plugins/shared/management`
|\r\n| `@kbn/painless-lab-plugin`
|\r\n`x-pack/platform/plugins/private/painless_lab` |\r\n|
`@kbn/remote-clusters-plugin`
|\r\n`x-pack/platform/plugins/private/remote_clusters` |\r\n|
`@kbn/rollup-plugin` | `x-pack/platform/plugins/private/rollup` |\r\n|
`@kbn/runtime-fields-plugin`
|\r\n`x-pack/platform/plugins/private/runtime_fields` |\r\n|
`@kbn/searchprofiler-plugin`
|\r\n`x-pack/platform/plugins/shared/searchprofiler` |\r\n|
`@kbn/snapshot-restore-plugin`
|\r\n`x-pack/platform/plugins/private/snapshot_restore` |\r\n|
`@kbn/watcher-plugin` | `x-pack/platform/plugins/private/watcher`
|\r\n\r\n\r\n\r\n\r\n#### 17 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-devtools`
|\r\n`src/platform/packages/shared/deeplinks/devtools` |\r\n|
`@kbn/deeplinks-management`
|\r\n`src/platform/packages/shared/deeplinks/management` |\r\n|
`@kbn/default-nav-devtools`
|\r\n`src/platform/packages/private/default-nav/devtools` |\r\n|
`@kbn/default-nav-management`
|\r\n`src/platform/packages/private/default-nav/management` |\r\n|
`@kbn/index-lifecycle-management-common-shared`
|\r\n`x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared`\r\n|\r\n|
`@kbn/index-management-shared-types`
|\r\n`x-pack/platform/packages/shared/index-management/index_management_shared_types`\r\n|\r\n|
`@kbn/management-cards-navigation`
|\r\n`src/platform/packages/shared/kbn-management/cards_navigation`
|\r\n| `@kbn/management-settings-application`
|\r\n`src/platform/packages/private/kbn-management/settings/application`
|\r\n| `@kbn/management-settings-components-field-category`
|\r\n`src/platform/packages/private/kbn-management/settings/components/field_category`\r\n|\r\n|
`@kbn/management-settings-components-field-input`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_input`\r\n|\r\n|
`@kbn/management-settings-components-field-row`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_row`\r\n|\r\n|
`@kbn/management-settings-components-form`
|\r\n`src/platform/packages/private/kbn-management/settings/components/form`\r\n|\r\n|
`@kbn/management-settings-field-definition`
|\r\n`src/platform/packages/shared/kbn-management/settings/field_definition`\r\n|\r\n|
`@kbn/management-settings-types`
|\r\n`src/platform/packages/shared/kbn-management/settings/types` |\r\n|
`@kbn/management-settings-utilities`
|\r\n`src/platform/packages/shared/kbn-management/settings/utilities`
|\r\n| `@kbn/rollup` | `x-pack/platform/packages/private/rollup` |\r\n|
`@kbn/unsaved-changes-prompt`
|\r\n`src/platform/packages/shared/kbn-unsaved-changes-prompt`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/console_definitions_sync.sh\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/contributing/development-tests.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-generate-console-definitions/README.md\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-search-connectors/components/cron_editor/readme.md\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/default-nav/devtools/jest.config.js\r\n./src/platform/packages/private/default-nav/management/jest.config.js\r\n./src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js\r\n./src/platform/packages/shared/deeplinks/devtools/jest.config.js\r\n./src/platform/packages/shared/deeplinks/management/jest.config.js\r\n./src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js\r\n./src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js\r\n./src/platform/plugins/shared/console/README.md\r\n./src/platform/plugins/shared/console/jest.config.js\r\n./src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js\r\n./src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md\r\n./src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts\r\n./src/platform/plugins/shared/es_ui_shared/jest.config.js\r\n./src/platform/plugins/shared/es_ui_shared/static/forms/README.md\r\n./src/platform/plugins/shared/management/jest.config.js\r\n./src/plugins/advanced_settings/README.md\r\n./src/plugins/management/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/rollup/jest.config.js\r\n./x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js\r\n./x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js\r\n./x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js\r\n./x-pack/platform/plugins/private/grokdebugger/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js\r\n./x-pack/platform/plugins/private/license_api_guard/jest.config.js\r\n./x-pack/platform/plugins/private/painless_lab/jest.config.js\r\n./x-pack/platform/plugins/private/remote_clusters/jest.config.js\r\n./x-pack/platform/plugins/private/rollup/jest.config.js\r\n./x-pack/platform/plugins/private/runtime_fields/jest.config.js\r\n./x-pack/platform/plugins/private/snapshot_restore/jest.config.js\r\n./x-pack/platform/plugins/private/watcher/jest.config.js\r\n./x-pack/platform/plugins/shared/license_management/jest.config.js\r\n./x-pack/platform/plugins/shared/searchprofiler/jest.config.js\r\n./x-pack/plugins/index_management/README.md\r\n./x-pack/plugins/triggers_actions_ui/README.md\r\n./x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts\r\n./x-pack/solutions/security/packages/navigation/src/constants.ts\r\n./x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts\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/packages/private/default-nav/devtools/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/devtools/tsconfig.json:2\r\nsrc/platform/packages/private/default-nav/management/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/management/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/application/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js:12\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/form/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/devtools/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/devtools/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/management/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/management/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/types/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json:2\r\nsrc/platform/plugins/shared/console/jest.config.js:12\r\nsrc/platform/plugins/shared/console/tsconfig.json:2\r\nsrc/platform/plugins/shared/dev_tools/tsconfig.json:2\r\nsrc/platform/plugins/shared/es_ui_shared/jest.config.js:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:2\r\nsrc/platform/plugins/shared/management/jest.config.js:12\r\nsrc/platform/plugins/shared/management/tsconfig.json:10\r\nsrc/platform/plugins/shared/management/tsconfig.json:2\r\nx-pack/platform/packages/private/rollup/jest.config.js:10\r\nx-pack/platform/packages/private/rollup/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js:10\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json:2\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:2\r\nx-pack/platform/plugins/private/cross_cluster_replication/jest.config.js:10\r\nx-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json:2\r\nx-pack/platform/plugins/private/grokdebugger/jest.config.js:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:2\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:12\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:2\r\nx-pack/platform/plugins/private/license_api_guard/jest.config.js:10\r\nx-pack/platform/plugins/private/license_api_guard/tsconfig.json:2\r\nx-pack/platform/plugins/private/painless_lab/jest.config.js:10\r\nx-pack/platform/plugins/private/painless_lab/public/styles/_index.scss:1\r\nx-pack/platform/plugins/private/painless_lab/tsconfig.json:2\r\nx-pack/platform/plugins/private/remote_clusters/jest.config.js:10\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:12\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:2\r\nx-pack/platform/plugins/private/rollup/jest.config.js:10\r\nx-pack/platform/plugins/private/rollup/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/README.md:155\r\nx-pack/platform/plugins/private/runtime_fields/jest.config.js:10\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:8\r\nx-pack/platform/plugins/private/snapshot_restore/jest.config.js:10\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:12\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:2\r\nx-pack/platform/plugins/private/watcher/jest.config.js:10\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:12\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:2\r\nx-pack/platform/plugins/shared/license_management/jest.config.js:10\r\nx-pack/platform/plugins/shared/license_management/tsconfig.json:2\r\nx-pack/platform/plugins/shared/searchprofiler/jest.config.js:10\r\nx-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss:1\r\nx-pack/platform/plugins/shared/searchprofiler/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2fd89943c52bb9850cfd515975b0eeb080af608c"}},"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/203883","number":203883,"mergeCommit":{"message":"kibana-management
team module move (#203883)\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#### 17 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cloud-data-migration-plugin`
|\r\n`x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration`\r\n|\r\n|
`@kbn/console-plugin` | `src/platform/plugins/shared/console` |\r\n|
`@kbn/cross-cluster-replication-plugin`
|\r\n`x-pack/platform/plugins/private/cross_cluster_replication` |\r\n|
`@kbn/dev-tools-plugin` | `src/platform/plugins/shared/dev_tools` |\r\n|
`@kbn/es-ui-shared-plugin`
|\r\n`src/platform/plugins/shared/es_ui_shared` |\r\n|
`@kbn/grokdebugger-plugin`
|\r\n`x-pack/platform/plugins/private/grokdebugger` |\r\n|
`@kbn/index-lifecycle-management-plugin`
|\r\n`x-pack/platform/plugins/private/index_lifecycle_management` |\r\n|
`@kbn/license-api-guard-plugin`
|\r\n`x-pack/platform/plugins/private/license_api_guard` |\r\n|
`@kbn/license-management-plugin`
|\r\n`x-pack/platform/plugins/shared/license_management` |\r\n|
`@kbn/management-plugin` | `src/platform/plugins/shared/management`
|\r\n| `@kbn/painless-lab-plugin`
|\r\n`x-pack/platform/plugins/private/painless_lab` |\r\n|
`@kbn/remote-clusters-plugin`
|\r\n`x-pack/platform/plugins/private/remote_clusters` |\r\n|
`@kbn/rollup-plugin` | `x-pack/platform/plugins/private/rollup` |\r\n|
`@kbn/runtime-fields-plugin`
|\r\n`x-pack/platform/plugins/private/runtime_fields` |\r\n|
`@kbn/searchprofiler-plugin`
|\r\n`x-pack/platform/plugins/shared/searchprofiler` |\r\n|
`@kbn/snapshot-restore-plugin`
|\r\n`x-pack/platform/plugins/private/snapshot_restore` |\r\n|
`@kbn/watcher-plugin` | `x-pack/platform/plugins/private/watcher`
|\r\n\r\n\r\n\r\n\r\n#### 17 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-devtools`
|\r\n`src/platform/packages/shared/deeplinks/devtools` |\r\n|
`@kbn/deeplinks-management`
|\r\n`src/platform/packages/shared/deeplinks/management` |\r\n|
`@kbn/default-nav-devtools`
|\r\n`src/platform/packages/private/default-nav/devtools` |\r\n|
`@kbn/default-nav-management`
|\r\n`src/platform/packages/private/default-nav/management` |\r\n|
`@kbn/index-lifecycle-management-common-shared`
|\r\n`x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared`\r\n|\r\n|
`@kbn/index-management-shared-types`
|\r\n`x-pack/platform/packages/shared/index-management/index_management_shared_types`\r\n|\r\n|
`@kbn/management-cards-navigation`
|\r\n`src/platform/packages/shared/kbn-management/cards_navigation`
|\r\n| `@kbn/management-settings-application`
|\r\n`src/platform/packages/private/kbn-management/settings/application`
|\r\n| `@kbn/management-settings-components-field-category`
|\r\n`src/platform/packages/private/kbn-management/settings/components/field_category`\r\n|\r\n|
`@kbn/management-settings-components-field-input`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_input`\r\n|\r\n|
`@kbn/management-settings-components-field-row`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_row`\r\n|\r\n|
`@kbn/management-settings-components-form`
|\r\n`src/platform/packages/private/kbn-management/settings/components/form`\r\n|\r\n|
`@kbn/management-settings-field-definition`
|\r\n`src/platform/packages/shared/kbn-management/settings/field_definition`\r\n|\r\n|
`@kbn/management-settings-types`
|\r\n`src/platform/packages/shared/kbn-management/settings/types` |\r\n|
`@kbn/management-settings-utilities`
|\r\n`src/platform/packages/shared/kbn-management/settings/utilities`
|\r\n| `@kbn/rollup` | `x-pack/platform/packages/private/rollup` |\r\n|
`@kbn/unsaved-changes-prompt`
|\r\n`src/platform/packages/shared/kbn-unsaved-changes-prompt`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/console_definitions_sync.sh\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/contributing/development-tests.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-generate-console-definitions/README.md\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-search-connectors/components/cron_editor/readme.md\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/default-nav/devtools/jest.config.js\r\n./src/platform/packages/private/default-nav/management/jest.config.js\r\n./src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js\r\n./src/platform/packages/shared/deeplinks/devtools/jest.config.js\r\n./src/platform/packages/shared/deeplinks/management/jest.config.js\r\n./src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js\r\n./src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js\r\n./src/platform/plugins/shared/console/README.md\r\n./src/platform/plugins/shared/console/jest.config.js\r\n./src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js\r\n./src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md\r\n./src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts\r\n./src/platform/plugins/shared/es_ui_shared/jest.config.js\r\n./src/platform/plugins/shared/es_ui_shared/static/forms/README.md\r\n./src/platform/plugins/shared/management/jest.config.js\r\n./src/plugins/advanced_settings/README.md\r\n./src/plugins/management/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/rollup/jest.config.js\r\n./x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js\r\n./x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js\r\n./x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js\r\n./x-pack/platform/plugins/private/grokdebugger/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js\r\n./x-pack/platform/plugins/private/license_api_guard/jest.config.js\r\n./x-pack/platform/plugins/private/painless_lab/jest.config.js\r\n./x-pack/platform/plugins/private/remote_clusters/jest.config.js\r\n./x-pack/platform/plugins/private/rollup/jest.config.js\r\n./x-pack/platform/plugins/private/runtime_fields/jest.config.js\r\n./x-pack/platform/plugins/private/snapshot_restore/jest.config.js\r\n./x-pack/platform/plugins/private/watcher/jest.config.js\r\n./x-pack/platform/plugins/shared/license_management/jest.config.js\r\n./x-pack/platform/plugins/shared/searchprofiler/jest.config.js\r\n./x-pack/plugins/index_management/README.md\r\n./x-pack/plugins/triggers_actions_ui/README.md\r\n./x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts\r\n./x-pack/solutions/security/packages/navigation/src/constants.ts\r\n./x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts\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/packages/private/default-nav/devtools/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/devtools/tsconfig.json:2\r\nsrc/platform/packages/private/default-nav/management/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/management/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/application/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js:12\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/form/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/devtools/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/devtools/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/management/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/management/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/types/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json:2\r\nsrc/platform/plugins/shared/console/jest.config.js:12\r\nsrc/platform/plugins/shared/console/tsconfig.json:2\r\nsrc/platform/plugins/shared/dev_tools/tsconfig.json:2\r\nsrc/platform/plugins/shared/es_ui_shared/jest.config.js:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:2\r\nsrc/platform/plugins/shared/management/jest.config.js:12\r\nsrc/platform/plugins/shared/management/tsconfig.json:10\r\nsrc/platform/plugins/shared/management/tsconfig.json:2\r\nx-pack/platform/packages/private/rollup/jest.config.js:10\r\nx-pack/platform/packages/private/rollup/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js:10\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json:2\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:2\r\nx-pack/platform/plugins/private/cross_cluster_replication/jest.config.js:10\r\nx-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json:2\r\nx-pack/platform/plugins/private/grokdebugger/jest.config.js:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:2\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:12\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:2\r\nx-pack/platform/plugins/private/license_api_guard/jest.config.js:10\r\nx-pack/platform/plugins/private/license_api_guard/tsconfig.json:2\r\nx-pack/platform/plugins/private/painless_lab/jest.config.js:10\r\nx-pack/platform/plugins/private/painless_lab/public/styles/_index.scss:1\r\nx-pack/platform/plugins/private/painless_lab/tsconfig.json:2\r\nx-pack/platform/plugins/private/remote_clusters/jest.config.js:10\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:12\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:2\r\nx-pack/platform/plugins/private/rollup/jest.config.js:10\r\nx-pack/platform/plugins/private/rollup/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/README.md:155\r\nx-pack/platform/plugins/private/runtime_fields/jest.config.js:10\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:8\r\nx-pack/platform/plugins/private/snapshot_restore/jest.config.js:10\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:12\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:2\r\nx-pack/platform/plugins/private/watcher/jest.config.js:10\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:12\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:2\r\nx-pack/platform/plugins/shared/license_management/jest.config.js:10\r\nx-pack/platform/plugins/shared/license_management/tsconfig.json:2\r\nx-pack/platform/plugins/shared/searchprofiler/jest.config.js:10\r\nx-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss:1\r\nx-pack/platform/plugins/shared/searchprofiler/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2fd89943c52bb9850cfd515975b0eeb080af608c"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-13 17:31:11 -06:00
Gerard Soldevila
5ee2c6a488
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-defend-workflows (#202840) (#204232)
# Backport

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

<!--- 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-13T11:08:36Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-defend-workflows`
(#202840)","sha":"42af4e60a42380a27e10927fa62af15dfd239c57","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:Defend
Workflows","backport:prev-minor"],"number":202840,"url":"https://github.com/elastic/kibana/pull/202840","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-defend-workflows`
(#202840)","sha":"42af4e60a42380a27e10927fa62af15dfd239c57"}},"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/202840","number":202840,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-defend-workflows`
(#202840)","sha":"42af4e60a42380a27e10927fa62af15dfd239c57"}}]}]
BACKPORT-->
2024-12-13 11:52:54 -08:00
Gerard Soldevila
71e52f24ce
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-scalability (#202849) (#204217)
# Backport

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

<!--- 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-13T10:24:39Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-scalability` (#202849)\n\n## Summary\n\nThis PR aims
at relocating some of the Kibana modules (plugins and\npackages) into a
new folder structure, according to the _Sustainable\nKibana
Architecture_ initiative.\n\n> [!IMPORTANT]\n> * We kindly ask you
to:\n> * Manually fix the errors in the error section below (if there
are\nany).\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\nsource code (Babel and Eslint config
files), and update them\nappropriately.\n> * Manually
review\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\nany CI pipeline customizations continue to be correctly
applied after\nthe changed path names\n> * Review all of the updated
files, specially the `.ts` and `.js` files\nlisted in the sections
below, as some of them contain relative paths\nthat have been
updated.\n> * Think of potential impact of the move, including tooling
and\nconfiguration files that can be pointing to the relocated modules.
E.g.:\n> * customised eslint rules\n> * docs pointing to source
code\n\n> [!NOTE]\n> This PR has been auto-generated.\n> Do not attempt
to push any changes unless you know what you are doing.\n> Please
use\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\nSlack
channel for feedback.\n\n\n\n\n#### 1 plugin(s) are going to be
relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n|
`@kbn/integration-assistant-plugin`
|\n`x-pack/platform/plugins/shared/integration_assistant`
|\n\n\n<details>\n<summary>Updated
references</summary>\n\n```\n./.eslintrc.js\n./docs/developer/plugin-list.asciidoc\n./package.json\n./packages/kbn-repo-packages/package-map.json\n./packages/kbn-ts-projects/config-paths.json\n./tsconfig.base.json\n./x-pack/.i18nrc.json\n./x-pack/platform/plugins/shared/integration_assistant/README.md\n./x-pack/platform/plugins/shared/integration_assistant/jest.config.js\n./x-pack/platform/plugins/shared/integration_assistant/server/config.ts\n./yarn.lock\n```\n</details>\n<details>\n<summary>Updated
relative
paths</summary>\n\n```\nx-pack/platform/plugins/shared/integration_assistant/jest.config.js:10\nx-pack/platform/plugins/shared/integration_assistant/scripts/draw_graphs.js:8\nx-pack/platform/plugins/shared/integration_assistant/tsconfig.json:13\nx-pack/platform/plugins/shared/integration_assistant/tsconfig.json:2\n```\n</details>\n<details>\n<summary>Script
errors</summary>\n\n```\n\n```\n</details>\n\n---------\n\nCo-authored-by:
Eric Beahan <eric.beahan@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6bf5e68e06bf60df0075d6d60f57a836a1d49fc8","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:Security-Scalability"],"number":202849,"url":"https://github.com/elastic/kibana/pull/202849","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-scalability` (#202849)\n\n## Summary\n\nThis PR aims
at relocating some of the Kibana modules (plugins and\npackages) into a
new folder structure, according to the _Sustainable\nKibana
Architecture_ initiative.\n\n> [!IMPORTANT]\n> * We kindly ask you
to:\n> * Manually fix the errors in the error section below (if there
are\nany).\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\nsource code (Babel and Eslint config
files), and update them\nappropriately.\n> * Manually
review\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\nany CI pipeline customizations continue to be correctly
applied after\nthe changed path names\n> * Review all of the updated
files, specially the `.ts` and `.js` files\nlisted in the sections
below, as some of them contain relative paths\nthat have been
updated.\n> * Think of potential impact of the move, including tooling
and\nconfiguration files that can be pointing to the relocated modules.
E.g.:\n> * customised eslint rules\n> * docs pointing to source
code\n\n> [!NOTE]\n> This PR has been auto-generated.\n> Do not attempt
to push any changes unless you know what you are doing.\n> Please
use\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\nSlack
channel for feedback.\n\n\n\n\n#### 1 plugin(s) are going to be
relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n|
`@kbn/integration-assistant-plugin`
|\n`x-pack/platform/plugins/shared/integration_assistant`
|\n\n\n<details>\n<summary>Updated
references</summary>\n\n```\n./.eslintrc.js\n./docs/developer/plugin-list.asciidoc\n./package.json\n./packages/kbn-repo-packages/package-map.json\n./packages/kbn-ts-projects/config-paths.json\n./tsconfig.base.json\n./x-pack/.i18nrc.json\n./x-pack/platform/plugins/shared/integration_assistant/README.md\n./x-pack/platform/plugins/shared/integration_assistant/jest.config.js\n./x-pack/platform/plugins/shared/integration_assistant/server/config.ts\n./yarn.lock\n```\n</details>\n<details>\n<summary>Updated
relative
paths</summary>\n\n```\nx-pack/platform/plugins/shared/integration_assistant/jest.config.js:10\nx-pack/platform/plugins/shared/integration_assistant/scripts/draw_graphs.js:8\nx-pack/platform/plugins/shared/integration_assistant/tsconfig.json:13\nx-pack/platform/plugins/shared/integration_assistant/tsconfig.json:2\n```\n</details>\n<details>\n<summary>Script
errors</summary>\n\n```\n\n```\n</details>\n\n---------\n\nCo-authored-by:
Eric Beahan <eric.beahan@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6bf5e68e06bf60df0075d6d60f57a836a1d49fc8"}},"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/202849","number":202849,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-scalability` (#202849)\n\n## Summary\n\nThis PR aims
at relocating some of the Kibana modules (plugins and\npackages) into a
new folder structure, according to the _Sustainable\nKibana
Architecture_ initiative.\n\n> [!IMPORTANT]\n> * We kindly ask you
to:\n> * Manually fix the errors in the error section below (if there
are\nany).\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\nsource code (Babel and Eslint config
files), and update them\nappropriately.\n> * Manually
review\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\nany CI pipeline customizations continue to be correctly
applied after\nthe changed path names\n> * Review all of the updated
files, specially the `.ts` and `.js` files\nlisted in the sections
below, as some of them contain relative paths\nthat have been
updated.\n> * Think of potential impact of the move, including tooling
and\nconfiguration files that can be pointing to the relocated modules.
E.g.:\n> * customised eslint rules\n> * docs pointing to source
code\n\n> [!NOTE]\n> This PR has been auto-generated.\n> Do not attempt
to push any changes unless you know what you are doing.\n> Please
use\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\nSlack
channel for feedback.\n\n\n\n\n#### 1 plugin(s) are going to be
relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n|
`@kbn/integration-assistant-plugin`
|\n`x-pack/platform/plugins/shared/integration_assistant`
|\n\n\n<details>\n<summary>Updated
references</summary>\n\n```\n./.eslintrc.js\n./docs/developer/plugin-list.asciidoc\n./package.json\n./packages/kbn-repo-packages/package-map.json\n./packages/kbn-ts-projects/config-paths.json\n./tsconfig.base.json\n./x-pack/.i18nrc.json\n./x-pack/platform/plugins/shared/integration_assistant/README.md\n./x-pack/platform/plugins/shared/integration_assistant/jest.config.js\n./x-pack/platform/plugins/shared/integration_assistant/server/config.ts\n./yarn.lock\n```\n</details>\n<details>\n<summary>Updated
relative
paths</summary>\n\n```\nx-pack/platform/plugins/shared/integration_assistant/jest.config.js:10\nx-pack/platform/plugins/shared/integration_assistant/scripts/draw_graphs.js:8\nx-pack/platform/plugins/shared/integration_assistant/tsconfig.json:13\nx-pack/platform/plugins/shared/integration_assistant/tsconfig.json:2\n```\n</details>\n<details>\n<summary>Script
errors</summary>\n\n```\n\n```\n</details>\n\n---------\n\nCo-authored-by:
Eric Beahan <eric.beahan@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6bf5e68e06bf60df0075d6d60f57a836a1d49fc8"}}]}]
BACKPORT-->
2024-12-13 12:23:53 -06:00
Dominique Clarke
16f761559f
[8.x] [Synthetics] migrate first set of tests (#198950) (#204083)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Synthetics] migrate first set of tests
(#198950)](https://github.com/elastic/kibana/pull/198950)

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

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T14:41:03Z","message":"[Synthetics]
migrate first set of tests (#198950)\n\n## Summary\r\n\r\nRelates to
#196229 \r\n\r\nMigrates Synthetics tests to deployment
agnostic\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Shahzad
<shahzad31comp@gmail.com>","sha":"b74b93593cecec34e2745c30811c6929bf8a72c7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.17.0"],"number":198950,"url":"https://github.com/elastic/kibana/pull/198950","mergeCommit":{"message":"[Synthetics]
migrate first set of tests (#198950)\n\n## Summary\r\n\r\nRelates to
#196229 \r\n\r\nMigrates Synthetics tests to deployment
agnostic\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Shahzad
<shahzad31comp@gmail.com>","sha":"b74b93593cecec34e2745c30811c6929bf8a72c7"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198950","number":198950,"mergeCommit":{"message":"[Synthetics]
migrate first set of tests (#198950)\n\n## Summary\r\n\r\nRelates to
#196229 \r\n\r\nMigrates Synthetics tests to deployment
agnostic\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Shahzad
<shahzad31comp@gmail.com>","sha":"b74b93593cecec34e2745c30811c6929bf8a72c7"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-13 12:09:40 -05:00
Gerard Soldevila
36c1cd6db1
Manually fix CODEOWNERS (corrupted by #204006) (#204197)
## Summary

Fix corrupted file (see [buggy backport
PR](https://github.com/elastic/kibana/pull/204006/files))
2024-12-13 13:37:31 +01:00
Philippe Oberti
901310b366
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-threat-hunting (#203046) (#204169)
# Backport

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

<!--- 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-13T04:29:21Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting` (#203046)\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 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/data-stream-adapter`
|\r\n`x-pack/solutions/security/packages/kbn-data-stream-adapter` |\r\n|
`@kbn/index-adapter`
|\r\n`x-pack/solutions/security/packages/kbn-index-adapter`
|\r\n\r\n---------\r\n\r\nCo-authored-by: PhilippeOberti
<philippe.oberti@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a9f076cb1f73fb6b4045f3218e9181e424625b29","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","backport:version","v8.18.0"],"number":203046,"url":"https://github.com/elastic/kibana/pull/203046","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting` (#203046)\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 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/data-stream-adapter`
|\r\n`x-pack/solutions/security/packages/kbn-data-stream-adapter` |\r\n|
`@kbn/index-adapter`
|\r\n`x-pack/solutions/security/packages/kbn-index-adapter`
|\r\n\r\n---------\r\n\r\nCo-authored-by: PhilippeOberti
<philippe.oberti@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a9f076cb1f73fb6b4045f3218e9181e424625b29"}},"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/203046","number":203046,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-threat-hunting` (#203046)\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 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/data-stream-adapter`
|\r\n`x-pack/solutions/security/packages/kbn-data-stream-adapter` |\r\n|
`@kbn/index-adapter`
|\r\n`x-pack/solutions/security/packages/kbn-index-adapter`
|\r\n\r\n---------\r\n\r\nCo-authored-by: PhilippeOberti
<philippe.oberti@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a9f076cb1f73fb6b4045f3218e9181e424625b29"}},{"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 03:42:24 -06:00
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
Gerard Soldevila
1bad1ec5de
[8.x] Sustainable Kibana Architecture: Move modules under x-pack/packages/security-solution (#203522) (#204006)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules under
`x-pack/packages/security-solution`
(#203522)](https://github.com/elastic/kibana/pull/203522)

<!--- 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-12T11:18:10Z","message":"Sustainable
Kibana Architecture: Move modules under
`x-pack/packages/security-solution` (#203522)\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#### 7 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-distribution-bar`
|\r\n`x-pack/solutions/security/packages/distribution_bar` |\r\n|
`@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\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./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data_table/jest.config.js\r\n./x-pack/solutions/security/packages/distribution_bar/jest.config.js\r\n./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/features/jest.config.js\r\n./x-pack/solutions/security/packages/navigation/jest.config.js\r\n./x-pack/solutions/security/packages/side_nav/jest.config.js\r\n./x-pack/solutions/security/packages/upselling/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.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/solutions/security/packages/data_table/jest.config.js:11\r\nx-pack/solutions/security/packages/data_table/tsconfig.json:2\r\nx-pack/solutions/security/packages/distribution_bar/jest.config.js:11\r\nx-pack/solutions/security/packages/distribution_bar/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/features/jest.config.js:10\r\nx-pack/solutions/security/packages/features/tsconfig.json:2\r\nx-pack/solutions/security/packages/navigation/jest.config.js:10\r\nx-pack/solutions/security/packages/navigation/tsconfig.json:2\r\nx-pack/solutions/security/packages/side_nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11\r\nx-pack/solutions/security/packages/side_nav/tsconfig.json:2\r\nx-pack/solutions/security/packages/upselling/jest.config.js:10\r\nx-pack/solutions/security/packages/upselling/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>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Angela Chuang <yi-chun.chuang@elastic.co>\r\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"50068fd9bae6791594bd9d25cfef1f07d2b5ceab","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:
SecuritySolution","backport:prev-minor"],"number":203522,"url":"https://github.com/elastic/kibana/pull/203522","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules under
`x-pack/packages/security-solution` (#203522)\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#### 7 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-distribution-bar`
|\r\n`x-pack/solutions/security/packages/distribution_bar` |\r\n|
`@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\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./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data_table/jest.config.js\r\n./x-pack/solutions/security/packages/distribution_bar/jest.config.js\r\n./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/features/jest.config.js\r\n./x-pack/solutions/security/packages/navigation/jest.config.js\r\n./x-pack/solutions/security/packages/side_nav/jest.config.js\r\n./x-pack/solutions/security/packages/upselling/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.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/solutions/security/packages/data_table/jest.config.js:11\r\nx-pack/solutions/security/packages/data_table/tsconfig.json:2\r\nx-pack/solutions/security/packages/distribution_bar/jest.config.js:11\r\nx-pack/solutions/security/packages/distribution_bar/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/features/jest.config.js:10\r\nx-pack/solutions/security/packages/features/tsconfig.json:2\r\nx-pack/solutions/security/packages/navigation/jest.config.js:10\r\nx-pack/solutions/security/packages/navigation/tsconfig.json:2\r\nx-pack/solutions/security/packages/side_nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11\r\nx-pack/solutions/security/packages/side_nav/tsconfig.json:2\r\nx-pack/solutions/security/packages/upselling/jest.config.js:10\r\nx-pack/solutions/security/packages/upselling/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>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Angela Chuang <yi-chun.chuang@elastic.co>\r\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"50068fd9bae6791594bd9d25cfef1f07d2b5ceab"}},"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/203522","number":203522,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules under
`x-pack/packages/security-solution` (#203522)\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#### 7 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-distribution-bar`
|\r\n`x-pack/solutions/security/packages/distribution_bar` |\r\n|
`@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\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./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data_table/jest.config.js\r\n./x-pack/solutions/security/packages/distribution_bar/jest.config.js\r\n./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/features/jest.config.js\r\n./x-pack/solutions/security/packages/navigation/jest.config.js\r\n./x-pack/solutions/security/packages/side_nav/jest.config.js\r\n./x-pack/solutions/security/packages/upselling/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.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/solutions/security/packages/data_table/jest.config.js:11\r\nx-pack/solutions/security/packages/data_table/tsconfig.json:2\r\nx-pack/solutions/security/packages/distribution_bar/jest.config.js:11\r\nx-pack/solutions/security/packages/distribution_bar/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/features/jest.config.js:10\r\nx-pack/solutions/security/packages/features/tsconfig.json:2\r\nx-pack/solutions/security/packages/navigation/jest.config.js:10\r\nx-pack/solutions/security/packages/navigation/tsconfig.json:2\r\nx-pack/solutions/security/packages/side_nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11\r\nx-pack/solutions/security/packages/side_nav/tsconfig.json:2\r\nx-pack/solutions/security/packages/upselling/jest.config.js:10\r\nx-pack/solutions/security/packages/upselling/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>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Angela Chuang <yi-chun.chuang@elastic.co>\r\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"50068fd9bae6791594bd9d25cfef1f07d2b5ceab"}}]}]
BACKPORT-->
2024-12-12 09:25:16 -06:00
Kibana Machine
8dcbb64d73
[8.x] [Data Usage] functional tests (#203166) (#204019)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Data Usage] functional tests
(#203166)](https://github.com/elastic/kibana/pull/203166)

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

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

<!--BACKPORT [{"author":{"name":"Sandra
G","email":"neptunian@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-12T13:08:08Z","message":"[Data
Usage] functional tests (#203166)\n\n## Summary\r\n\r\nFunctional tests
for data usage UI.\r\n\r\n- `data_streams` route is intercepted, due to
filtering out zero size\r\ndata streams which will happen because
metering api needs time to\r\naggregate data\r\n- `autoops_api` is using
the mock server as there will be no data for it\r\nto return\r\n- tests
will only run in local serverless and not MKI due to using
the\r\nautoops mock server that won't return data for created data
streams\r\n- adds `interceptRequest` functionality to FTR `browser`
service\r\n\r\n## Tests\r\n- data stream filter dropdown renders with
created data streams of\r\n`data_streams` response and are checked\r\n-
data stream filter dropdown renders badge with correct number
of\r\nselected data streams\r\n- charts render from `data_streams` route
response\r\n- chart legends render with correct items\r\n- popover
renders for legend items\r\n- links in popovers correctly navigate and
update navigation between\r\ndifferent data stream
items","sha":"ba945c98510dc6de460b297beaa55e980456fc30","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Data
Usage] functional
tests","number":203166,"url":"https://github.com/elastic/kibana/pull/203166","mergeCommit":{"message":"[Data
Usage] functional tests (#203166)\n\n## Summary\r\n\r\nFunctional tests
for data usage UI.\r\n\r\n- `data_streams` route is intercepted, due to
filtering out zero size\r\ndata streams which will happen because
metering api needs time to\r\naggregate data\r\n- `autoops_api` is using
the mock server as there will be no data for it\r\nto return\r\n- tests
will only run in local serverless and not MKI due to using
the\r\nautoops mock server that won't return data for created data
streams\r\n- adds `interceptRequest` functionality to FTR `browser`
service\r\n\r\n## Tests\r\n- data stream filter dropdown renders with
created data streams of\r\n`data_streams` response and are checked\r\n-
data stream filter dropdown renders badge with correct number
of\r\nselected data streams\r\n- charts render from `data_streams` route
response\r\n- chart legends render with correct items\r\n- popover
renders for legend items\r\n- links in popovers correctly navigate and
update navigation between\r\ndifferent data stream
items","sha":"ba945c98510dc6de460b297beaa55e980456fc30"}},"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/203166","number":203166,"mergeCommit":{"message":"[Data
Usage] functional tests (#203166)\n\n## Summary\r\n\r\nFunctional tests
for data usage UI.\r\n\r\n- `data_streams` route is intercepted, due to
filtering out zero size\r\ndata streams which will happen because
metering api needs time to\r\naggregate data\r\n- `autoops_api` is using
the mock server as there will be no data for it\r\nto return\r\n- tests
will only run in local serverless and not MKI due to using
the\r\nautoops mock server that won't return data for created data
streams\r\n- adds `interceptRequest` functionality to FTR `browser`
service\r\n\r\n## Tests\r\n- data stream filter dropdown renders with
created data streams of\r\n`data_streams` response and are checked\r\n-
data stream filter dropdown renders badge with correct number
of\r\nselected data streams\r\n- charts render from `data_streams` route
response\r\n- chart legends render with correct items\r\n- popover
renders for legend items\r\n- links in popovers correctly navigate and
update navigation between\r\ndifferent data stream
items","sha":"ba945c98510dc6de460b297beaa55e980456fc30"}}]}] BACKPORT-->

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2024-12-12 09:07:51 -06:00
Dario Gieselaar
b3ba62a972
[8.x] [RCA] AI-assisted root cause analysis (#197200) (#203767)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[RCA] AI-assisted root cause analysis
(#197200)](https://github.com/elastic/kibana/pull/197200)

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

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

<!--BACKPORT {commits} BACKPORT-->
2024-12-12 09:00:12 -05:00
Gerard Soldevila
35488c3f6a
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-asset-management (#202839) (#203819)
# Backport

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

<!--- 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:06:05Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-asset-management` (#202839)\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#### 1 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/osquery-io-ts-types`
|\r\n`src/platform/packages/shared/kbn-osquery-io-ts-types`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\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/platform/packages/shared/kbn-osquery-io-ts-types/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/shared/kbn-osquery-io-ts-types/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-osquery-io-ts-types/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":"11b27f3016b6a43731c32a1f750b8a8810f0df7e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport
missing","v9.0.0","Team:Asset
Management","backport:prev-minor"],"number":202839,"url":"https://github.com/elastic/kibana/pull/202839","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-asset-management` (#202839)\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#### 1 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/osquery-io-ts-types`
|\r\n`src/platform/packages/shared/kbn-osquery-io-ts-types`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\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/platform/packages/shared/kbn-osquery-io-ts-types/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/shared/kbn-osquery-io-ts-types/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-osquery-io-ts-types/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":"11b27f3016b6a43731c32a1f750b8a8810f0df7e"}},"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/202839","number":202839,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/security-asset-management` (#202839)\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#### 1 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/osquery-io-ts-types`
|\r\n`src/platform/packages/shared/kbn-osquery-io-ts-types`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\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/platform/packages/shared/kbn-osquery-io-ts-types/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/shared/kbn-osquery-io-ts-types/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-osquery-io-ts-types/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":"11b27f3016b6a43731c32a1f750b8a8810f0df7e"}}]}]
BACKPORT-->
2024-12-11 11:06:49 -06:00
Kibana Machine
5a6fcab5a3
[8.x] Make link to es deprecation logs more useful (#203487) (#203785)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Make link to es deprecation logs more useful
(#203487)](https://github.com/elastic/kibana/pull/203487)

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

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

<!--BACKPORT [{"author":{"name":"Jesus
Wahrman","email":"41008968+jesuswr@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-11T12:40:27Z","message":"Make
link to es deprecation logs more useful (#203487)\n\n##
Summary\r\n\r\nresolves
https://github.com/elastic/kibana/issues/201538\r\n\r\nAdded a profile
to the deprecation logs so by default it shows the\r\ncolumns. Decided
to allow this behaviour if the pattern contains\r\nmultiple patterns for
deprecation logs like:\r\n`.logs-deprecation.abc,.logs-deprecation.def`
, this can be easily\r\nchanged if we prefer not to do it this
way.\r\n\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following
conditions. \r\n\r\nReviewers should verify this PR satisfies this list
as well.\r\n\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- [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---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c423e3e9d3bd61041d4e10e72cef01ea663ca5bf","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:DataDiscovery","backport:prev-minor"],"title":"Make
link to es deprecation logs more
useful","number":203487,"url":"https://github.com/elastic/kibana/pull/203487","mergeCommit":{"message":"Make
link to es deprecation logs more useful (#203487)\n\n##
Summary\r\n\r\nresolves
https://github.com/elastic/kibana/issues/201538\r\n\r\nAdded a profile
to the deprecation logs so by default it shows the\r\ncolumns. Decided
to allow this behaviour if the pattern contains\r\nmultiple patterns for
deprecation logs like:\r\n`.logs-deprecation.abc,.logs-deprecation.def`
, this can be easily\r\nchanged if we prefer not to do it this
way.\r\n\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following
conditions. \r\n\r\nReviewers should verify this PR satisfies this list
as well.\r\n\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- [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---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c423e3e9d3bd61041d4e10e72cef01ea663ca5bf"}},"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/203487","number":203487,"mergeCommit":{"message":"Make
link to es deprecation logs more useful (#203487)\n\n##
Summary\r\n\r\nresolves
https://github.com/elastic/kibana/issues/201538\r\n\r\nAdded a profile
to the deprecation logs so by default it shows the\r\ncolumns. Decided
to allow this behaviour if the pattern contains\r\nmultiple patterns for
deprecation logs like:\r\n`.logs-deprecation.abc,.logs-deprecation.def`
, this can be easily\r\nchanged if we prefer not to do it this
way.\r\n\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following
conditions. \r\n\r\nReviewers should verify this PR satisfies this list
as well.\r\n\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- [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---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c423e3e9d3bd61041d4e10e72cef01ea663ca5bf"}}]}]
BACKPORT-->

Co-authored-by: Jesus Wahrman <41008968+jesuswr@users.noreply.github.com>
2024-12-11 08:36:48 -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
Anton Dosov
6d5c816fff
[8.x] [React@18] Env variable to use React@18 (#193113) (#203419)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[React@18] Env variable to use React@18
(#193113)](https://github.com/elastic/kibana/pull/193113)

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

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

<!--BACKPORT [{"author":{"name":"Clint Andrew
Hall","email":"clint.hall@elastic.co"},"sourceCommit":{"committedDate":"2024-12-09T12:55:14Z","message":"[React@18]
Env variable to use React@18 (#193113)\n\nPart
of\r\nhttps://github.com/elastic/kibana-team/issues/1016#issuecomment-2454845292\r\n\r\nOur
plan for React@18 packages upgrade is to let kibana contributors
now\r\nthat we're going to bump React packages couple weeks in advance.
In\r\naddtion to the final PR with green tests and Kibana deployed, we
want to\r\ngive simple instructions on how to run React@18 locally
easilly:\r\n\r\nThis PR allows to quickly toggle between version of
React locally\r\nwithout having to do anything beyond an environment
variable.\r\n\r\n`REACT_18=true yarn bootstrap` will alias `react` and
`react-dom` to v18\r\nin the build.\r\n\r\nI check that this works as
expected when starting from: \r\n\r\n- local dev server `yarn start`
\r\n- local ftr `node scripts/functional_tests_server.js`\r\n- local
unit tests `REACT_18=true yarn test:jest ...`\r\n\r\nPlease note: \r\n-
**This PR doesn't implement this switch for dist build, as I
don't\r\nthink we need this for our purposes.**\r\n- The plan is that we
remove this switch soon after we merge React@18\r\nupgrade to
main.\r\n\r\nIn addition to the switch this PR mutes a very noisy
warning from\r\nReact@18 about legacy root `Warning: ReactDOM.render is
no longer\r\nsupported in React 18. Use createRoot instead. Until you
switch to the\r\nnew API, your app will behave as if it's running React
17.`. This\r\nwarning is expected as after we upgrade to React@18
packages (Phase 1)\r\nwe will be in the process of migrating to the new
createRoot API (Phase\r\n2). However, it is very noisy and we want to
mute it for now.\r\n\r\n\r\nCo-authored-by: Anton Dosov
<anton.dosov@elastic.co>","sha":"d0fde5f8e12709c08b5486359b98699637dba80d","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:SharedUX","backport:prev-minor","React@18"],"number":193113,"url":"https://github.com/elastic/kibana/pull/193113","mergeCommit":{"message":"[React@18]
Env variable to use React@18 (#193113)\n\nPart
of\r\nhttps://github.com/elastic/kibana-team/issues/1016#issuecomment-2454845292\r\n\r\nOur
plan for React@18 packages upgrade is to let kibana contributors
now\r\nthat we're going to bump React packages couple weeks in advance.
In\r\naddtion to the final PR with green tests and Kibana deployed, we
want to\r\ngive simple instructions on how to run React@18 locally
easilly:\r\n\r\nThis PR allows to quickly toggle between version of
React locally\r\nwithout having to do anything beyond an environment
variable.\r\n\r\n`REACT_18=true yarn bootstrap` will alias `react` and
`react-dom` to v18\r\nin the build.\r\n\r\nI check that this works as
expected when starting from: \r\n\r\n- local dev server `yarn start`
\r\n- local ftr `node scripts/functional_tests_server.js`\r\n- local
unit tests `REACT_18=true yarn test:jest ...`\r\n\r\nPlease note: \r\n-
**This PR doesn't implement this switch for dist build, as I
don't\r\nthink we need this for our purposes.**\r\n- The plan is that we
remove this switch soon after we merge React@18\r\nupgrade to
main.\r\n\r\nIn addition to the switch this PR mutes a very noisy
warning from\r\nReact@18 about legacy root `Warning: ReactDOM.render is
no longer\r\nsupported in React 18. Use createRoot instead. Until you
switch to the\r\nnew API, your app will behave as if it's running React
17.`. This\r\nwarning is expected as after we upgrade to React@18
packages (Phase 1)\r\nwe will be in the process of migrating to the new
createRoot API (Phase\r\n2). However, it is very noisy and we want to
mute it for now.\r\n\r\n\r\nCo-authored-by: Anton Dosov
<anton.dosov@elastic.co>","sha":"d0fde5f8e12709c08b5486359b98699637dba80d"}},"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/193113","number":193113,"mergeCommit":{"message":"[React@18]
Env variable to use React@18 (#193113)\n\nPart
of\r\nhttps://github.com/elastic/kibana-team/issues/1016#issuecomment-2454845292\r\n\r\nOur
plan for React@18 packages upgrade is to let kibana contributors
now\r\nthat we're going to bump React packages couple weeks in advance.
In\r\naddtion to the final PR with green tests and Kibana deployed, we
want to\r\ngive simple instructions on how to run React@18 locally
easilly:\r\n\r\nThis PR allows to quickly toggle between version of
React locally\r\nwithout having to do anything beyond an environment
variable.\r\n\r\n`REACT_18=true yarn bootstrap` will alias `react` and
`react-dom` to v18\r\nin the build.\r\n\r\nI check that this works as
expected when starting from: \r\n\r\n- local dev server `yarn start`
\r\n- local ftr `node scripts/functional_tests_server.js`\r\n- local
unit tests `REACT_18=true yarn test:jest ...`\r\n\r\nPlease note: \r\n-
**This PR doesn't implement this switch for dist build, as I
don't\r\nthink we need this for our purposes.**\r\n- The plan is that we
remove this switch soon after we merge React@18\r\nupgrade to
main.\r\n\r\nIn addition to the switch this PR mutes a very noisy
warning from\r\nReact@18 about legacy root `Warning: ReactDOM.render is
no longer\r\nsupported in React 18. Use createRoot instead. Until you
switch to the\r\nnew API, your app will behave as if it's running React
17.`. This\r\nwarning is expected as after we upgrade to React@18
packages (Phase 1)\r\nwe will be in the process of migrating to the new
createRoot API (Phase\r\n2). However, it is very noisy and we want to
mute it for now.\r\n\r\n\r\nCo-authored-by: Anton Dosov
<anton.dosov@elastic.co>","sha":"d0fde5f8e12709c08b5486359b98699637dba80d"}}]}]
BACKPORT-->

---------

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-09 17:57:18 +01:00
Gerard Soldevila
61dfcaa89f
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/docs (#202416) (#203401)
# Backport

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

<!--- 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-05T13:54:58Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/docs`
(#202416)\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. We
kindly ask you to:\r\n\r\n* Review the moved files, as some of them
contain relative paths that\r\nhave been updated.\r\n* Review the
updated files, as some of them contain references that have\r\nbeen
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* We kindly ask you to:\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
.buildkite/scripts/pipelines/pull_request/pipeline.ts\r\nto ensure that
any CI pipeline customizations continue to be correctly\r\napplied after
the changed path names\r\n* Review all of the updated files, specially
the `.ts` and `.js` files\r\nlisted in the sections
below.\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/doc-links` |
`src/platform/packages/shared/kbn-doc-links`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/upgrade-notes.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/core/tsconfig.type_check.json\r\n./src/platform/packages/shared/kbn-doc-links/jest.config.js\r\n./src/plugins/ai_assistant_management/selection/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/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/search_inference_endpoints/tsconfig.type_check.json\r\n./x-pack/plugins/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/security_solution/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/threat_intelligence/tsconfig.type_check.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/shared/kbn-doc-links/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-doc-links/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-doc-links/tsconfig.type_check.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":"b2d49b8beb1d92bc2af45f67c6170bc58f26cec9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","Team:Core","release_note:skip","backport
missing","v9.0.0","backport:prev-minor"],"number":202416,"url":"https://github.com/elastic/kibana/pull/202416","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/docs`
(#202416)\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. We
kindly ask you to:\r\n\r\n* Review the moved files, as some of them
contain relative paths that\r\nhave been updated.\r\n* Review the
updated files, as some of them contain references that have\r\nbeen
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* We kindly ask you to:\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
.buildkite/scripts/pipelines/pull_request/pipeline.ts\r\nto ensure that
any CI pipeline customizations continue to be correctly\r\napplied after
the changed path names\r\n* Review all of the updated files, specially
the `.ts` and `.js` files\r\nlisted in the sections
below.\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/doc-links` |
`src/platform/packages/shared/kbn-doc-links`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/upgrade-notes.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/core/tsconfig.type_check.json\r\n./src/platform/packages/shared/kbn-doc-links/jest.config.js\r\n./src/plugins/ai_assistant_management/selection/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/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/search_inference_endpoints/tsconfig.type_check.json\r\n./x-pack/plugins/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/security_solution/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/threat_intelligence/tsconfig.type_check.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/shared/kbn-doc-links/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-doc-links/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-doc-links/tsconfig.type_check.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":"b2d49b8beb1d92bc2af45f67c6170bc58f26cec9"}},"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/202416","number":202416,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/docs`
(#202416)\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. We
kindly ask you to:\r\n\r\n* Review the moved files, as some of them
contain relative paths that\r\nhave been updated.\r\n* Review the
updated files, as some of them contain references that have\r\nbeen
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* We kindly ask you to:\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
.buildkite/scripts/pipelines/pull_request/pipeline.ts\r\nto ensure that
any CI pipeline customizations continue to be correctly\r\napplied after
the changed path names\r\n* Review all of the updated files, specially
the `.ts` and `.js` files\r\nlisted in the sections
below.\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/doc-links` |
`src/platform/packages/shared/kbn-doc-links`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./docs/upgrade-notes.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/core/tsconfig.type_check.json\r\n./src/platform/packages/shared/kbn-doc-links/jest.config.js\r\n./src/plugins/ai_assistant_management/selection/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/plugins/alerting/tsconfig.type_check.json\r\n./x-pack/plugins/search_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/search_inference_endpoints/tsconfig.type_check.json\r\n./x-pack/plugins/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/security_solution/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/threat_intelligence/tsconfig.type_check.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/shared/kbn-doc-links/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-doc-links/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-doc-links/tsconfig.type_check.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":"b2d49b8beb1d92bc2af45f67c6170bc58f26cec9"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-09 09:29:01 -07: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
Kibana Machine
ba9ba62dbb
[8.x] [Security Solution] Allow users to save rule query with non critical validation errors (#202544) (#203233)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Allow users to save rule query with non critical
validation errors
(#202544)](https://github.com/elastic/kibana/pull/202544)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2024-12-06T12:06:39Z","message":"[Security
Solution] Allow users to save rule query with non critical validation
errors (#202544)\n\n**Addresses:**
https://github.com/elastic/kibana/issues/171520\r\n\r\n##
Summary\r\n\r\nThis PR adds functionality to allow users save EQL and
ES|QL queries in Prebuilt Rule Customization workflow by displaying a
confirmation modal with non critical validation errors (a.k.a warnings).
It also refactors confirmation modal usage in rule creation/editing
forms for better reusability.\r\n\r\n## Screenshots\r\n\r\n<img
width=\"1909\" alt=\"Screenshot 2024-12-03 at 14 01 36\"
src=\"50b5cf5a-ea3f-4c22-a443-b5d4056a92c8\r\n\r\n<img
width=\"2541\" alt=\"Screenshot 2024-12-03 at 14 06 29\"
src=\"https://github.com/user-attachments/assets/dde3fd60-6c69-4f8e-a65a-837b2319e4ac\">\r\n\r\n<img
width=\"2552\" alt=\"Screenshot 2024-12-03 at 14 06 51\"
src=\"https://github.com/user-attachments/assets/220817a6-991f-4361-88d2-ee3a47a36ad6\">\r\n\r\n<img
width=\"2555\" alt=\"Screenshot 2024-12-03 at 14 07 52\"
src=\"https://github.com/user-attachments/assets/c46fc49c-9ce1-4472-bdea-f9507aa62ece\">\r\n\r\n<img
width=\"2553\" alt=\"Screenshot 2024-12-03 at 14 08 18\"
src=\"https://github.com/user-attachments/assets/92388c56-8644-4c54-8727-b9a73b3497d1\">","sha":"b0c7a8ce4f0ea528a7f96246e7f2a46d17f61d3f","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:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0"],"title":"[Security Solution] Allow
users to save rule query with non critical validation
errors","number":202544,"url":"https://github.com/elastic/kibana/pull/202544","mergeCommit":{"message":"[Security
Solution] Allow users to save rule query with non critical validation
errors (#202544)\n\n**Addresses:**
https://github.com/elastic/kibana/issues/171520\r\n\r\n##
Summary\r\n\r\nThis PR adds functionality to allow users save EQL and
ES|QL queries in Prebuilt Rule Customization workflow by displaying a
confirmation modal with non critical validation errors (a.k.a warnings).
It also refactors confirmation modal usage in rule creation/editing
forms for better reusability.\r\n\r\n## Screenshots\r\n\r\n<img
width=\"1909\" alt=\"Screenshot 2024-12-03 at 14 01 36\"
src=\"50b5cf5a-ea3f-4c22-a443-b5d4056a92c8\r\n\r\n<img
width=\"2541\" alt=\"Screenshot 2024-12-03 at 14 06 29\"
src=\"https://github.com/user-attachments/assets/dde3fd60-6c69-4f8e-a65a-837b2319e4ac\">\r\n\r\n<img
width=\"2552\" alt=\"Screenshot 2024-12-03 at 14 06 51\"
src=\"https://github.com/user-attachments/assets/220817a6-991f-4361-88d2-ee3a47a36ad6\">\r\n\r\n<img
width=\"2555\" alt=\"Screenshot 2024-12-03 at 14 07 52\"
src=\"https://github.com/user-attachments/assets/c46fc49c-9ce1-4472-bdea-f9507aa62ece\">\r\n\r\n<img
width=\"2553\" alt=\"Screenshot 2024-12-03 at 14 08 18\"
src=\"https://github.com/user-attachments/assets/92388c56-8644-4c54-8727-b9a73b3497d1\">","sha":"b0c7a8ce4f0ea528a7f96246e7f2a46d17f61d3f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202544","number":202544,"mergeCommit":{"message":"[Security
Solution] Allow users to save rule query with non critical validation
errors (#202544)\n\n**Addresses:**
https://github.com/elastic/kibana/issues/171520\r\n\r\n##
Summary\r\n\r\nThis PR adds functionality to allow users save EQL and
ES|QL queries in Prebuilt Rule Customization workflow by displaying a
confirmation modal with non critical validation errors (a.k.a warnings).
It also refactors confirmation modal usage in rule creation/editing
forms for better reusability.\r\n\r\n## Screenshots\r\n\r\n<img
width=\"1909\" alt=\"Screenshot 2024-12-03 at 14 01 36\"
src=\"50b5cf5a-ea3f-4c22-a443-b5d4056a92c8\r\n\r\n<img
width=\"2541\" alt=\"Screenshot 2024-12-03 at 14 06 29\"
src=\"https://github.com/user-attachments/assets/dde3fd60-6c69-4f8e-a65a-837b2319e4ac\">\r\n\r\n<img
width=\"2552\" alt=\"Screenshot 2024-12-03 at 14 06 51\"
src=\"https://github.com/user-attachments/assets/220817a6-991f-4361-88d2-ee3a47a36ad6\">\r\n\r\n<img
width=\"2555\" alt=\"Screenshot 2024-12-03 at 14 07 52\"
src=\"https://github.com/user-attachments/assets/c46fc49c-9ce1-4472-bdea-f9507aa62ece\">\r\n\r\n<img
width=\"2553\" alt=\"Screenshot 2024-12-03 at 14 08 18\"
src=\"https://github.com/user-attachments/assets/92388c56-8644-4c54-8727-b9a73b3497d1\">","sha":"b0c7a8ce4f0ea528a7f96246e7f2a46d17f61d3f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
2024-12-06 07:55:43 -06:00
Bharat Pasupula
da176d3c3f
[8.x] [Automatic Import] Add serverless availability cypress test (#202872) (#203207)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Automatic Import] Add serverless availability cypress test
(#202872)](https://github.com/elastic/kibana/pull/202872)

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

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

<!--BACKPORT [{"author":{"name":"Bharat
Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-05T20:25:07Z","message":"[Automatic
Import] Add serverless availability cypress test
(#202872)","sha":"5145d76fb1159b7a574eafaacbcf57e51cf00273","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","v9.0.0","backport:prev-minor","Team:Security-Scalability","Feature:AutomaticImport"],"number":202872,"url":"https://github.com/elastic/kibana/pull/202872","mergeCommit":{"message":"[Automatic
Import] Add serverless availability cypress test
(#202872)","sha":"5145d76fb1159b7a574eafaacbcf57e51cf00273"}},"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/202872","number":202872,"mergeCommit":{"message":"[Automatic
Import] Add serverless availability cypress test
(#202872)","sha":"5145d76fb1159b7a574eafaacbcf57e51cf00273"}}]}]
BACKPORT-->
2024-12-06 12:19:44 +01:00
Pierre Gayvallet
4ffcaedaa9
[8.x] Add base FTR test coverage for inference APIs (#198000) (#202916)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Add base FTR test coverage for inference APIs
(#198000)](https://github.com/elastic/kibana/pull/198000)

<!--- 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-12-04T12:39:45Z","message":"Add
base FTR test coverage for inference APIs (#198000)\n\n##
Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR
introduces the first set of end to end integration test for
the\r\ninference APIs, and the tooling required to do so (see issue for
more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI
tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or
ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites`
label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh`
script to load GenAI connector\r\nconfiguration from vault when a
specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing`
package, which for now\r\nonly contains utilities to load the GenAI
connector configuration in FTR\r\ntests\r\n- Add FTR integration tests
for the `chatComplete` API of the\r\n`inference`
plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","Team:AI
Infra","v8.18.0","ci:all-gen-ai-suites"],"number":198000,"url":"https://github.com/elastic/kibana/pull/198000","mergeCommit":{"message":"Add
base FTR test coverage for inference APIs (#198000)\n\n##
Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR
introduces the first set of end to end integration test for
the\r\ninference APIs, and the tooling required to do so (see issue for
more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI
tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or
ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites`
label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh`
script to load GenAI connector\r\nconfiguration from vault when a
specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing`
package, which for now\r\nonly contains utilities to load the GenAI
connector configuration in FTR\r\ntests\r\n- Add FTR integration tests
for the `chatComplete` API of the\r\n`inference`
plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808"}},"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/198000","number":198000,"mergeCommit":{"message":"Add
base FTR test coverage for inference APIs (#198000)\n\n##
Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR
introduces the first set of end to end integration test for
the\r\ninference APIs, and the tooling required to do so (see issue for
more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI
tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or
ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites`
label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh`
script to load GenAI connector\r\nconfiguration from vault when a
specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing`
package, which for now\r\nonly contains utilities to load the GenAI
connector configuration in FTR\r\ntests\r\n- Add FTR integration tests
for the `chatComplete` API of the\r\n`inference`
plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808"}},{"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-05 07:03:22 -06:00