Commit graph

1253 commits

Author SHA1 Message Date
Gerard Soldevila
36fa5a4da6
[8.18] SKA: Relocate "platform" packages that remain on /packages (208704) (#212751)
# Backport

This will backport the following commits from `main` to `8.18`:
- #208704
2025-03-05 19:22:58 +03:00
Gerard Soldevila
e2497bec0c
[8.18] SKA: Misc cleanup and enhancements (#212207) (#212352)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Misc cleanup and enhancements
(#212207)](https://github.com/elastic/kibana/pull/212207)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-24T13:31:00Z","message":"SKA:
Misc cleanup and enhancements (#212207)\n\n## Summary\n\n* Remove some
old paths pointing to `packages/kbn-pm` (no longer\nexists).\n* ~Fix
group and visibility for `@kbn/streams-app-wrapper-plugin`~.\n(done in
https://github.com/elastic/kibana/pull/212210)\n* Update
`scripts/relocate` logic with latest enhancements.\n* Convert
`@kbn/observability-synthetics-test-data` folder name to\ncamel-case
(messes up with pre-commit
hook).","sha":"a41badf96496c81587fca3d56c1c891abeb1a3a9","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Misc cleanup and
enhancements","number":212207,"url":"https://github.com/elastic/kibana/pull/212207","mergeCommit":{"message":"SKA:
Misc cleanup and enhancements (#212207)\n\n## Summary\n\n* Remove some
old paths pointing to `packages/kbn-pm` (no longer\nexists).\n* ~Fix
group and visibility for `@kbn/streams-app-wrapper-plugin`~.\n(done in
https://github.com/elastic/kibana/pull/212210)\n* Update
`scripts/relocate` logic with latest enhancements.\n* Convert
`@kbn/observability-synthetics-test-data` folder name to\ncamel-case
(messes up with pre-commit
hook).","sha":"a41badf96496c81587fca3d56c1c891abeb1a3a9"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212207","number":212207,"mergeCommit":{"message":"SKA:
Misc cleanup and enhancements (#212207)\n\n## Summary\n\n* Remove some
old paths pointing to `packages/kbn-pm` (no longer\nexists).\n* ~Fix
group and visibility for `@kbn/streams-app-wrapper-plugin`~.\n(done in
https://github.com/elastic/kibana/pull/212210)\n* Update
`scripts/relocate` logic with latest enhancements.\n* Convert
`@kbn/observability-synthetics-test-data` folder name to\ncamel-case
(messes up with pre-commit
hook).","sha":"a41badf96496c81587fca3d56c1c891abeb1a3a9"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-02-25 13:18:12 +00:00
Kibana Machine
17a2932b9b
[8.18] [Security Solution] Adds normalization for filter meta field diff (#210191) (#212318)
# Backport

This will backport the following commits from `main` to `8.18`:
- [[Security Solution] Adds normalization for filter `meta` field diff
(#210191)](https://github.com/elastic/kibana/pull/210191)

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

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

<!--BACKPORT [{"author":{"name":"Davis
Plumlee","email":"56367316+dplumlee@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-25T00:19:55Z","message":"[Security
Solution] Adds normalization for filter `meta` field diff
(#210191)\n\n**Fixes:
https://github.com/elastic/kibana/issues/206527**\n**Partially
addresses: https://github.com/elastic/kibana/issues/209518**\n\n##
Summary\n\nAdds a normalization to the `filters` field in the rule
diffing\ncalculation that omits all filter fields other than the `query`
field\nand the `negate` and `disabled` fields within the `meta` object.
This\nmakes our diffing logic much more robust and resilient as we
only\ncompare data in the rule fields that have an impact on the query
itself\nand not the fields that relate to UI implementation (`alias`,
`key`,\netc).\n\n### To test\n\n- Open a prebuilt rule with `filters` in
the non-customized rule\nparameters (e.g. `PowerShell Script with
Discovery Capabilities`)\n- Edit the rule and save without editing\n-
The rule should remain unmodified even though more fields have
been\nadded to the rule's `filters` field\n\nUnless the user adds or
deletes a filter on the rule, the rule should\nonly be marked as
customized under 3 circumstances:\n\n- The user negates the filter (adds
NOT to the beginning of the filter)\n- The user disables the filter\n-
The user changes the filter query\n\nAll other scenarios (such as adding
a custom name for the filter) should\nnot change the rule's customized
status\n\n### Checklist\n\nCheck the PR satisfies following conditions.
\n\nReviewers should verify this PR satisfies this list as well.\n\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"3f3c8c8a4898217c3d3c9314e50e6eb46ec4b9e0","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","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","v9.1.0","v8.19.0"],"title":"[Security
Solution] Adds normalization for filter `meta` field
diff","number":210191,"url":"https://github.com/elastic/kibana/pull/210191","mergeCommit":{"message":"[Security
Solution] Adds normalization for filter `meta` field diff
(#210191)\n\n**Fixes:
https://github.com/elastic/kibana/issues/206527**\n**Partially
addresses: https://github.com/elastic/kibana/issues/209518**\n\n##
Summary\n\nAdds a normalization to the `filters` field in the rule
diffing\ncalculation that omits all filter fields other than the `query`
field\nand the `negate` and `disabled` fields within the `meta` object.
This\nmakes our diffing logic much more robust and resilient as we
only\ncompare data in the rule fields that have an impact on the query
itself\nand not the fields that relate to UI implementation (`alias`,
`key`,\netc).\n\n### To test\n\n- Open a prebuilt rule with `filters` in
the non-customized rule\nparameters (e.g. `PowerShell Script with
Discovery Capabilities`)\n- Edit the rule and save without editing\n-
The rule should remain unmodified even though more fields have
been\nadded to the rule's `filters` field\n\nUnless the user adds or
deletes a filter on the rule, the rule should\nonly be marked as
customized under 3 circumstances:\n\n- The user negates the filter (adds
NOT to the beginning of the filter)\n- The user disables the filter\n-
The user changes the filter query\n\nAll other scenarios (such as adding
a custom name for the filter) should\nnot change the rule's customized
status\n\n### Checklist\n\nCheck the PR satisfies following conditions.
\n\nReviewers should verify this PR satisfies this list as well.\n\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"3f3c8c8a4898217c3d3c9314e50e6eb46ec4b9e0"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210191","number":210191,"mergeCommit":{"message":"[Security
Solution] Adds normalization for filter `meta` field diff
(#210191)\n\n**Fixes:
https://github.com/elastic/kibana/issues/206527**\n**Partially
addresses: https://github.com/elastic/kibana/issues/209518**\n\n##
Summary\n\nAdds a normalization to the `filters` field in the rule
diffing\ncalculation that omits all filter fields other than the `query`
field\nand the `negate` and `disabled` fields within the `meta` object.
This\nmakes our diffing logic much more robust and resilient as we
only\ncompare data in the rule fields that have an impact on the query
itself\nand not the fields that relate to UI implementation (`alias`,
`key`,\netc).\n\n### To test\n\n- Open a prebuilt rule with `filters` in
the non-customized rule\nparameters (e.g. `PowerShell Script with
Discovery Capabilities`)\n- Edit the rule and save without editing\n-
The rule should remain unmodified even though more fields have
been\nadded to the rule's `filters` field\n\nUnless the user adds or
deletes a filter on the rule, the rule should\nonly be marked as
customized under 3 circumstances:\n\n- The user negates the filter (adds
NOT to the beginning of the filter)\n- The user disables the filter\n-
The user changes the filter query\n\nAll other scenarios (such as adding
a custom name for the filter) should\nnot change the rule's customized
status\n\n### Checklist\n\nCheck the PR satisfies following conditions.
\n\nReviewers should verify this PR satisfies this list as well.\n\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"3f3c8c8a4898217c3d3c9314e50e6eb46ec4b9e0"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
2025-02-25 02:08:26 +00:00
Gerard Soldevila
58f4d2c66c
[8.18] SKA: Relocate core-test-helpers (#212029) (#212095)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Relocate core-test-helpers
(#212029)](https://github.com/elastic/kibana/pull/212029)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-21T13:38:38Z","message":"SKA:
Relocate core-test-helpers (#212029)\n\n## Summary\n\nThese where the
only packages under `src/dev/packages`.\nThe goal long term is to
refactor the code under `src/dev` and to\nmigrate it to one (or
multiple) packages.\nThus, we're moving them to
`src/core/test-helpers/`, which already\nexists and contains a bunch of
test-helpers.\n\n#### 2 packages(s) are going to be relocated:\n\n| Id |
Target folder |\n| -- | ------------- |\n|
`@kbn/core-test-helpers-kbn-server`
|\n`src/core/test-helpers/kbn-server` |\n|
`@kbn/core-test-helpers-model-versions`
|\n`src/core/test-helpers/model-versions` |\n\n\n<details
>\n<summary>Updated
references</summary>\n\n```\n./.github/codeql/codeql-config.yml\n./package.json\n./packages/kbn-ts-projects/config-paths.json\n./src/core/system/tsconfig.type_check.json\n./src/core/test-helpers/kbn-server/jest.config.js\n./src/core/test-helpers/model-versions/jest.config.js\n./src/dev/tsconfig.type_check.json\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\n./src/plugins/usage_collection/tsconfig.type_check.json\n./tsconfig.base.json\n./tsconfig.base.type_check.json\n./tsconfig.refs.json\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\n./x-pack/plugins/actions/tsconfig.type_check.json\n./x-pack/plugins/alerting/tsconfig.type_check.json\n./x-pack/plugins/task_manager/tsconfig.type_check.json\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details
>\n<summary>Updated relative
paths</summary>\n\n```\nsrc/core/test-helpers/kbn-server/jest.config.js:12\nsrc/core/test-helpers/kbn-server/tsconfig.json:2\nsrc/core/test-helpers/model-versions/jest.config.js:12\nsrc/core/test-helpers/model-versions/tsconfig.json:2\n```\n\n</details>","sha":"cff1747a76162e81e1baffb42840915ab7f57ed9","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Relocate
core-test-helpers","number":212029,"url":"https://github.com/elastic/kibana/pull/212029","mergeCommit":{"message":"SKA:
Relocate core-test-helpers (#212029)\n\n## Summary\n\nThese where the
only packages under `src/dev/packages`.\nThe goal long term is to
refactor the code under `src/dev` and to\nmigrate it to one (or
multiple) packages.\nThus, we're moving them to
`src/core/test-helpers/`, which already\nexists and contains a bunch of
test-helpers.\n\n#### 2 packages(s) are going to be relocated:\n\n| Id |
Target folder |\n| -- | ------------- |\n|
`@kbn/core-test-helpers-kbn-server`
|\n`src/core/test-helpers/kbn-server` |\n|
`@kbn/core-test-helpers-model-versions`
|\n`src/core/test-helpers/model-versions` |\n\n\n<details
>\n<summary>Updated
references</summary>\n\n```\n./.github/codeql/codeql-config.yml\n./package.json\n./packages/kbn-ts-projects/config-paths.json\n./src/core/system/tsconfig.type_check.json\n./src/core/test-helpers/kbn-server/jest.config.js\n./src/core/test-helpers/model-versions/jest.config.js\n./src/dev/tsconfig.type_check.json\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\n./src/plugins/usage_collection/tsconfig.type_check.json\n./tsconfig.base.json\n./tsconfig.base.type_check.json\n./tsconfig.refs.json\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\n./x-pack/plugins/actions/tsconfig.type_check.json\n./x-pack/plugins/alerting/tsconfig.type_check.json\n./x-pack/plugins/task_manager/tsconfig.type_check.json\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details
>\n<summary>Updated relative
paths</summary>\n\n```\nsrc/core/test-helpers/kbn-server/jest.config.js:12\nsrc/core/test-helpers/kbn-server/tsconfig.json:2\nsrc/core/test-helpers/model-versions/jest.config.js:12\nsrc/core/test-helpers/model-versions/tsconfig.json:2\n```\n\n</details>","sha":"cff1747a76162e81e1baffb42840915ab7f57ed9"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212080","number":212080,"state":"OPEN"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212029","number":212029,"mergeCommit":{"message":"SKA:
Relocate core-test-helpers (#212029)\n\n## Summary\n\nThese where the
only packages under `src/dev/packages`.\nThe goal long term is to
refactor the code under `src/dev` and to\nmigrate it to one (or
multiple) packages.\nThus, we're moving them to
`src/core/test-helpers/`, which already\nexists and contains a bunch of
test-helpers.\n\n#### 2 packages(s) are going to be relocated:\n\n| Id |
Target folder |\n| -- | ------------- |\n|
`@kbn/core-test-helpers-kbn-server`
|\n`src/core/test-helpers/kbn-server` |\n|
`@kbn/core-test-helpers-model-versions`
|\n`src/core/test-helpers/model-versions` |\n\n\n<details
>\n<summary>Updated
references</summary>\n\n```\n./.github/codeql/codeql-config.yml\n./package.json\n./packages/kbn-ts-projects/config-paths.json\n./src/core/system/tsconfig.type_check.json\n./src/core/test-helpers/kbn-server/jest.config.js\n./src/core/test-helpers/model-versions/jest.config.js\n./src/dev/tsconfig.type_check.json\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\n./src/plugins/usage_collection/tsconfig.type_check.json\n./tsconfig.base.json\n./tsconfig.base.type_check.json\n./tsconfig.refs.json\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\n./x-pack/plugins/actions/tsconfig.type_check.json\n./x-pack/plugins/alerting/tsconfig.type_check.json\n./x-pack/plugins/task_manager/tsconfig.type_check.json\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details
>\n<summary>Updated relative
paths</summary>\n\n```\nsrc/core/test-helpers/kbn-server/jest.config.js:12\nsrc/core/test-helpers/kbn-server/tsconfig.json:2\nsrc/core/test-helpers/model-versions/jest.config.js:12\nsrc/core/test-helpers/model-versions/tsconfig.json:2\n```\n\n</details>","sha":"cff1747a76162e81e1baffb42840915ab7f57ed9"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-02-21 16:36:38 +00:00
Ido Cohen
0131c4c71b
[8.18] Deprecate universal entity (#211772)
# Backport

This will backport the following commits from `main` to `8.18`:
- [Deprecate universal
entity](https://github.com/elastic/kibana/pull/210978)

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

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

<!--BACKPORT [{"author":{"name":"Ido
Cohen","email":"90558359+CohenIdo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-18T14:49:32Z","message":"Deprecate
universal
entity","sha":"f5c9529e37ea3dddca4db748bfa7e2391303f87e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"Deprecate
universal
entity","number":210978,"url":"https://github.com/elastic/kibana/pull/210978","mergeCommit":{"message":"Deprecate
universal
entity","sha":"f5c9529e37ea3dddca4db748bfa7e2391303f87e"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210978","number":210978,"mergeCommit":{"message":"Deprecate
universal
entity","sha":"f5c9529e37ea3dddca4db748bfa7e2391303f87e"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-20 14:47:01 +01:00
Gerard Soldevila
6f0dd13c49
[8.18] SKA: Fix kebab-case issues in security-threat-hunting packages (#211349) (#211734)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Fix kebab-case issues in security-threat-hunting packages
(#211349)](https://github.com/elastic/kibana/pull/211349)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-19T10:21:45Z","message":"SKA:
Fix kebab-case issues in security-threat-hunting packages
(#211349)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data-table` |\r\n|
`@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs-data-quality-dashboard`
|\r\n| `@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side-nav` |\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.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/ecs-data-quality-dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/side-nav/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/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/ecs-data-quality-dashboard/jest.config.js:24\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:10\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/side-nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side-nav/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":"69a87194d17a8228d1643845c306a01201e921b7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat
Hunting","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in security-threat-hunting
packages","number":211349,"url":"https://github.com/elastic/kibana/pull/211349","mergeCommit":{"message":"SKA:
Fix kebab-case issues in security-threat-hunting packages
(#211349)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data-table` |\r\n|
`@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs-data-quality-dashboard`
|\r\n| `@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side-nav` |\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.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/ecs-data-quality-dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/side-nav/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/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/ecs-data-quality-dashboard/jest.config.js:24\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:10\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/side-nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side-nav/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":"69a87194d17a8228d1643845c306a01201e921b7"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211722","number":211722,"state":"OPEN"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211349","number":211349,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in security-threat-hunting packages
(#211349)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data-table` |\r\n|
`@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs-data-quality-dashboard`
|\r\n| `@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side-nav` |\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.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/ecs-data-quality-dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/side-nav/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/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/ecs-data-quality-dashboard/jest.config.js:24\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:10\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/side-nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side-nav/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":"69a87194d17a8228d1643845c306a01201e921b7"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-02-19 13:45:07 +01:00
Gerard Soldevila
40027d1111
[8.18] SKA: Fix kebab-case issues in observability-ui packages (#211248) (#211699)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Fix kebab-case issues in observability-ui packages
(#211248)](https://github.com/elastic/kibana/pull/211248)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T18:34:14Z","message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.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/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Observability","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in observability-ui
packages","number":211248,"url":"https://github.com/elastic/kibana/pull/211248","mergeCommit":{"message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.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/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211311","number":211311,"state":"MERGED","mergeCommit":{"sha":"126a3d603e792be87310a80c4d3c4a39a12188e6","message":"[9.0]
SKA: Fix kebab-case issues in observability-ui packages (#211248)
(#211311)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in observability-ui
packages\n(#211248)](https://github.com/elastic/kibana/pull/211248)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by:
Gerard Soldevila
<gerard.soldevila@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211248","number":211248,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.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/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211374","number":211374,"state":"MERGED","mergeCommit":{"sha":"7293166bdce32ca38bc299f4c6f89d94dc8febd7","message":"[8.x]
SKA: Fix kebab-case issues in observability-ui packages (#211248)
(#211374)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [SKA: Fix kebab-case issues in observability-ui
packages\n(#211248)](https://github.com/elastic/kibana/pull/211248)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\\n\\n###
Questions ?\\nPlease refer to
the\n[Backport\ntool\\ndocumentation](https://github.com/sqren/backport)\\n\\n\\n\\nCo-authored-by:\nGerard
Soldevila\n<gerard.soldevila@elastic.co>\"}},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/211248\",\"number\":211248,\"mergeCommit\":{\"message\":\"SKA:\nFix
kebab-case issues in observability-ui packages
(#211248)\\n\\n##\nSummary\\r\\n\\r\\nThis PR aims at relocating some of
the Kibana modules\n(plugins and\\r\\npackages) into a new folder
structure, according to the\n_Sustainable\\r\\nKibana Architecture_
initiative.\\r\\n\\r\\n>\n[!IMPORTANT]\\r\\n> * We kindly ask you
to:\\r\\n> * Manually fix the errors\nin the error section below (if
there are\\r\\nany).\\r\\n> * Search for the\n`packages[\\\\/\\\\\\\\]`
and `plugins[\\\\/\\\\\\\\]` patterns in the\\r\\nsource\ncode (Babel
and Eslint config files), and update\nthem\\r\\nappropriately.\\r\\n> *
Manually\nreview\\r\\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts`
to\nensure that\\r\\nany CI pipeline customizations continue to be
correctly\napplied after\\r\\nthe changed path names\\r\\n> * Review all
of the updated\nfiles, specially the `.ts` and `.js` files\\r\\nlisted
in the sections\nbelow, as some of them contain relative paths\\r\\nthat
have been\nupdated.\\r\\n> * Think of potential impact of the move,
including tooling\nand\\r\\nconfiguration files that can be pointing to
the relocated\nmodules. E.g.:\\r\\n> * customised eslint rules\\r\\n> *
docs pointing to\nsource code\\r\\n\\r\\n> [!NOTE]\\r\\n> * This PR has
been\nauto-generated.\\r\\n> * Any manual contributions will be lost if
the\n'relocate' script is\\r\\nre-run.\\r\\n> * Try to obtain the
missing reviews\n/ approvals before applying manual\\r\\nfixes, and/or
keep your changes in\na .patch / git stash.\\r\\n> *
Please\nuse\\r\\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\\r\\nSlack\nchannel
for feedback.\\r\\n\\r\\nAre you trying to rebase this PR to
solve\nmerge conflicts? Please follow\\r\\nthe
steps\ndescribe\\r\\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\\r\\n\\r\\n####\n3
packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target
folder\n|\\r\\n| -- | ------------- |\\r\\n|
`@kbn/observability-utils-browser`\n|\\r\\n`x-pack/solutions/observability/packages/utils-browser`
|\\r\\n|\n`@kbn/observability-utils-common`\n|\\r\\n`x-pack/solutions/observability/packages/utils-common`
|\\r\\n|\n`@kbn/observability-utils-server`\n|\\r\\n`x-pack/solutions/observability/packages/utils-server`\n|\\r\\n\\r\\n\\r\\n<details
>\\r\\n<summary>Updated\nreferences</summary>\\r\\n\\r\\n```\\r\\n./package.json\\r\\n./packages/kbn-ts-projects/config-paths.json\\r\\n./src/platform/packages/private/kbn-repo-packages/package-map.json\\r\\n./tsconfig.base.json\\r\\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\\r\\n./yarn.lock\\r\\n.github/CODEOWNERS\\r\\n```\\r\\n\\r\\n</details><details\n>\\r\\n<summary>Updated
relative\npaths</summary>\\r\\n\\r\\n```\\r\\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"239bd8db9be41f38289306a1356a7fad86f0a734\"}},{\"branch\":\"8.x\",\"label\":\"v8.19.0\",\"branchLabelMappingKey\":\"^v8.19.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\n---------\n\nCo-authored-by:
kibanamachine <42973632+kibanamachine@users.noreply.github.com>"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-19 13:11:27 +01:00
Gerard Soldevila
d4511b3c49
[8.18] SKA: Fix kebab-case issues in obs-ux-logs packages (#211347) (#211701)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Fix kebab-case issues in obs-ux-logs packages
(#211347)](https://github.com/elastic/kibana/pull/211347)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-17T08:08:38Z","message":"SKA:
Fix kebab-case issues in obs-ux-logs packages (#211347)\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/logs-overview` |
`x-pack/platform/packages/shared/logs-overview`\r\n|\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/logs-overview/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/packages/shared/logs-overview/jest.config.js:10\r\nx-pack/platform/packages/shared/logs-overview/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"0ecbbd52becb2d48150c837149d54125ddd5c6e3","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:obs-ux-logs","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in obs-ux-logs
packages","number":211347,"url":"https://github.com/elastic/kibana/pull/211347","mergeCommit":{"message":"SKA:
Fix kebab-case issues in obs-ux-logs packages (#211347)\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/logs-overview` |
`x-pack/platform/packages/shared/logs-overview`\r\n|\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/logs-overview/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/packages/shared/logs-overview/jest.config.js:10\r\nx-pack/platform/packages/shared/logs-overview/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"0ecbbd52becb2d48150c837149d54125ddd5c6e3"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211382","number":211382,"state":"MERGED","mergeCommit":{"sha":"b2618cf19d288c483e00ed73917d1cd821592ee0","message":"[9.0]
SKA: Fix kebab-case issues in obs-ux-logs packages (#211347)
(#211382)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in obs-ux-logs
packages\n(#211347)](https://github.com/elastic/kibana/pull/211347)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211347","number":211347,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in obs-ux-logs packages (#211347)\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/logs-overview` |
`x-pack/platform/packages/shared/logs-overview`\r\n|\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/logs-overview/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/packages/shared/logs-overview/jest.config.js:10\r\nx-pack/platform/packages/shared/logs-overview/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"0ecbbd52becb2d48150c837149d54125ddd5c6e3"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211383","number":211383,"state":"MERGED","mergeCommit":{"sha":"361ca2fadc19d6d7b8eb20d009b490d38ed701cb","message":"[8.x]
SKA: Fix kebab-case issues in obs-ux-logs packages (#211347)
(#211383)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [SKA: Fix kebab-case issues in obs-ux-logs
packages\n(#211347)](https://github.com/elastic/kibana/pull/211347)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-19 13:07:43 +01:00
Gerard Soldevila
7d6e5ba572
[8.18] SKA: Fix kebab-case issues in search-kibana packages (#211348) (#211714)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Fix kebab-case issues in search-kibana packages
(#211348)](https://github.com/elastic/kibana/pull/211348)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-16T08:39:06Z","message":"SKA:
Fix kebab-case issues in search-kibana packages (#211348)\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/search-shared-ui` |
`x-pack/solutions/search/packages/shared-ui`\r\n|\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-relocate/utils/transforms.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/search/packages/shared-ui/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/solutions/search/packages/shared-ui/jest.config.js:14\r\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in search-kibana
packages","number":211348,"url":"https://github.com/elastic/kibana/pull/211348","mergeCommit":{"message":"SKA:
Fix kebab-case issues in search-kibana packages (#211348)\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/search-shared-ui` |
`x-pack/solutions/search/packages/shared-ui`\r\n|\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-relocate/utils/transforms.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/search/packages/shared-ui/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/solutions/search/packages/shared-ui/jest.config.js:14\r\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211357","number":211357,"state":"MERGED","mergeCommit":{"sha":"e60774c3d8a01171c887e6bdd6bdcfd0ea18d8c5","message":"[9.0]
SKA: Fix kebab-case issues in search-kibana packages (#211348)
(#211357)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in search-kibana
packages\n(#211348)](https://github.com/elastic/kibana/pull/211348)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by:
Gerard Soldevila
<gerard.soldevila@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211348","number":211348,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in search-kibana packages (#211348)\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/search-shared-ui` |
`x-pack/solutions/search/packages/shared-ui`\r\n|\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-relocate/utils/transforms.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/solutions/search/packages/shared-ui/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/solutions/search/packages/shared-ui/jest.config.js:14\r\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211380","number":211380,"state":"OPEN"}]}]
BACKPORT-->
2025-02-19 13:03:35 +01:00
Gerard Soldevila
f8fc8e7d64
[8.18] SKA: Fix kebab-case issues in obs-ux-management packages (#211312) (#211707)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Fix kebab-case issues in obs-ux-management packages
(#211312)](https://github.com/elastic/kibana/pull/211312)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-17T11:36:43Z","message":"SKA:
Fix kebab-case issues in obs-ux-management packages (#211312)\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####
4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n|
`@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert-details` |\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\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/alerting-rule-utils/jest.config.js\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./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/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/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\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:obs-ux-management","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in obs-ux-management
packages","number":211312,"url":"https://github.com/elastic/kibana/pull/211312","mergeCommit":{"message":"SKA:
Fix kebab-case issues in obs-ux-management packages (#211312)\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####
4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n|
`@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert-details` |\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\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/alerting-rule-utils/jest.config.js\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./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/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/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\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211417","number":211417,"state":"MERGED","mergeCommit":{"sha":"1d49861eb1a527da2e79a83744062d6340eb9730","message":"[9.0]
SKA: Fix kebab-case issues in obs-ux-management packages (#211312)
(#211417)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in obs-ux-management
packages\n(#211312)](https://github.com/elastic/kibana/pull/211312)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by:
Gerard Soldevila
<gerard.soldevila@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211312","number":211312,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in obs-ux-management packages (#211312)\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####
4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n|
`@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert-details` |\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\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/platform/packages/shared/alerting-rule-utils/jest.config.js\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./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/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/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\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-02-19 12:51:39 +01:00
Gerard Soldevila
947e9e04a6
[8.18] SKA: Fix kebab-case issues in cloud-security-posture packages (#211314) (#211698)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Fix kebab-case issues in cloud-security-posture packages
(#211314)](https://github.com/elastic/kibana/pull/211314)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T21:12:16Z","message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Security
Solution
Platform","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in cloud-security-posture
packages","number":211314,"url":"https://github.com/elastic/kibana/pull/211314","mergeCommit":{"message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211326","number":211326,"state":"MERGED","mergeCommit":{"sha":"8eefc6a697fe04e3a38f6ba12c5c48a037633b23","message":"[9.0]
SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)
(#211326)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in
cloud-security-posture
packages\n(#211314)](https://github.com/elastic/kibana/pull/211314)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by:
Gerard Soldevila
<gerard.soldevila@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211314","number":211314,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211376","number":211376,"state":"MERGED","mergeCommit":{"sha":"76d20ae33289e72ffdc3f664c4d7e451e9d03313","message":"[8.x]
SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)
(#211376)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [SKA: Fix kebab-case issues in
cloud-security-posture
packages\n(#211314)](https://github.com/elastic/kibana/pull/211314)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\\n\\n###
Questions ?\\nPlease refer to
the\n[Backport\ntool\\ndocumentation](https://github.com/sqren/backport)\\n\\n\\n\\nCo-authored-by:\nGerard
Soldevila\n<gerard.soldevila@elastic.co>\"}},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/211314\",\"number\":211314,\"mergeCommit\":{\"message\":\"SKA:\nFix
kebab-case issues in cloud-security-posture
packages\n(#211314)\",\"sha\":\"89b05458ad291293d9584983a48500976151562b\"}},{\"branch\":\"8.x\",\"label\":\"v8.19.0\",\"branchLabelMappingKey\":\"^v8.19.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->"}}]}]
BACKPORT-->
2025-02-19 12:05:21 +01:00
Gerard Soldevila
b2b8cfa1c4
[8.18] SKA: Unify kbn-management folders + storybook config (#211564) (#211691)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Unify &#x60;kbn-management&#x60; folders + storybook config
(#211564)](https://github.com/elastic/kibana/pull/211564)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-19T08:10:22Z","message":"SKA:
Unify `kbn-management` folders + storybook config (#211564)\n\n##
Summary\r\n\r\nAs part of the SKA, some groups of modules have been
broken-down and\r\nrelocated in different folders, negatively impacting
DX. This is the\r\ncase for `kbn-management` modules, that are spread
across:\r\n```\r\n- packages/kbn-management (storybook config)\r\n-
src/platform/packages/private/kbn-management\r\n-
src/platform/packages/shared/kbn-management\r\n```\r\n\r\nThe goal of
this PR is to unify them back
under\r\n`src/platform/packages/shared/kbn-management`.\r\nIn this
scenario, I believe the simplification is worth the trade off.\r\n\r\nCC
@elastic/kibana-management WDYT?\r\n\r\nCo-authored-by: Matthew Kime
<matt@mattki.me>","sha":"b2b3fa9a84034bf6a49a38ea3b434245582c7909","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Unify `kbn-management` folders + storybook
config","number":211564,"url":"https://github.com/elastic/kibana/pull/211564","mergeCommit":{"message":"SKA:
Unify `kbn-management` folders + storybook config (#211564)\n\n##
Summary\r\n\r\nAs part of the SKA, some groups of modules have been
broken-down and\r\nrelocated in different folders, negatively impacting
DX. This is the\r\ncase for `kbn-management` modules, that are spread
across:\r\n```\r\n- packages/kbn-management (storybook config)\r\n-
src/platform/packages/private/kbn-management\r\n-
src/platform/packages/shared/kbn-management\r\n```\r\n\r\nThe goal of
this PR is to unify them back
under\r\n`src/platform/packages/shared/kbn-management`.\r\nIn this
scenario, I believe the simplification is worth the trade off.\r\n\r\nCC
@elastic/kibana-management WDYT?\r\n\r\nCo-authored-by: Matthew Kime
<matt@mattki.me>","sha":"b2b3fa9a84034bf6a49a38ea3b434245582c7909"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211564","number":211564,"mergeCommit":{"message":"SKA:
Unify `kbn-management` folders + storybook config (#211564)\n\n##
Summary\r\n\r\nAs part of the SKA, some groups of modules have been
broken-down and\r\nrelocated in different folders, negatively impacting
DX. This is the\r\ncase for `kbn-management` modules, that are spread
across:\r\n```\r\n- packages/kbn-management (storybook config)\r\n-
src/platform/packages/private/kbn-management\r\n-
src/platform/packages/shared/kbn-management\r\n```\r\n\r\nThe goal of
this PR is to unify them back
under\r\n`src/platform/packages/shared/kbn-management`.\r\nIn this
scenario, I believe the simplification is worth the trade off.\r\n\r\nCC
@elastic/kibana-management WDYT?\r\n\r\nCo-authored-by: Matthew Kime
<matt@mattki.me>","sha":"b2b3fa9a84034bf6a49a38ea3b434245582c7909"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-02-19 11:42:43 +01:00
Gerard Soldevila
e25318f13a
[8.18] SKA: Unify serverless modules + storybook config (#211570) (#211694)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Unify `serverless` modules + storybook config
(#211570)](https://github.com/elastic/kibana/pull/211570)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-19T08:10:35Z","message":"SKA:
Unify `serverless` modules + storybook config (#211570)\n\n##
Summary\r\n\r\nAs part of the SKA, some groups of modules have been
broken-down and\r\nrelocated in different folders, negatively impacting
DX. This is the\r\ncase for `serverless` modules, that are spread
across:\r\n```\r\n- packages/serverless # storybook config\r\n-
src/platform/packages/private/serverless\r\n-
src/platform/packages/shared/serverless\r\n```\r\n\r\nThe goal of this
PR is to unify them back
under\r\n`src/platform/packages/shared/severless`.\r\nIn this scenario,
I believe the simplification is worth the trade off.\r\n\r\nCC
@elastic/kibana-management @elastic/appex-sharedux
WDYT?\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8f7f6a7a81dd25d529b1d87c882f49afbe7bdf99","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","v9.0.0","Team:SharedUX","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Unify `serverless` modules + storybook
config","number":211570,"url":"https://github.com/elastic/kibana/pull/211570","mergeCommit":{"message":"SKA:
Unify `serverless` modules + storybook config (#211570)\n\n##
Summary\r\n\r\nAs part of the SKA, some groups of modules have been
broken-down and\r\nrelocated in different folders, negatively impacting
DX. This is the\r\ncase for `serverless` modules, that are spread
across:\r\n```\r\n- packages/serverless # storybook config\r\n-
src/platform/packages/private/serverless\r\n-
src/platform/packages/shared/serverless\r\n```\r\n\r\nThe goal of this
PR is to unify them back
under\r\n`src/platform/packages/shared/severless`.\r\nIn this scenario,
I believe the simplification is worth the trade off.\r\n\r\nCC
@elastic/kibana-management @elastic/appex-sharedux
WDYT?\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8f7f6a7a81dd25d529b1d87c882f49afbe7bdf99"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211570","number":211570,"mergeCommit":{"message":"SKA:
Unify `serverless` modules + storybook config (#211570)\n\n##
Summary\r\n\r\nAs part of the SKA, some groups of modules have been
broken-down and\r\nrelocated in different folders, negatively impacting
DX. This is the\r\ncase for `serverless` modules, that are spread
across:\r\n```\r\n- packages/serverless # storybook config\r\n-
src/platform/packages/private/serverless\r\n-
src/platform/packages/shared/serverless\r\n```\r\n\r\nThe goal of this
PR is to unify them back
under\r\n`src/platform/packages/shared/severless`.\r\nIn this scenario,
I believe the simplification is worth the trade off.\r\n\r\nCC
@elastic/kibana-management @elastic/appex-sharedux
WDYT?\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8f7f6a7a81dd25d529b1d87c882f49afbe7bdf99"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-02-19 11:40:42 +01:00
Tiago Costa
c7f893aebd
[8.18] chore(NA): upgrade to webpack 5 (#191106) (#211147)
# Backport

This will backport the following commits from `main` to `8.18`:
- [chore(NA): upgrade to webpack 5
(#191106)](https://github.com/elastic/kibana/pull/191106)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T03:01:36Z","message":"chore(NA):
upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes
#89741\r\n\r\nThis PR contains the resulting work of a massive effort
that ports our\r\non top bundler abstraction (called @kbn/optimizer)
from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term
maintenance since v4\r\nwas not receiving updates any longer but will
also unblock some new\r\nfeatures that could be beneficial for our
future DevEx endeavours.\r\n\r\nNext you can find a small list of all
the accomplished tasks on this\r\njourney.\r\n\r\n### Completed
Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n-
[x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix
file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix
`@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt
previous webpack v4 polyfill-all strategy
with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on
@kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options
on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest
resolver for file-loader cases\r\n- [x] Migrate public-path loader on
UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate
BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x]
Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate
BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work
(--profile flag)\r\n- [x] Recover if possible the previous webpack v4
cacheGroup chunks\r\nrename to something like
`data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our
first green CI, otherwise work\r\non the errors until we do\r\n- [x]
Profile and solve bottlenecks until we get a cold build\r\nperformance
similar to the one we had on webpack v4
(`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x]
OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n`
flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing
`NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin))
and\r\nadd each polyfill needed individually per each webpack config to
check\r\nif we get smaller bundles. If we do it's better to go with the
case by\r\ncase need approach instead of deploying a bunch of polyfills
with\r\nNodePolyfillPlugin. As another alternative, create a custom
smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x]
Evaluate if we want to touch the resolutions on mainFields
and\r\nconditionNames\r\n- [x] Understand why `@import
'src/core/public/mixins'` does not work\r\nanymore (not a problem, we
should use relative paths anyway but we want\r\nto track why it changed
from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden
and/or changed from\r\nerror to warning\r\n- [x] Fix license check
for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is
the\r\nlicense
for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis
package is a dependency
of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic
2.0 license is [classified
as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand
should only be used for dev dependencies.\r\n- [x] Make sure
`resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack
configs like storybook one\r\n- [x] Find what is being wrongly removed
by usedExports optimization;\r\nhint: I believe it is identifying a lot
of exports inside the sync entry\r\nof plugins as unused exports and
removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x]
Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue
to fix
sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345)
or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse
rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console
override is needed\r\n- [x] Confirm react prod builds on ui shared deps
for distributable\r\n- [x] Remove customization
for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack
configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics
from stats are still aligned with what\r\nwe were collecting before;
also verify if the modules used for optimizer\r\ncaches etc are well
generated (@kbn/node-libs-browser)\r\n- [x] Fix watch
performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Brad White
<brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","Team:Fleet","v9.0.0","backport:all-open","ci:build-webpack-bundle-analyzer","Team:obs-ux-infra_services","v9.1.0"],"title":"chore(NA):
upgrade to webpack
5","number":191106,"url":"https://github.com/elastic/kibana/pull/191106","mergeCommit":{"message":"chore(NA):
upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes
#89741\r\n\r\nThis PR contains the resulting work of a massive effort
that ports our\r\non top bundler abstraction (called @kbn/optimizer)
from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term
maintenance since v4\r\nwas not receiving updates any longer but will
also unblock some new\r\nfeatures that could be beneficial for our
future DevEx endeavours.\r\n\r\nNext you can find a small list of all
the accomplished tasks on this\r\njourney.\r\n\r\n### Completed
Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n-
[x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix
file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix
`@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt
previous webpack v4 polyfill-all strategy
with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on
@kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options
on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest
resolver for file-loader cases\r\n- [x] Migrate public-path loader on
UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate
BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x]
Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate
BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work
(--profile flag)\r\n- [x] Recover if possible the previous webpack v4
cacheGroup chunks\r\nrename to something like
`data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our
first green CI, otherwise work\r\non the errors until we do\r\n- [x]
Profile and solve bottlenecks until we get a cold build\r\nperformance
similar to the one we had on webpack v4
(`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x]
OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n`
flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing
`NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin))
and\r\nadd each polyfill needed individually per each webpack config to
check\r\nif we get smaller bundles. If we do it's better to go with the
case by\r\ncase need approach instead of deploying a bunch of polyfills
with\r\nNodePolyfillPlugin. As another alternative, create a custom
smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x]
Evaluate if we want to touch the resolutions on mainFields
and\r\nconditionNames\r\n- [x] Understand why `@import
'src/core/public/mixins'` does not work\r\nanymore (not a problem, we
should use relative paths anyway but we want\r\nto track why it changed
from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden
and/or changed from\r\nerror to warning\r\n- [x] Fix license check
for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is
the\r\nlicense
for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis
package is a dependency
of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic
2.0 license is [classified
as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand
should only be used for dev dependencies.\r\n- [x] Make sure
`resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack
configs like storybook one\r\n- [x] Find what is being wrongly removed
by usedExports optimization;\r\nhint: I believe it is identifying a lot
of exports inside the sync entry\r\nof plugins as unused exports and
removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x]
Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue
to fix
sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345)
or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse
rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console
override is needed\r\n- [x] Confirm react prod builds on ui shared deps
for distributable\r\n- [x] Remove customization
for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack
configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics
from stats are still aligned with what\r\nwe were collecting before;
also verify if the modules used for optimizer\r\ncaches etc are well
generated (@kbn/node-libs-browser)\r\n- [x] Fix watch
performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Brad White
<brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211145","number":211145,"state":"OPEN"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191106","number":191106,"mergeCommit":{"message":"chore(NA):
upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes
#89741\r\n\r\nThis PR contains the resulting work of a massive effort
that ports our\r\non top bundler abstraction (called @kbn/optimizer)
from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term
maintenance since v4\r\nwas not receiving updates any longer but will
also unblock some new\r\nfeatures that could be beneficial for our
future DevEx endeavours.\r\n\r\nNext you can find a small list of all
the accomplished tasks on this\r\njourney.\r\n\r\n### Completed
Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n-
[x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix
file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix
`@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt
previous webpack v4 polyfill-all strategy
with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on
@kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options
on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest
resolver for file-loader cases\r\n- [x] Migrate public-path loader on
UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate
BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x]
Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate
BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work
(--profile flag)\r\n- [x] Recover if possible the previous webpack v4
cacheGroup chunks\r\nrename to something like
`data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our
first green CI, otherwise work\r\non the errors until we do\r\n- [x]
Profile and solve bottlenecks until we get a cold build\r\nperformance
similar to the one we had on webpack v4
(`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x]
OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n`
flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing
`NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin))
and\r\nadd each polyfill needed individually per each webpack config to
check\r\nif we get smaller bundles. If we do it's better to go with the
case by\r\ncase need approach instead of deploying a bunch of polyfills
with\r\nNodePolyfillPlugin. As another alternative, create a custom
smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x]
Evaluate if we want to touch the resolutions on mainFields
and\r\nconditionNames\r\n- [x] Understand why `@import
'src/core/public/mixins'` does not work\r\nanymore (not a problem, we
should use relative paths anyway but we want\r\nto track why it changed
from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden
and/or changed from\r\nerror to warning\r\n- [x] Fix license check
for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is
the\r\nlicense
for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis
package is a dependency
of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic
2.0 license is [classified
as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand
should only be used for dev dependencies.\r\n- [x] Make sure
`resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack
configs like storybook one\r\n- [x] Find what is being wrongly removed
by usedExports optimization;\r\nhint: I believe it is identifying a lot
of exports inside the sync entry\r\nof plugins as unused exports and
removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x]
Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue
to fix
sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345)
or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse
rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console
override is needed\r\n- [x] Confirm react prod builds on ui shared deps
for distributable\r\n- [x] Remove customization
for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack
configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics
from stats are still aligned with what\r\nwe were collecting before;
also verify if the modules used for optimizer\r\ncaches etc are well
generated (@kbn/node-libs-browser)\r\n- [x] Fix watch
performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Brad White
<brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1"}},{"url":"https://github.com/elastic/kibana/pull/211146","number":211146,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-14 13:36:18 +00:00
Gerard Soldevila
144ccad614
[8.18] SKA: Follow-up relocations (#209477) (#210507)
# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Follow-up relocations
(#209477)](https://github.com/elastic/kibana/pull/209477)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-05T18:53:36Z","message":"SKA:
Follow-up relocations (#209477)\n\n## Summary\r\n\r\n* Categorise and
move `@kbn/timelines-plugin` as _platform/shared_,\r\ntarget location:
`x-pack/platform/plugins/shared/timelines`.\r\nThis helps reduce the
scope of the illegal dependencies from `osquery`\r\nplugin towards
_security/private_ code.\r\ncc @tomsonpl \r\n\r\n* Simplify path and
rename
`@kbn/observability-alerting-rule-utils`\r\n(platform/shared):\r\n```\r\n#
Before
\r\n@kbn/observability-alerting-rule-utils\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/\r\n\r\n#
After\r\n@kbn/alerting-rule-utils\r\nx-pack/platform/packages/shared/alerting_rule_utils/\r\n```\r\n\r\n*
Simplify path and rename
`@kbn/observability-logs-overview`\r\n(platform/shared):\r\n```\r\n#
Before
\r\n@kbn/observability-logs-overview\r\nx-pack/platform/packages/shared/observability/logs_overview/\r\n\r\n#
After\r\n@kbn/logs-overview\r\nx-pack/platform/packages/shared/logs_overview/\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7b1c74a7a85c1e07449ab92dac7e4b62ad1b8f4b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport
missing","backport:prev-minor","backport:prev-major","Team:obs-ux-management","v9.1.0"],"title":"SKA:
Follow-up
relocations","number":209477,"url":"https://github.com/elastic/kibana/pull/209477","mergeCommit":{"message":"SKA:
Follow-up relocations (#209477)\n\n## Summary\r\n\r\n* Categorise and
move `@kbn/timelines-plugin` as _platform/shared_,\r\ntarget location:
`x-pack/platform/plugins/shared/timelines`.\r\nThis helps reduce the
scope of the illegal dependencies from `osquery`\r\nplugin towards
_security/private_ code.\r\ncc @tomsonpl \r\n\r\n* Simplify path and
rename
`@kbn/observability-alerting-rule-utils`\r\n(platform/shared):\r\n```\r\n#
Before
\r\n@kbn/observability-alerting-rule-utils\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/\r\n\r\n#
After\r\n@kbn/alerting-rule-utils\r\nx-pack/platform/packages/shared/alerting_rule_utils/\r\n```\r\n\r\n*
Simplify path and rename
`@kbn/observability-logs-overview`\r\n(platform/shared):\r\n```\r\n#
Before
\r\n@kbn/observability-logs-overview\r\nx-pack/platform/packages/shared/observability/logs_overview/\r\n\r\n#
After\r\n@kbn/logs-overview\r\nx-pack/platform/packages/shared/logs_overview/\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7b1c74a7a85c1e07449ab92dac7e4b62ad1b8f4b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209477","number":209477,"mergeCommit":{"message":"SKA:
Follow-up relocations (#209477)\n\n## Summary\r\n\r\n* Categorise and
move `@kbn/timelines-plugin` as _platform/shared_,\r\ntarget location:
`x-pack/platform/plugins/shared/timelines`.\r\nThis helps reduce the
scope of the illegal dependencies from `osquery`\r\nplugin towards
_security/private_ code.\r\ncc @tomsonpl \r\n\r\n* Simplify path and
rename
`@kbn/observability-alerting-rule-utils`\r\n(platform/shared):\r\n```\r\n#
Before
\r\n@kbn/observability-alerting-rule-utils\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/\r\n\r\n#
After\r\n@kbn/alerting-rule-utils\r\nx-pack/platform/packages/shared/alerting_rule_utils/\r\n```\r\n\r\n*
Simplify path and rename
`@kbn/observability-logs-overview`\r\n(platform/shared):\r\n```\r\n#
Before
\r\n@kbn/observability-logs-overview\r\nx-pack/platform/packages/shared/observability/logs_overview/\r\n\r\n#
After\r\n@kbn/logs-overview\r\nx-pack/platform/packages/shared/logs_overview/\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7b1c74a7a85c1e07449ab92dac7e4b62ad1b8f4b"}}]}]
BACKPORT-->
2025-02-11 15:00:11 +01:00
Kibana Machine
21be57694c
[8.18] [Security Solution] Adds ownership to the common API tasks on Cypress (#209303) (#209396)
# Backport

This will backport the following commits from `main` to `8.18`:
- [[Security Solution] Adds ownership to the common API tasks on Cypress
(#209303)](https://github.com/elastic/kibana/pull/209303)

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

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

<!--BACKPORT [{"author":{"name":"Gloria
Hornero","email":"gloria.hornero@elastic.co"},"sourceCommit":{"committedDate":"2025-02-03T18:27:01Z","message":"[Security
Solution] Adds ownership to the common API tasks on Cypress
(#209303)\n\n## Summary\r\n\r\nThe other day when the
https://github.com/elastic/kibana/pull/208546 was\r\nopened, no required
review was triggered for the changes
in\r\n`x-pack/test/security_solution_cypress/cypress/tasks/api_calls/common.ts`.\r\n\r\nThis
is a problem, since any change in that file can have a huge impact\r\nin
the overall Cypress test suite.\r\n\r\nIn this PR we are adding security
engineering productivity as owners of\r\nthat file to make sure that
changes there are properly
reviewed.","sha":"802fdf0cf2e6d80044cd139696d9da63a07733a2","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","Team:
Sec Eng Productivity","v8.18.0","v9.1.0"],"title":"[Security Solution]
Adds ownership to the common API tasks on
Cypress","number":209303,"url":"https://github.com/elastic/kibana/pull/209303","mergeCommit":{"message":"[Security
Solution] Adds ownership to the common API tasks on Cypress
(#209303)\n\n## Summary\r\n\r\nThe other day when the
https://github.com/elastic/kibana/pull/208546 was\r\nopened, no required
review was triggered for the changes
in\r\n`x-pack/test/security_solution_cypress/cypress/tasks/api_calls/common.ts`.\r\n\r\nThis
is a problem, since any change in that file can have a huge impact\r\nin
the overall Cypress test suite.\r\n\r\nIn this PR we are adding security
engineering productivity as owners of\r\nthat file to make sure that
changes there are properly
reviewed.","sha":"802fdf0cf2e6d80044cd139696d9da63a07733a2"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209303","number":209303,"mergeCommit":{"message":"[Security
Solution] Adds ownership to the common API tasks on Cypress
(#209303)\n\n## Summary\r\n\r\nThe other day when the
https://github.com/elastic/kibana/pull/208546 was\r\nopened, no required
review was triggered for the changes
in\r\n`x-pack/test/security_solution_cypress/cypress/tasks/api_calls/common.ts`.\r\n\r\nThis
is a problem, since any change in that file can have a huge impact\r\nin
the overall Cypress test suite.\r\n\r\nIn this PR we are adding security
engineering productivity as owners of\r\nthat file to make sure that
changes there are properly
reviewed.","sha":"802fdf0cf2e6d80044cd139696d9da63a07733a2"}}]}]
BACKPORT-->

Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co>
2025-02-03 21:24:44 +01:00
Steph Milovic
7a3dd3e2d9
[8.18] [Security AI] Move security-ai-prompt to package (#208787) (#209196)
# Backport

This will backport the following commits from `main` to `8.18`:
- [[Security AI] Move &#x60;security-ai-prompt&#x60; to package
(#208787)](https://github.com/elastic/kibana/pull/208787)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-01-30T16:34:30Z","message":"[Security
AI] Move `security-ai-prompt` to package
(#208787)","sha":"b0a72e2b9086728d98f4176d1692741f4df62333","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:
SecuritySolution","backport:prev-minor","Team:Security Generative
AI","v8.18.0"],"title":"[Security AI] Move `security-ai-prompt` to
package","number":208787,"url":"https://github.com/elastic/kibana/pull/208787","mergeCommit":{"message":"[Security
AI] Move `security-ai-prompt` to package
(#208787)","sha":"b0a72e2b9086728d98f4176d1692741f4df62333"}},"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/208787","number":208787,"mergeCommit":{"message":"[Security
AI] Move `security-ai-prompt` to package
(#208787)","sha":"b0a72e2b9086728d98f4176d1692741f4df62333"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/208988","number":208988,"state":"MERGED","mergeCommit":{"sha":"1a0b65c0a571024a07a99d6464e8484a274d2f16","message":"[8.x]
[Security AI] Move `security-ai-prompt` to package (#208787)
(#208988)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[Security AI] Move &#x60;security-ai-prompt&#x60;
to
package\n(#208787)](https://github.com/elastic/kibana/pull/208787)\n\n<!---
Backport version: 9.6.4 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Steph\nMilovic\",\"email\":\"stephanie.milovic@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-01-30T16:34:30Z\",\"message\":\"[Security\nAI]
Move `security-ai-prompt` to
package\n(#208787)\",\"sha\":\"b0a72e2b9086728d98f4176d1692741f4df62333\",\"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:\nSecuritySolution\",\"backport:prev-minor\",\"Team:Security
Generative\nAI\",\"v8.18.0\"],\"title\":\"[Security AI] Move
`security-ai-prompt`
to\npackage\",\"number\":208787,\"url\":\"https://github.com/elastic/kibana/pull/208787\",\"mergeCommit\":{\"message\":\"[Security\nAI]
Move `security-ai-prompt` to
package\n(#208787)\",\"sha\":\"b0a72e2b9086728d98f4176d1692741f4df62333\"}},\"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/208787\",\"number\":208787,\"mergeCommit\":{\"message\":\"[Security\nAI]
Move `security-ai-prompt` to
package\n(#208787)\",\"sha\":\"b0a72e2b9086728d98f4176d1692741f4df62333\"}},{\"branch\":\"8.x\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v8.18.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine <elasticmachine@users.noreply.github.com>"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-02-03 01:02:13 +01:00
James Gowdy
958493f44f
[8.x] [ML] Adds simple flyout based file upload to Search (#206864) (#208887)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ML] Adds simple flyout based file upload to Search
(#206864)](https://github.com/elastic/kibana/pull/206864)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-01-29T23:35:12Z","message":"[ML]
Adds simple flyout based file upload to Search (#206864)\n\nA minimal
version of the file upload tool which can be triggered via
a\r\nuiAction.\r\nThe trigger takes a callback to enable subsequent
actions after the\r\nupload. This callback receives information about
the upload, the index\r\nand data view created and information about the
files:\r\n```\r\n{\r\n \"index\": \"test9\",\r\n \"dataView\": {\r\n
\"id\": \"a870ef68-a624-4df1-9d5d-fa62b75dd297\",\r\n \"title\":
\"\"\r\n },\r\n \"files\": [\r\n {\r\n \"fileName\":
\"farequote-tiny.csv\",\r\n \"docCount\": 20,\r\n \"fileFormat\":
\"delimited\"\r\n },\r\n {\r\n \"fileName\": \"farequote.csv\",\r\n
\"docCount\": 86275,\r\n \"fileFormat\": \"delimited\"\r\n }\r\n
]\r\n}\r\n```\r\n\r\nIf `autoAddInference` is set with the name of an
inference endpoint\r\n(`autoAddInference: '.elser-2-elasticsearch'`) the
tool with\r\nautomatically add a `semantic_text` to the mappings for
tika files (pdf,\r\ntxt docx)\r\n\r\nCurrently embedded in the search
app's home page and playground. In\r\nplaygroubnd, after upload is
complete and the flyout closed, the newly\r\ncreated index will be
selected.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0589fa02-fb0e-400b-8e74-1eb9a993c6ba\r\n\r\n\r\nMultiple
files can be uploaded at once. They must be of the same file\r\nformat
and the mappings cannot
clash.\r\n\r\n\r\n![image](a72408b0-7f33-4047-8351-90baa58d56a9)\r\n\r\n\r\nIf
more than once file has the same field but they are of
different\r\ntypes, the files are considered incompatible.\r\n\r\n<img
width=\"612\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/67307fd0-7d10-4eab-9e72-df133ebddcfe\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"70cd3cee7cb8cc643c97bb800f9863f8f77624d9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement",":ml","Feature:File
and Index Data Viz","Feature:File
Upload","v9.0.0","backport:version","v8.18.0"],"title":"[ML] Adds simple
flyout based file upload to Search
","number":206864,"url":"https://github.com/elastic/kibana/pull/206864","mergeCommit":{"message":"[ML]
Adds simple flyout based file upload to Search (#206864)\n\nA minimal
version of the file upload tool which can be triggered via
a\r\nuiAction.\r\nThe trigger takes a callback to enable subsequent
actions after the\r\nupload. This callback receives information about
the upload, the index\r\nand data view created and information about the
files:\r\n```\r\n{\r\n \"index\": \"test9\",\r\n \"dataView\": {\r\n
\"id\": \"a870ef68-a624-4df1-9d5d-fa62b75dd297\",\r\n \"title\":
\"\"\r\n },\r\n \"files\": [\r\n {\r\n \"fileName\":
\"farequote-tiny.csv\",\r\n \"docCount\": 20,\r\n \"fileFormat\":
\"delimited\"\r\n },\r\n {\r\n \"fileName\": \"farequote.csv\",\r\n
\"docCount\": 86275,\r\n \"fileFormat\": \"delimited\"\r\n }\r\n
]\r\n}\r\n```\r\n\r\nIf `autoAddInference` is set with the name of an
inference endpoint\r\n(`autoAddInference: '.elser-2-elasticsearch'`) the
tool with\r\nautomatically add a `semantic_text` to the mappings for
tika files (pdf,\r\ntxt docx)\r\n\r\nCurrently embedded in the search
app's home page and playground. In\r\nplaygroubnd, after upload is
complete and the flyout closed, the newly\r\ncreated index will be
selected.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0589fa02-fb0e-400b-8e74-1eb9a993c6ba\r\n\r\n\r\nMultiple
files can be uploaded at once. They must be of the same file\r\nformat
and the mappings cannot
clash.\r\n\r\n\r\n![image](a72408b0-7f33-4047-8351-90baa58d56a9)\r\n\r\n\r\nIf
more than once file has the same field but they are of
different\r\ntypes, the files are considered incompatible.\r\n\r\n<img
width=\"612\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/67307fd0-7d10-4eab-9e72-df133ebddcfe\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"70cd3cee7cb8cc643c97bb800f9863f8f77624d9"}},"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/206864","number":206864,"mergeCommit":{"message":"[ML]
Adds simple flyout based file upload to Search (#206864)\n\nA minimal
version of the file upload tool which can be triggered via
a\r\nuiAction.\r\nThe trigger takes a callback to enable subsequent
actions after the\r\nupload. This callback receives information about
the upload, the index\r\nand data view created and information about the
files:\r\n```\r\n{\r\n \"index\": \"test9\",\r\n \"dataView\": {\r\n
\"id\": \"a870ef68-a624-4df1-9d5d-fa62b75dd297\",\r\n \"title\":
\"\"\r\n },\r\n \"files\": [\r\n {\r\n \"fileName\":
\"farequote-tiny.csv\",\r\n \"docCount\": 20,\r\n \"fileFormat\":
\"delimited\"\r\n },\r\n {\r\n \"fileName\": \"farequote.csv\",\r\n
\"docCount\": 86275,\r\n \"fileFormat\": \"delimited\"\r\n }\r\n
]\r\n}\r\n```\r\n\r\nIf `autoAddInference` is set with the name of an
inference endpoint\r\n(`autoAddInference: '.elser-2-elasticsearch'`) the
tool with\r\nautomatically add a `semantic_text` to the mappings for
tika files (pdf,\r\ntxt docx)\r\n\r\nCurrently embedded in the search
app's home page and playground. In\r\nplaygroubnd, after upload is
complete and the flyout closed, the newly\r\ncreated index will be
selected.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0589fa02-fb0e-400b-8e74-1eb9a993c6ba\r\n\r\n\r\nMultiple
files can be uploaded at once. They must be of the same file\r\nformat
and the mappings cannot
clash.\r\n\r\n\r\n![image](a72408b0-7f33-4047-8351-90baa58d56a9)\r\n\r\n\r\nIf
more than once file has the same field but they are of
different\r\ntypes, the files are considered incompatible.\r\n\r\n<img
width=\"612\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/67307fd0-7d10-4eab-9e72-df133ebddcfe\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"70cd3cee7cb8cc643c97bb800f9863f8f77624d9"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-30 10:34:53 +00:00
Ignacio Rivas
1cf806f83a
[8.x] Add a warning callout when deleting managed assets (#207329) (#208491)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Add a warning callout when deleting managed assets
(#207329)](https://github.com/elastic/kibana/pull/207329)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Ignacio
Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2025-01-28T08:46:58Z","message":"Add
a warning callout when deleting managed assets
(#207329)","sha":"c8bd387668ed3e6fe0fd71ec9cfbc5be58bbfc5c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana
Management","release_note:skip","v9.0.0","Feature:Ingest Node
Pipelines","backport:prev-minor"],"title":"Add a warning callout when
deleting managed
assets","number":207329,"url":"https://github.com/elastic/kibana/pull/207329","mergeCommit":{"message":"Add
a warning callout when deleting managed assets
(#207329)","sha":"c8bd387668ed3e6fe0fd71ec9cfbc5be58bbfc5c"}},"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/207329","number":207329,"mergeCommit":{"message":"Add
a warning callout when deleting managed assets
(#207329)","sha":"c8bd387668ed3e6fe0fd71ec9cfbc5be58bbfc5c"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-30 10:25:39 +00:00
Davis McPhee
c40c6d69c1
[8.x] [Discover] In-table search (#206454) (#208868)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Discover] In-table search
(#206454)](https://github.com/elastic/kibana/pull/206454)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2025-01-29T23:52:07Z","message":"[Discover]
In-table search (#206454)\n\n- Closes
https://github.com/elastic/kibana/issues/192360\r\n\r\n##
Summary\r\n\r\nThe default browser Find-in-page does not work great with
the grid\r\nvirtualization and our pagination and it can only find
matches in rows\r\nwhich are currently displayed.\r\n\r\nThis PR adds
in-table search support to the grid so users can find\r\nmatches in all
grid rows (up to `500` sample docs/rows by default) and\r\njump between
them with \"Previous\"/\"Next\"
buttons.\r\n\r\n![Jan-24-2025\r\n22-03-54](https://github.com/user-attachments/assets/95b31fb8-4740-4c5f-ba91-8e1c19066e02)\r\n\r\nThe
implementation is extracted in a new
package\r\n`@kbn/data-grid-in-table-search`. This would allow to use
in-table\r\nsearch with `EuiDataGrid` on other pages of Kibana
too.\r\n\r\n`Cmd+F` shortcut is overridden when one of grid elements is
in focus\r\notherwise we keep the browser default behaviour.\r\n\r\n###
Checklist\r\n\r\n- [x] 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/src/platform/packages/shared/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- [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- [ ] 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- [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>\r\nCo-authored-by:
florent-leborgne
<florent.leborgne@elastic.co>","sha":"8ffb2ff62830655587d2b91e295b5d76fc86806e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","release_note:feature","Team:DataDiscovery","backport:prev-minor","Project:OneDiscover"],"title":"[Discover]
In-table
search","number":206454,"url":"https://github.com/elastic/kibana/pull/206454","mergeCommit":{"message":"[Discover]
In-table search (#206454)\n\n- Closes
https://github.com/elastic/kibana/issues/192360\r\n\r\n##
Summary\r\n\r\nThe default browser Find-in-page does not work great with
the grid\r\nvirtualization and our pagination and it can only find
matches in rows\r\nwhich are currently displayed.\r\n\r\nThis PR adds
in-table search support to the grid so users can find\r\nmatches in all
grid rows (up to `500` sample docs/rows by default) and\r\njump between
them with \"Previous\"/\"Next\"
buttons.\r\n\r\n![Jan-24-2025\r\n22-03-54](https://github.com/user-attachments/assets/95b31fb8-4740-4c5f-ba91-8e1c19066e02)\r\n\r\nThe
implementation is extracted in a new
package\r\n`@kbn/data-grid-in-table-search`. This would allow to use
in-table\r\nsearch with `EuiDataGrid` on other pages of Kibana
too.\r\n\r\n`Cmd+F` shortcut is overridden when one of grid elements is
in focus\r\notherwise we keep the browser default behaviour.\r\n\r\n###
Checklist\r\n\r\n- [x] 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/src/platform/packages/shared/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- [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- [ ] 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- [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>\r\nCo-authored-by:
florent-leborgne
<florent.leborgne@elastic.co>","sha":"8ffb2ff62830655587d2b91e295b5d76fc86806e"}},"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/206454","number":206454,"mergeCommit":{"message":"[Discover]
In-table search (#206454)\n\n- Closes
https://github.com/elastic/kibana/issues/192360\r\n\r\n##
Summary\r\n\r\nThe default browser Find-in-page does not work great with
the grid\r\nvirtualization and our pagination and it can only find
matches in rows\r\nwhich are currently displayed.\r\n\r\nThis PR adds
in-table search support to the grid so users can find\r\nmatches in all
grid rows (up to `500` sample docs/rows by default) and\r\njump between
them with \"Previous\"/\"Next\"
buttons.\r\n\r\n![Jan-24-2025\r\n22-03-54](https://github.com/user-attachments/assets/95b31fb8-4740-4c5f-ba91-8e1c19066e02)\r\n\r\nThe
implementation is extracted in a new
package\r\n`@kbn/data-grid-in-table-search`. This would allow to use
in-table\r\nsearch with `EuiDataGrid` on other pages of Kibana
too.\r\n\r\n`Cmd+F` shortcut is overridden when one of grid elements is
in focus\r\notherwise we keep the browser default behaviour.\r\n\r\n###
Checklist\r\n\r\n- [x] 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/src/platform/packages/shared/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- [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- [ ] 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- [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>\r\nCo-authored-by:
florent-leborgne
<florent.leborgne@elastic.co>","sha":"8ffb2ff62830655587d2b91e295b5d76fc86806e"}}]}]
BACKPORT-->

---------

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-30 09:16:33 +01:00
Larry Gregory
24f82ee808
[8.x] Additional prototype pollution protections (#206073) (#208742)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Additional prototype pollution protections
(#206073)](https://github.com/elastic/kibana/pull/206073)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Larry
Gregory","email":"larry.gregory@elastic.co"},"sourceCommit":{"committedDate":"2025-01-28T22:00:43Z","message":"Additional
prototype pollution protections (#206073)\n\n## Summary\n\n1. Extends
the server-side prototype pollution protections introduced
in\nhttps://github.com/elastic/kibana/pull/190716 to
include\n`Array.prototype`.\n2. Applies the same prototype pollution
protections to the client-side.\n\n\n### Identify risks\n\nDoes this PR
introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ]
Sealing prototypes on the client can lead to failures in\nthird-party
dependencies. I'm relying on sufficient functional test\ncoverage to
detect issues here. As a result, these protections are\ndisabled by
default for now, and can be controlled via
setting\n`server.prototypeHardening:
true/false`\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"9ce2dd8df9f2bd6c0ba1d089b69ddfd7fc1f4a02","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","Feature:Hardening","v9.0.0","backport:prev-minor","ci:cloud-deploy","ci:project-deploy-elasticsearch","ci:all-gen-ai-suites"],"title":"Additional
prototype pollution
protections","number":206073,"url":"https://github.com/elastic/kibana/pull/206073","mergeCommit":{"message":"Additional
prototype pollution protections (#206073)\n\n## Summary\n\n1. Extends
the server-side prototype pollution protections introduced
in\nhttps://github.com/elastic/kibana/pull/190716 to
include\n`Array.prototype`.\n2. Applies the same prototype pollution
protections to the client-side.\n\n\n### Identify risks\n\nDoes this PR
introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ]
Sealing prototypes on the client can lead to failures in\nthird-party
dependencies. I'm relying on sufficient functional test\ncoverage to
detect issues here. As a result, these protections are\ndisabled by
default for now, and can be controlled via
setting\n`server.prototypeHardening:
true/false`\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"9ce2dd8df9f2bd6c0ba1d089b69ddfd7fc1f4a02"}},"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/206073","number":206073,"mergeCommit":{"message":"Additional
prototype pollution protections (#206073)\n\n## Summary\n\n1. Extends
the server-side prototype pollution protections introduced
in\nhttps://github.com/elastic/kibana/pull/190716 to
include\n`Array.prototype`.\n2. Applies the same prototype pollution
protections to the client-side.\n\n\n### Identify risks\n\nDoes this PR
introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ]
Sealing prototypes on the client can lead to failures in\nthird-party
dependencies. I'm relying on sufficient functional test\ncoverage to
detect issues here. As a result, these protections are\ndisabled by
default for now, and can be controlled via
setting\n`server.prototypeHardening:
true/false`\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"9ce2dd8df9f2bd6c0ba1d089b69ddfd7fc1f4a02"}}]}]
BACKPORT-->
2025-01-29 15:08:04 -05:00
Gerard Soldevila
28ca7d52d3
[8.x] SKA: Relocate core mock and test-helper modules (#208538) (#208725)
# Backport

This will backport the following commits from `main` to `8.x`:
- [SKA: Relocate core mock and test-helper modules
(#208538)](https://github.com/elastic/kibana/pull/208538)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-01-29T11:14:44Z","message":"SKA:
Relocate core mock and test-helper modules (#208538)\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####
55 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/core-analytics-browser-mocks`
|\r\n`src/core/packages/analytics/browser-mocks` |\r\n|
`@kbn/core-analytics-server-mocks`
|\r\n`src/core/packages/analytics/server-mocks` |\r\n|
`@kbn/core-application-browser-mocks`
|\r\n`src/core/packages/application/browser-mocks` |\r\n|
`@kbn/core-apps-browser-mocks`
|\r\n`src/core/packages/apps/browser-mocks` |\r\n|
`@kbn/core-base-browser-mocks`
|\r\n`src/core/packages/base/browser-mocks` |\r\n|
`@kbn/core-base-server-mocks` |
`src/core/packages/base/server-mocks`\r\n|\r\n|
`@kbn/core-capabilities-browser-mocks`
|\r\n`src/core/packages/capabilities/browser-mocks` |\r\n|
`@kbn/core-capabilities-server-mocks`
|\r\n`src/core/packages/capabilities/server-mocks` |\r\n|
`@kbn/core-chrome-browser-mocks`
|\r\n`src/core/packages/chrome/browser-mocks` |\r\n|
`@kbn/core-deprecations-browser-mocks`
|\r\n`src/core/packages/deprecations/browser-mocks` |\r\n|
`@kbn/core-deprecations-server-mocks`
|\r\n`src/core/packages/deprecations/server-mocks` |\r\n|
`@kbn/core-doc-links-browser-mocks`
|\r\n`src/core/packages/doc-links/browser-mocks` |\r\n|
`@kbn/core-doc-links-server-mocks`
|\r\n`src/core/packages/doc-links/server-mocks` |\r\n|
`@kbn/core-elasticsearch-client-server-mocks`
|\r\n`src/core/packages/elasticsearch/client-server-mocks` |\r\n|
`@kbn/core-elasticsearch-server-mocks`
|\r\n`src/core/packages/elasticsearch/server-mocks` |\r\n|
`@kbn/core-environment-server-mocks`
|\r\n`src/core/packages/environment/server-mocks` |\r\n|
`@kbn/core-execution-context-browser-mocks`
|\r\n`src/core/packages/execution-context/browser-mocks` |\r\n|
`@kbn/core-execution-context-server-mocks`
|\r\n`src/core/packages/execution-context/server-mocks` |\r\n|
`@kbn/core-fatal-errors-browser-mocks`
|\r\n`src/core/packages/fatal-errors/browser-mocks` |\r\n|
`@kbn/core-http-browser-mocks`
|\r\n`src/core/packages/http/browser-mocks` |\r\n|
`@kbn/core-http-context-server-mocks`
|\r\n`src/core/packages/http/context-server-mocks` |\r\n|
`@kbn/core-http-resources-server-mocks`
|\r\n`src/core/packages/http/resources-server-mocks` |\r\n|
`@kbn/core-http-router-server-mocks`
|\r\n`src/core/packages/http/router-server-mocks` |\r\n|
`@kbn/core-http-server-mocks` |
`src/core/packages/http/server-mocks`\r\n|\r\n|
`@kbn/core-i18n-browser-mocks`
|\r\n`src/core/packages/i18n/browser-mocks` |\r\n|
`@kbn/core-i18n-server-mocks` |
`src/core/packages/i18n/server-mocks`\r\n|\r\n|
`@kbn/core-injected-metadata-browser-mocks`
|\r\n`src/core/packages/injected-metadata/browser-mocks` |\r\n|
`@kbn/core-integrations-browser-mocks`
|\r\n`src/core/packages/integrations/browser-mocks` |\r\n|
`@kbn/core-lifecycle-browser-mocks`
|\r\n`src/core/packages/lifecycle/browser-mocks` |\r\n|
`@kbn/core-lifecycle-server-mocks`
|\r\n`src/core/packages/lifecycle/server-mocks` |\r\n|
`@kbn/core-logging-browser-mocks`
|\r\n`src/core/packages/logging/browser-mocks` |\r\n|
`@kbn/core-logging-server-mocks`
|\r\n`src/core/packages/logging/server-mocks` |\r\n|
`@kbn/core-metrics-collectors-server-mocks`
|\r\n`src/core/packages/metrics/collectors-server-mocks` |\r\n|
`@kbn/core-metrics-server-mocks`
|\r\n`src/core/packages/metrics/server-mocks` |\r\n|
`@kbn/core-node-server-mocks` |
`src/core/packages/node/server-mocks`\r\n|\r\n|
`@kbn/core-notifications-browser-mocks`
|\r\n`src/core/packages/notifications/browser-mocks` |\r\n|
`@kbn/core-overlays-browser-mocks`
|\r\n`src/core/packages/overlays/browser-mocks` |\r\n|
`@kbn/core-plugins-browser-mocks`
|\r\n`src/core/packages/plugins/browser-mocks` |\r\n|
`@kbn/core-plugins-server-mocks`
|\r\n`src/core/packages/plugins/server-mocks` |\r\n|
`@kbn/core-preboot-server-mocks`
|\r\n`src/core/packages/preboot/server-mocks` |\r\n|
`@kbn/core-rendering-browser-mocks`
|\r\n`src/core/packages/rendering/browser-mocks` |\r\n|
`@kbn/core-rendering-server-mocks`
|\r\n`src/core/packages/rendering/server-mocks` |\r\n|
`@kbn/core-saved-objects-api-server-mocks`
|\r\n`src/core/packages/saved-objects/api-server-mocks` |\r\n|
`@kbn/core-saved-objects-base-server-mocks`
|\r\n`src/core/packages/saved-objects/base-server-mocks` |\r\n|
`@kbn/core-saved-objects-browser-mocks`
|\r\n`src/core/packages/saved-objects/browser-mocks` |\r\n|
`@kbn/core-saved-objects-import-export-server-mocks`
|\r\n`src/core/packages/saved-objects/import-export-server-mocks` |\r\n|
`@kbn/core-saved-objects-migration-server-mocks`
|\r\n`src/core/packages/saved-objects/migration-server-mocks` |\r\n|
`@kbn/core-saved-objects-server-mocks`
|\r\n`src/core/packages/saved-objects/server-mocks` |\r\n|
`@kbn/core-status-server-mocks`
|\r\n`src/core/packages/status/server-mocks` |\r\n|
`@kbn/core-test-helpers-kbn-server`
|\r\n`src/dev/packages/core-test-helpers-kbn-server` |\r\n|
`@kbn/core-test-helpers-model-versions`
|\r\n`src/dev/packages/core-test-helpers-model-versions` |\r\n|
`@kbn/core-theme-browser-mocks`
|\r\n`src/core/packages/theme/browser-mocks` |\r\n|
`@kbn/core-ui-settings-browser-mocks`
|\r\n`src/core/packages/ui-settings/browser-mocks` |\r\n|
`@kbn/core-ui-settings-server-mocks`
|\r\n`src/core/packages/ui-settings/server-mocks` |\r\n|
`@kbn/core-usage-data-server-mocks`
|\r\n`src/core/packages/usage-data/server-mocks` |\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/codeql/codeql-config.yml\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/analytics/browser-mocks/jest.config.js\r\n./src/core/packages/analytics/server-mocks/jest.config.js\r\n./src/core/packages/application/browser-mocks/jest.config.js\r\n./src/core/packages/apps/browser-mocks/jest.config.js\r\n./src/core/packages/base/browser-mocks/jest.config.js\r\n./src/core/packages/base/server-mocks/jest.config.js\r\n./src/core/packages/capabilities/browser-mocks/jest.config.js\r\n./src/core/packages/capabilities/server-mocks/jest.config.js\r\n./src/core/packages/chrome/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/server-mocks/jest.config.js\r\n./src/core/packages/doc-links/browser-mocks/jest.config.js\r\n./src/core/packages/doc-links/server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/client-server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/server-mocks/jest.config.js\r\n./src/core/packages/environment/server-mocks/jest.config.js\r\n./src/core/packages/execution-context/browser-mocks/jest.config.js\r\n./src/core/packages/execution-context/server-mocks/jest.config.js\r\n./src/core/packages/fatal-errors/browser-mocks/jest.config.js\r\n./src/core/packages/http/browser-mocks/jest.config.js\r\n./src/core/packages/http/context-server-mocks/jest.config.js\r\n./src/core/packages/http/resources-server-mocks/jest.config.js\r\n./src/core/packages/http/router-server-mocks/jest.config.js\r\n./src/core/packages/http/server-mocks/jest.config.js\r\n./src/core/packages/i18n/browser-mocks/jest.config.js\r\n./src/core/packages/i18n/server-mocks/jest.config.js\r\n./src/core/packages/injected-metadata/browser-mocks/jest.config.js\r\n./src/core/packages/integrations/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/server-mocks/jest.config.js\r\n./src/core/packages/logging/browser-mocks/jest.config.js\r\n./src/core/packages/logging/server-mocks/jest.config.js\r\n./src/core/packages/metrics/collectors-server-mocks/jest.config.js\r\n./src/core/packages/metrics/server-mocks/jest.config.js\r\n./src/core/packages/node/server-mocks/jest.config.js\r\n./src/core/packages/notifications/browser-mocks/jest.config.js\r\n./src/core/packages/overlays/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/server-mocks/jest.config.js\r\n./src/core/packages/preboot/server-mocks/jest.config.js\r\n./src/core/packages/rendering/browser-mocks/jest.config.js\r\n./src/core/packages/rendering/server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/api-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/base-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/browser-mocks/jest.config.js\r\n./src/core/packages/saved-objects/import-export-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/migration-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/server-mocks/jest.config.js\r\n./src/core/packages/status/server-mocks/jest.config.js\r\n./src/core/packages/theme/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/server-mocks/jest.config.js\r\n./src/core/packages/usage-data/server-mocks/jest.config.js\r\n./src/core/system/tsconfig.type_check.json\r\n./src/dev/packages/core-test-helpers-kbn-server/jest.config.js\r\n./src/dev/packages/core-test-helpers-model-versions/jest.config.js\r\n./src/dev/tsconfig.type_check.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/plugins/private/interactive_setup/tsconfig.type_check.json\r\n./src/platform/plugins/shared/console/tsconfig.type_check.json\r\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\r\n./src/plugins/saved_objects_management/tsconfig.type_check.json\r\n./src/plugins/telemetry/tsconfig.type_check.json\r\n./src/plugins/usage_collection/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/platform/plugins/private/index_lifecycle_management/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/remote_clusters/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/snapshot_restore/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/watcher/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/security/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\r\n./x-pack/plugins/actions/tsconfig.type_check.json\r\n./x-pack/plugins/aiops/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/enterprise_search/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/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/apm_data_access/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/entity_manager/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/exploratory_view/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/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/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/stack_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/task_manager/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/security-solution/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/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/core/packages/analytics/browser-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/analytics/server-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/application/browser-mocks/jest.config.js:12\r\nsrc/core/packages/application/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/apps/browser-mocks/jest.config.js:12\r\nsrc/core/packages/apps/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/browser-mocks/jest.config.js:12\r\nsrc/core/packages/base/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/server-mocks/jest.config.js:12\r\nsrc/core/packages/base/server-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/browser-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/server-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/server-mocks/tsconfig.json:2\r\nsrc/core/packages/chrome/browser-mocks/jest.config.js:12\r\nsrc/core/packages/chrome/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/server-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/server-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/browser-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/server-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/client-server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/client-server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/server-mocks/tsconfig.json:2\r\nsrc/core/packages/environment/server-mocks/jest.config.js:12\r\nsrc/core/packages/environment/server-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/browser-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/server-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/server-mocks/tsconfig.json:2\r\nsrc/core/packages/fatal-errors/browser-mocks/jest.config.js:12\r\nsrc/core/packages/fatal-errors/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/browser-mocks/jest.config.js:12\r\nsrc/core/packages/http/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/context-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/context-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/resources-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/resources-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/router-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/router-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/server-mocks/jest.config.js:12\r\nsrc/core/packages/http/server-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/browser-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/server-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/server-mocks/tsconfig.json:2\r\nsrc/core/packages/injected-metadata/browser-mocks/jest.config.js:12\r\nsrc/core/packages/injected-metadata/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/integrations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/integrations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/browser-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/server-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/server-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/browser-mocks/jest.config.js:12\r\nsrc/core/packages/logging/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/server-mocks/jest.config.js:12\r\nsrc/core/packages/logging/server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/collectors-server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/collectors-server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/node/server-mocks/jest.config.js:12\r\nsrc/core/packages/node/server-mocks/tsconfig.json:2\r\nsrc/core/packages/notifications/browser-mocks/jest.config.js:12\r\nsrc/core/packages/notifications/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/overlays/browser-mocks/jest.config.js:12\r\nsrc/core/packages/overlays/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/browser-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/server-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/server-mocks/tsconfig.json:2\r\nsrc/core/packages/preboot/server-mocks/jest.config.js:12\r\nsrc/core/packages/preboot/server-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/browser-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/server-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/api-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/api-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/base-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/base-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/browser-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/import-export-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/import-export-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/migration-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/migration-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/server-mocks/tsconfig.json:2\r\nsrc/core/packages/status/server-mocks/jest.config.js:12\r\nsrc/core/packages/status/server-mocks/tsconfig.json:2\r\nsrc/core/packages/theme/browser-mocks/jest.config.js:12\r\nsrc/core/packages/theme/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-mocks/tsconfig.json:2\r\nsrc/core/packages/usage-data/server-mocks/jest.config.js:12\r\nsrc/core/packages/usage-data/server-mocks/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-kbn-server/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-kbn-server/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-model-versions/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-model-versions/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>\r\nCo-authored-by:
Alejandro Fernández Haro
<afharo@gmail.com>","sha":"4a00449bdcd699f89294536a86dffcbeab4daf53","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"],"title":"SKA:
Relocate core mock and test-helper
modules","number":208538,"url":"https://github.com/elastic/kibana/pull/208538","mergeCommit":{"message":"SKA:
Relocate core mock and test-helper modules (#208538)\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####
55 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/core-analytics-browser-mocks`
|\r\n`src/core/packages/analytics/browser-mocks` |\r\n|
`@kbn/core-analytics-server-mocks`
|\r\n`src/core/packages/analytics/server-mocks` |\r\n|
`@kbn/core-application-browser-mocks`
|\r\n`src/core/packages/application/browser-mocks` |\r\n|
`@kbn/core-apps-browser-mocks`
|\r\n`src/core/packages/apps/browser-mocks` |\r\n|
`@kbn/core-base-browser-mocks`
|\r\n`src/core/packages/base/browser-mocks` |\r\n|
`@kbn/core-base-server-mocks` |
`src/core/packages/base/server-mocks`\r\n|\r\n|
`@kbn/core-capabilities-browser-mocks`
|\r\n`src/core/packages/capabilities/browser-mocks` |\r\n|
`@kbn/core-capabilities-server-mocks`
|\r\n`src/core/packages/capabilities/server-mocks` |\r\n|
`@kbn/core-chrome-browser-mocks`
|\r\n`src/core/packages/chrome/browser-mocks` |\r\n|
`@kbn/core-deprecations-browser-mocks`
|\r\n`src/core/packages/deprecations/browser-mocks` |\r\n|
`@kbn/core-deprecations-server-mocks`
|\r\n`src/core/packages/deprecations/server-mocks` |\r\n|
`@kbn/core-doc-links-browser-mocks`
|\r\n`src/core/packages/doc-links/browser-mocks` |\r\n|
`@kbn/core-doc-links-server-mocks`
|\r\n`src/core/packages/doc-links/server-mocks` |\r\n|
`@kbn/core-elasticsearch-client-server-mocks`
|\r\n`src/core/packages/elasticsearch/client-server-mocks` |\r\n|
`@kbn/core-elasticsearch-server-mocks`
|\r\n`src/core/packages/elasticsearch/server-mocks` |\r\n|
`@kbn/core-environment-server-mocks`
|\r\n`src/core/packages/environment/server-mocks` |\r\n|
`@kbn/core-execution-context-browser-mocks`
|\r\n`src/core/packages/execution-context/browser-mocks` |\r\n|
`@kbn/core-execution-context-server-mocks`
|\r\n`src/core/packages/execution-context/server-mocks` |\r\n|
`@kbn/core-fatal-errors-browser-mocks`
|\r\n`src/core/packages/fatal-errors/browser-mocks` |\r\n|
`@kbn/core-http-browser-mocks`
|\r\n`src/core/packages/http/browser-mocks` |\r\n|
`@kbn/core-http-context-server-mocks`
|\r\n`src/core/packages/http/context-server-mocks` |\r\n|
`@kbn/core-http-resources-server-mocks`
|\r\n`src/core/packages/http/resources-server-mocks` |\r\n|
`@kbn/core-http-router-server-mocks`
|\r\n`src/core/packages/http/router-server-mocks` |\r\n|
`@kbn/core-http-server-mocks` |
`src/core/packages/http/server-mocks`\r\n|\r\n|
`@kbn/core-i18n-browser-mocks`
|\r\n`src/core/packages/i18n/browser-mocks` |\r\n|
`@kbn/core-i18n-server-mocks` |
`src/core/packages/i18n/server-mocks`\r\n|\r\n|
`@kbn/core-injected-metadata-browser-mocks`
|\r\n`src/core/packages/injected-metadata/browser-mocks` |\r\n|
`@kbn/core-integrations-browser-mocks`
|\r\n`src/core/packages/integrations/browser-mocks` |\r\n|
`@kbn/core-lifecycle-browser-mocks`
|\r\n`src/core/packages/lifecycle/browser-mocks` |\r\n|
`@kbn/core-lifecycle-server-mocks`
|\r\n`src/core/packages/lifecycle/server-mocks` |\r\n|
`@kbn/core-logging-browser-mocks`
|\r\n`src/core/packages/logging/browser-mocks` |\r\n|
`@kbn/core-logging-server-mocks`
|\r\n`src/core/packages/logging/server-mocks` |\r\n|
`@kbn/core-metrics-collectors-server-mocks`
|\r\n`src/core/packages/metrics/collectors-server-mocks` |\r\n|
`@kbn/core-metrics-server-mocks`
|\r\n`src/core/packages/metrics/server-mocks` |\r\n|
`@kbn/core-node-server-mocks` |
`src/core/packages/node/server-mocks`\r\n|\r\n|
`@kbn/core-notifications-browser-mocks`
|\r\n`src/core/packages/notifications/browser-mocks` |\r\n|
`@kbn/core-overlays-browser-mocks`
|\r\n`src/core/packages/overlays/browser-mocks` |\r\n|
`@kbn/core-plugins-browser-mocks`
|\r\n`src/core/packages/plugins/browser-mocks` |\r\n|
`@kbn/core-plugins-server-mocks`
|\r\n`src/core/packages/plugins/server-mocks` |\r\n|
`@kbn/core-preboot-server-mocks`
|\r\n`src/core/packages/preboot/server-mocks` |\r\n|
`@kbn/core-rendering-browser-mocks`
|\r\n`src/core/packages/rendering/browser-mocks` |\r\n|
`@kbn/core-rendering-server-mocks`
|\r\n`src/core/packages/rendering/server-mocks` |\r\n|
`@kbn/core-saved-objects-api-server-mocks`
|\r\n`src/core/packages/saved-objects/api-server-mocks` |\r\n|
`@kbn/core-saved-objects-base-server-mocks`
|\r\n`src/core/packages/saved-objects/base-server-mocks` |\r\n|
`@kbn/core-saved-objects-browser-mocks`
|\r\n`src/core/packages/saved-objects/browser-mocks` |\r\n|
`@kbn/core-saved-objects-import-export-server-mocks`
|\r\n`src/core/packages/saved-objects/import-export-server-mocks` |\r\n|
`@kbn/core-saved-objects-migration-server-mocks`
|\r\n`src/core/packages/saved-objects/migration-server-mocks` |\r\n|
`@kbn/core-saved-objects-server-mocks`
|\r\n`src/core/packages/saved-objects/server-mocks` |\r\n|
`@kbn/core-status-server-mocks`
|\r\n`src/core/packages/status/server-mocks` |\r\n|
`@kbn/core-test-helpers-kbn-server`
|\r\n`src/dev/packages/core-test-helpers-kbn-server` |\r\n|
`@kbn/core-test-helpers-model-versions`
|\r\n`src/dev/packages/core-test-helpers-model-versions` |\r\n|
`@kbn/core-theme-browser-mocks`
|\r\n`src/core/packages/theme/browser-mocks` |\r\n|
`@kbn/core-ui-settings-browser-mocks`
|\r\n`src/core/packages/ui-settings/browser-mocks` |\r\n|
`@kbn/core-ui-settings-server-mocks`
|\r\n`src/core/packages/ui-settings/server-mocks` |\r\n|
`@kbn/core-usage-data-server-mocks`
|\r\n`src/core/packages/usage-data/server-mocks` |\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/codeql/codeql-config.yml\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/analytics/browser-mocks/jest.config.js\r\n./src/core/packages/analytics/server-mocks/jest.config.js\r\n./src/core/packages/application/browser-mocks/jest.config.js\r\n./src/core/packages/apps/browser-mocks/jest.config.js\r\n./src/core/packages/base/browser-mocks/jest.config.js\r\n./src/core/packages/base/server-mocks/jest.config.js\r\n./src/core/packages/capabilities/browser-mocks/jest.config.js\r\n./src/core/packages/capabilities/server-mocks/jest.config.js\r\n./src/core/packages/chrome/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/server-mocks/jest.config.js\r\n./src/core/packages/doc-links/browser-mocks/jest.config.js\r\n./src/core/packages/doc-links/server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/client-server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/server-mocks/jest.config.js\r\n./src/core/packages/environment/server-mocks/jest.config.js\r\n./src/core/packages/execution-context/browser-mocks/jest.config.js\r\n./src/core/packages/execution-context/server-mocks/jest.config.js\r\n./src/core/packages/fatal-errors/browser-mocks/jest.config.js\r\n./src/core/packages/http/browser-mocks/jest.config.js\r\n./src/core/packages/http/context-server-mocks/jest.config.js\r\n./src/core/packages/http/resources-server-mocks/jest.config.js\r\n./src/core/packages/http/router-server-mocks/jest.config.js\r\n./src/core/packages/http/server-mocks/jest.config.js\r\n./src/core/packages/i18n/browser-mocks/jest.config.js\r\n./src/core/packages/i18n/server-mocks/jest.config.js\r\n./src/core/packages/injected-metadata/browser-mocks/jest.config.js\r\n./src/core/packages/integrations/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/server-mocks/jest.config.js\r\n./src/core/packages/logging/browser-mocks/jest.config.js\r\n./src/core/packages/logging/server-mocks/jest.config.js\r\n./src/core/packages/metrics/collectors-server-mocks/jest.config.js\r\n./src/core/packages/metrics/server-mocks/jest.config.js\r\n./src/core/packages/node/server-mocks/jest.config.js\r\n./src/core/packages/notifications/browser-mocks/jest.config.js\r\n./src/core/packages/overlays/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/server-mocks/jest.config.js\r\n./src/core/packages/preboot/server-mocks/jest.config.js\r\n./src/core/packages/rendering/browser-mocks/jest.config.js\r\n./src/core/packages/rendering/server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/api-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/base-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/browser-mocks/jest.config.js\r\n./src/core/packages/saved-objects/import-export-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/migration-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/server-mocks/jest.config.js\r\n./src/core/packages/status/server-mocks/jest.config.js\r\n./src/core/packages/theme/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/server-mocks/jest.config.js\r\n./src/core/packages/usage-data/server-mocks/jest.config.js\r\n./src/core/system/tsconfig.type_check.json\r\n./src/dev/packages/core-test-helpers-kbn-server/jest.config.js\r\n./src/dev/packages/core-test-helpers-model-versions/jest.config.js\r\n./src/dev/tsconfig.type_check.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/plugins/private/interactive_setup/tsconfig.type_check.json\r\n./src/platform/plugins/shared/console/tsconfig.type_check.json\r\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\r\n./src/plugins/saved_objects_management/tsconfig.type_check.json\r\n./src/plugins/telemetry/tsconfig.type_check.json\r\n./src/plugins/usage_collection/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/platform/plugins/private/index_lifecycle_management/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/remote_clusters/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/snapshot_restore/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/watcher/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/security/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\r\n./x-pack/plugins/actions/tsconfig.type_check.json\r\n./x-pack/plugins/aiops/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/enterprise_search/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/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/apm_data_access/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/entity_manager/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/exploratory_view/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/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/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/stack_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/task_manager/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/security-solution/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/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/core/packages/analytics/browser-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/analytics/server-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/application/browser-mocks/jest.config.js:12\r\nsrc/core/packages/application/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/apps/browser-mocks/jest.config.js:12\r\nsrc/core/packages/apps/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/browser-mocks/jest.config.js:12\r\nsrc/core/packages/base/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/server-mocks/jest.config.js:12\r\nsrc/core/packages/base/server-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/browser-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/server-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/server-mocks/tsconfig.json:2\r\nsrc/core/packages/chrome/browser-mocks/jest.config.js:12\r\nsrc/core/packages/chrome/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/server-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/server-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/browser-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/server-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/client-server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/client-server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/server-mocks/tsconfig.json:2\r\nsrc/core/packages/environment/server-mocks/jest.config.js:12\r\nsrc/core/packages/environment/server-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/browser-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/server-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/server-mocks/tsconfig.json:2\r\nsrc/core/packages/fatal-errors/browser-mocks/jest.config.js:12\r\nsrc/core/packages/fatal-errors/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/browser-mocks/jest.config.js:12\r\nsrc/core/packages/http/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/context-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/context-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/resources-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/resources-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/router-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/router-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/server-mocks/jest.config.js:12\r\nsrc/core/packages/http/server-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/browser-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/server-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/server-mocks/tsconfig.json:2\r\nsrc/core/packages/injected-metadata/browser-mocks/jest.config.js:12\r\nsrc/core/packages/injected-metadata/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/integrations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/integrations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/browser-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/server-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/server-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/browser-mocks/jest.config.js:12\r\nsrc/core/packages/logging/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/server-mocks/jest.config.js:12\r\nsrc/core/packages/logging/server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/collectors-server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/collectors-server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/node/server-mocks/jest.config.js:12\r\nsrc/core/packages/node/server-mocks/tsconfig.json:2\r\nsrc/core/packages/notifications/browser-mocks/jest.config.js:12\r\nsrc/core/packages/notifications/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/overlays/browser-mocks/jest.config.js:12\r\nsrc/core/packages/overlays/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/browser-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/server-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/server-mocks/tsconfig.json:2\r\nsrc/core/packages/preboot/server-mocks/jest.config.js:12\r\nsrc/core/packages/preboot/server-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/browser-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/server-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/api-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/api-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/base-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/base-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/browser-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/import-export-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/import-export-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/migration-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/migration-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/server-mocks/tsconfig.json:2\r\nsrc/core/packages/status/server-mocks/jest.config.js:12\r\nsrc/core/packages/status/server-mocks/tsconfig.json:2\r\nsrc/core/packages/theme/browser-mocks/jest.config.js:12\r\nsrc/core/packages/theme/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-mocks/tsconfig.json:2\r\nsrc/core/packages/usage-data/server-mocks/jest.config.js:12\r\nsrc/core/packages/usage-data/server-mocks/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-kbn-server/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-kbn-server/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-model-versions/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-model-versions/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>\r\nCo-authored-by:
Alejandro Fernández Haro
<afharo@gmail.com>","sha":"4a00449bdcd699f89294536a86dffcbeab4daf53"}},"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/208538","number":208538,"mergeCommit":{"message":"SKA:
Relocate core mock and test-helper modules (#208538)\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####
55 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/core-analytics-browser-mocks`
|\r\n`src/core/packages/analytics/browser-mocks` |\r\n|
`@kbn/core-analytics-server-mocks`
|\r\n`src/core/packages/analytics/server-mocks` |\r\n|
`@kbn/core-application-browser-mocks`
|\r\n`src/core/packages/application/browser-mocks` |\r\n|
`@kbn/core-apps-browser-mocks`
|\r\n`src/core/packages/apps/browser-mocks` |\r\n|
`@kbn/core-base-browser-mocks`
|\r\n`src/core/packages/base/browser-mocks` |\r\n|
`@kbn/core-base-server-mocks` |
`src/core/packages/base/server-mocks`\r\n|\r\n|
`@kbn/core-capabilities-browser-mocks`
|\r\n`src/core/packages/capabilities/browser-mocks` |\r\n|
`@kbn/core-capabilities-server-mocks`
|\r\n`src/core/packages/capabilities/server-mocks` |\r\n|
`@kbn/core-chrome-browser-mocks`
|\r\n`src/core/packages/chrome/browser-mocks` |\r\n|
`@kbn/core-deprecations-browser-mocks`
|\r\n`src/core/packages/deprecations/browser-mocks` |\r\n|
`@kbn/core-deprecations-server-mocks`
|\r\n`src/core/packages/deprecations/server-mocks` |\r\n|
`@kbn/core-doc-links-browser-mocks`
|\r\n`src/core/packages/doc-links/browser-mocks` |\r\n|
`@kbn/core-doc-links-server-mocks`
|\r\n`src/core/packages/doc-links/server-mocks` |\r\n|
`@kbn/core-elasticsearch-client-server-mocks`
|\r\n`src/core/packages/elasticsearch/client-server-mocks` |\r\n|
`@kbn/core-elasticsearch-server-mocks`
|\r\n`src/core/packages/elasticsearch/server-mocks` |\r\n|
`@kbn/core-environment-server-mocks`
|\r\n`src/core/packages/environment/server-mocks` |\r\n|
`@kbn/core-execution-context-browser-mocks`
|\r\n`src/core/packages/execution-context/browser-mocks` |\r\n|
`@kbn/core-execution-context-server-mocks`
|\r\n`src/core/packages/execution-context/server-mocks` |\r\n|
`@kbn/core-fatal-errors-browser-mocks`
|\r\n`src/core/packages/fatal-errors/browser-mocks` |\r\n|
`@kbn/core-http-browser-mocks`
|\r\n`src/core/packages/http/browser-mocks` |\r\n|
`@kbn/core-http-context-server-mocks`
|\r\n`src/core/packages/http/context-server-mocks` |\r\n|
`@kbn/core-http-resources-server-mocks`
|\r\n`src/core/packages/http/resources-server-mocks` |\r\n|
`@kbn/core-http-router-server-mocks`
|\r\n`src/core/packages/http/router-server-mocks` |\r\n|
`@kbn/core-http-server-mocks` |
`src/core/packages/http/server-mocks`\r\n|\r\n|
`@kbn/core-i18n-browser-mocks`
|\r\n`src/core/packages/i18n/browser-mocks` |\r\n|
`@kbn/core-i18n-server-mocks` |
`src/core/packages/i18n/server-mocks`\r\n|\r\n|
`@kbn/core-injected-metadata-browser-mocks`
|\r\n`src/core/packages/injected-metadata/browser-mocks` |\r\n|
`@kbn/core-integrations-browser-mocks`
|\r\n`src/core/packages/integrations/browser-mocks` |\r\n|
`@kbn/core-lifecycle-browser-mocks`
|\r\n`src/core/packages/lifecycle/browser-mocks` |\r\n|
`@kbn/core-lifecycle-server-mocks`
|\r\n`src/core/packages/lifecycle/server-mocks` |\r\n|
`@kbn/core-logging-browser-mocks`
|\r\n`src/core/packages/logging/browser-mocks` |\r\n|
`@kbn/core-logging-server-mocks`
|\r\n`src/core/packages/logging/server-mocks` |\r\n|
`@kbn/core-metrics-collectors-server-mocks`
|\r\n`src/core/packages/metrics/collectors-server-mocks` |\r\n|
`@kbn/core-metrics-server-mocks`
|\r\n`src/core/packages/metrics/server-mocks` |\r\n|
`@kbn/core-node-server-mocks` |
`src/core/packages/node/server-mocks`\r\n|\r\n|
`@kbn/core-notifications-browser-mocks`
|\r\n`src/core/packages/notifications/browser-mocks` |\r\n|
`@kbn/core-overlays-browser-mocks`
|\r\n`src/core/packages/overlays/browser-mocks` |\r\n|
`@kbn/core-plugins-browser-mocks`
|\r\n`src/core/packages/plugins/browser-mocks` |\r\n|
`@kbn/core-plugins-server-mocks`
|\r\n`src/core/packages/plugins/server-mocks` |\r\n|
`@kbn/core-preboot-server-mocks`
|\r\n`src/core/packages/preboot/server-mocks` |\r\n|
`@kbn/core-rendering-browser-mocks`
|\r\n`src/core/packages/rendering/browser-mocks` |\r\n|
`@kbn/core-rendering-server-mocks`
|\r\n`src/core/packages/rendering/server-mocks` |\r\n|
`@kbn/core-saved-objects-api-server-mocks`
|\r\n`src/core/packages/saved-objects/api-server-mocks` |\r\n|
`@kbn/core-saved-objects-base-server-mocks`
|\r\n`src/core/packages/saved-objects/base-server-mocks` |\r\n|
`@kbn/core-saved-objects-browser-mocks`
|\r\n`src/core/packages/saved-objects/browser-mocks` |\r\n|
`@kbn/core-saved-objects-import-export-server-mocks`
|\r\n`src/core/packages/saved-objects/import-export-server-mocks` |\r\n|
`@kbn/core-saved-objects-migration-server-mocks`
|\r\n`src/core/packages/saved-objects/migration-server-mocks` |\r\n|
`@kbn/core-saved-objects-server-mocks`
|\r\n`src/core/packages/saved-objects/server-mocks` |\r\n|
`@kbn/core-status-server-mocks`
|\r\n`src/core/packages/status/server-mocks` |\r\n|
`@kbn/core-test-helpers-kbn-server`
|\r\n`src/dev/packages/core-test-helpers-kbn-server` |\r\n|
`@kbn/core-test-helpers-model-versions`
|\r\n`src/dev/packages/core-test-helpers-model-versions` |\r\n|
`@kbn/core-theme-browser-mocks`
|\r\n`src/core/packages/theme/browser-mocks` |\r\n|
`@kbn/core-ui-settings-browser-mocks`
|\r\n`src/core/packages/ui-settings/browser-mocks` |\r\n|
`@kbn/core-ui-settings-server-mocks`
|\r\n`src/core/packages/ui-settings/server-mocks` |\r\n|
`@kbn/core-usage-data-server-mocks`
|\r\n`src/core/packages/usage-data/server-mocks` |\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.github/codeql/codeql-config.yml\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/core/packages/analytics/browser-mocks/jest.config.js\r\n./src/core/packages/analytics/server-mocks/jest.config.js\r\n./src/core/packages/application/browser-mocks/jest.config.js\r\n./src/core/packages/apps/browser-mocks/jest.config.js\r\n./src/core/packages/base/browser-mocks/jest.config.js\r\n./src/core/packages/base/server-mocks/jest.config.js\r\n./src/core/packages/capabilities/browser-mocks/jest.config.js\r\n./src/core/packages/capabilities/server-mocks/jest.config.js\r\n./src/core/packages/chrome/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/browser-mocks/jest.config.js\r\n./src/core/packages/deprecations/server-mocks/jest.config.js\r\n./src/core/packages/doc-links/browser-mocks/jest.config.js\r\n./src/core/packages/doc-links/server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/client-server-mocks/jest.config.js\r\n./src/core/packages/elasticsearch/server-mocks/jest.config.js\r\n./src/core/packages/environment/server-mocks/jest.config.js\r\n./src/core/packages/execution-context/browser-mocks/jest.config.js\r\n./src/core/packages/execution-context/server-mocks/jest.config.js\r\n./src/core/packages/fatal-errors/browser-mocks/jest.config.js\r\n./src/core/packages/http/browser-mocks/jest.config.js\r\n./src/core/packages/http/context-server-mocks/jest.config.js\r\n./src/core/packages/http/resources-server-mocks/jest.config.js\r\n./src/core/packages/http/router-server-mocks/jest.config.js\r\n./src/core/packages/http/server-mocks/jest.config.js\r\n./src/core/packages/i18n/browser-mocks/jest.config.js\r\n./src/core/packages/i18n/server-mocks/jest.config.js\r\n./src/core/packages/injected-metadata/browser-mocks/jest.config.js\r\n./src/core/packages/integrations/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/browser-mocks/jest.config.js\r\n./src/core/packages/lifecycle/server-mocks/jest.config.js\r\n./src/core/packages/logging/browser-mocks/jest.config.js\r\n./src/core/packages/logging/server-mocks/jest.config.js\r\n./src/core/packages/metrics/collectors-server-mocks/jest.config.js\r\n./src/core/packages/metrics/server-mocks/jest.config.js\r\n./src/core/packages/node/server-mocks/jest.config.js\r\n./src/core/packages/notifications/browser-mocks/jest.config.js\r\n./src/core/packages/overlays/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/browser-mocks/jest.config.js\r\n./src/core/packages/plugins/server-mocks/jest.config.js\r\n./src/core/packages/preboot/server-mocks/jest.config.js\r\n./src/core/packages/rendering/browser-mocks/jest.config.js\r\n./src/core/packages/rendering/server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/api-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/base-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/browser-mocks/jest.config.js\r\n./src/core/packages/saved-objects/import-export-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/migration-server-mocks/jest.config.js\r\n./src/core/packages/saved-objects/server-mocks/jest.config.js\r\n./src/core/packages/status/server-mocks/jest.config.js\r\n./src/core/packages/theme/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/browser-mocks/jest.config.js\r\n./src/core/packages/ui-settings/server-mocks/jest.config.js\r\n./src/core/packages/usage-data/server-mocks/jest.config.js\r\n./src/core/system/tsconfig.type_check.json\r\n./src/dev/packages/core-test-helpers-kbn-server/jest.config.js\r\n./src/dev/packages/core-test-helpers-model-versions/jest.config.js\r\n./src/dev/tsconfig.type_check.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/plugins/private/interactive_setup/tsconfig.type_check.json\r\n./src/platform/plugins/shared/console/tsconfig.type_check.json\r\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\r\n./src/plugins/saved_objects_management/tsconfig.type_check.json\r\n./src/plugins/telemetry/tsconfig.type_check.json\r\n./src/plugins/usage_collection/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/platform/plugins/private/index_lifecycle_management/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/remote_clusters/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/snapshot_restore/tsconfig.type_check.json\r\n./x-pack/platform/plugins/private/watcher/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/security/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\r\n./x-pack/plugins/actions/tsconfig.type_check.json\r\n./x-pack/plugins/aiops/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/enterprise_search/tsconfig.type_check.json\r\n./x-pack/plugins/integration_assistant/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/apm_data_access/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/entity_manager/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/exploratory_view/tsconfig.type_check.json\r\n./x-pack/plugins/observability_solution/observability/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/search_playground/tsconfig.type_check.json\r\n./x-pack/plugins/serverless_search/tsconfig.type_check.json\r\n./x-pack/plugins/stack_alerts/tsconfig.type_check.json\r\n./x-pack/plugins/stack_connectors/tsconfig.type_check.json\r\n./x-pack/plugins/task_manager/tsconfig.type_check.json\r\n./x-pack/plugins/transform/tsconfig.type_check.json\r\n./x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json\r\n./x-pack/solutions/security/packages/security-solution/ecs_data_quality_dashboard/tsconfig.type_check.json\r\n./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/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/core/packages/analytics/browser-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/analytics/server-mocks/jest.config.js:12\r\nsrc/core/packages/analytics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/application/browser-mocks/jest.config.js:12\r\nsrc/core/packages/application/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/apps/browser-mocks/jest.config.js:12\r\nsrc/core/packages/apps/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/browser-mocks/jest.config.js:12\r\nsrc/core/packages/base/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/base/server-mocks/jest.config.js:12\r\nsrc/core/packages/base/server-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/browser-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/capabilities/server-mocks/jest.config.js:12\r\nsrc/core/packages/capabilities/server-mocks/tsconfig.json:2\r\nsrc/core/packages/chrome/browser-mocks/jest.config.js:12\r\nsrc/core/packages/chrome/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/deprecations/server-mocks/jest.config.js:12\r\nsrc/core/packages/deprecations/server-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/browser-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/doc-links/server-mocks/jest.config.js:12\r\nsrc/core/packages/doc-links/server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/client-server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/client-server-mocks/tsconfig.json:2\r\nsrc/core/packages/elasticsearch/server-mocks/jest.config.js:12\r\nsrc/core/packages/elasticsearch/server-mocks/tsconfig.json:2\r\nsrc/core/packages/environment/server-mocks/jest.config.js:12\r\nsrc/core/packages/environment/server-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/browser-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/execution-context/server-mocks/jest.config.js:12\r\nsrc/core/packages/execution-context/server-mocks/tsconfig.json:2\r\nsrc/core/packages/fatal-errors/browser-mocks/jest.config.js:12\r\nsrc/core/packages/fatal-errors/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/browser-mocks/jest.config.js:12\r\nsrc/core/packages/http/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/http/context-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/context-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/resources-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/resources-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/router-server-mocks/jest.config.js:12\r\nsrc/core/packages/http/router-server-mocks/tsconfig.json:2\r\nsrc/core/packages/http/server-mocks/jest.config.js:12\r\nsrc/core/packages/http/server-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/browser-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/i18n/server-mocks/jest.config.js:12\r\nsrc/core/packages/i18n/server-mocks/tsconfig.json:2\r\nsrc/core/packages/injected-metadata/browser-mocks/jest.config.js:12\r\nsrc/core/packages/injected-metadata/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/integrations/browser-mocks/jest.config.js:12\r\nsrc/core/packages/integrations/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/browser-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/lifecycle/server-mocks/jest.config.js:12\r\nsrc/core/packages/lifecycle/server-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/browser-mocks/jest.config.js:12\r\nsrc/core/packages/logging/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/logging/server-mocks/jest.config.js:12\r\nsrc/core/packages/logging/server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/collectors-server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/collectors-server-mocks/tsconfig.json:2\r\nsrc/core/packages/metrics/server-mocks/jest.config.js:12\r\nsrc/core/packages/metrics/server-mocks/tsconfig.json:2\r\nsrc/core/packages/node/server-mocks/jest.config.js:12\r\nsrc/core/packages/node/server-mocks/tsconfig.json:2\r\nsrc/core/packages/notifications/browser-mocks/jest.config.js:12\r\nsrc/core/packages/notifications/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/overlays/browser-mocks/jest.config.js:12\r\nsrc/core/packages/overlays/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/browser-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/plugins/server-mocks/jest.config.js:12\r\nsrc/core/packages/plugins/server-mocks/tsconfig.json:2\r\nsrc/core/packages/preboot/server-mocks/jest.config.js:12\r\nsrc/core/packages/preboot/server-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/browser-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/rendering/server-mocks/jest.config.js:12\r\nsrc/core/packages/rendering/server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/api-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/api-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/base-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/base-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/browser-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/import-export-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/import-export-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/migration-server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/migration-server-mocks/tsconfig.json:2\r\nsrc/core/packages/saved-objects/server-mocks/jest.config.js:12\r\nsrc/core/packages/saved-objects/server-mocks/tsconfig.json:2\r\nsrc/core/packages/status/server-mocks/jest.config.js:12\r\nsrc/core/packages/status/server-mocks/tsconfig.json:2\r\nsrc/core/packages/theme/browser-mocks/jest.config.js:12\r\nsrc/core/packages/theme/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/browser-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/browser-mocks/tsconfig.json:2\r\nsrc/core/packages/ui-settings/server-mocks/jest.config.js:12\r\nsrc/core/packages/ui-settings/server-mocks/tsconfig.json:2\r\nsrc/core/packages/usage-data/server-mocks/jest.config.js:12\r\nsrc/core/packages/usage-data/server-mocks/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-kbn-server/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-kbn-server/tsconfig.json:2\r\nsrc/dev/packages/core-test-helpers-model-versions/jest.config.js:12\r\nsrc/dev/packages/core-test-helpers-model-versions/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>\r\nCo-authored-by:
Alejandro Fernández Haro
<afharo@gmail.com>","sha":"4a00449bdcd699f89294536a86dffcbeab4daf53"}}]}]
BACKPORT-->
2025-01-29 14:31:21 +01:00
Giorgos Bamparopoulos
7ebef44cf5
[8.x] [One Discover] Display stacktrace in the logs overview tab (#204521) (#208115)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[One Discover] Display stacktrace in the logs overview tab
(#204521)](https://github.com/elastic/kibana/pull/204521)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Giorgos
Bamparopoulos","email":"georgios.bamparopoulos@elastic.co"},"sourceCommit":{"committedDate":"2025-01-22T16:06:14Z","message":"[One
Discover] Display stacktrace in the logs overview tab (#204521)\n\n## 📓
Summary\r\nAdds a new section to the overview tab in the log details
flyout in\r\nDiscover to display stacktrace information for logs and
exceptions.\r\n\r\nIn a follow-up, the stacktrace could be moved to a
new tab in the log\r\ndetails flyout and actions can be added to the
stacktrace (and quality)\r\nicons in the document table to open the
relevant sections in the flyout.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/190460\r\n\r\n### APM - Log
stacktrace (library frames)\r\n<img width=\"1470\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/8991f882-d329-4bc5-aa37-424576bcee72\"\r\n/>\r\n\r\n###
APM - Exception (with cause)\r\n<img width=\"1476\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/cfbf24a7-6f82-48f1-b275-5aac977411ac\"\r\n/>\r\n\r\n###
APM - Exception (simple stacktrace)\r\n<img width=\"1474\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/fc0306c4-5fcd-4b74-bb0d-c1784a48d677\"\r\n/>\r\n\r\n###
Apache Tomcat Integration (Catalina) - Stacktrace\r\n<img width=\"1472\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/281f1822-faea-4e2d-9515-c11a9ee12f50\"\r\n/>\r\n\r\n##
📝 Notes for reviewers\r\n- The `@kbn/apm-types` package was marked as
platform / shared as it's\r\nbeing used by
the\r\n[unified_doc_viewer](https://github.com/elastic/kibana/blob/main/src/plugins/unified_doc_viewer/kibana.jsonc)\r\n-
The code used to render stacktraces in APM was moved into a
new\r\n`@kbn/event-stacktrace` package as it is reused in
the\r\n`unified_doc_viewer`\r\n- The code used to render metadata table
in APM was moved into a new\r\n`@kbn/key-value-metadata-table`
package\r\n\r\n## 🧪 Testing instructions\r\nThe deployed environments
have sample logs that can be used (time range:\r\nJan 1, 2025 - now).
For a local setup, please follow the instructions\r\nbelow:\r\n\r\n1.
Ingest sample logs with
stacktraces\r\n([gist](https://gist.github.com/gbamparop/0da21ca7f65b24c4a9c071ce9e9b97b0)).\r\nPlease
note that these are test data and some fields that are not used\r\nby
stacktraces might not be consistent\r\n2. View relevant logs in Discover
(Query: `service.name: \"synth-node-0\"\r\nOR apache_tomcat :*`, Time
range: Jan 1, 2025 - now)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"368475e8e55845e17fd4621c1ae60ba1e983bb8f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","ci:project-deploy-observability","Team:obs-ux-infra_services","backport:version","v8.18.0"],"title":"[One
Discover] Display stacktrace in the logs overview
tab","number":204521,"url":"https://github.com/elastic/kibana/pull/204521","mergeCommit":{"message":"[One
Discover] Display stacktrace in the logs overview tab (#204521)\n\n## 📓
Summary\r\nAdds a new section to the overview tab in the log details
flyout in\r\nDiscover to display stacktrace information for logs and
exceptions.\r\n\r\nIn a follow-up, the stacktrace could be moved to a
new tab in the log\r\ndetails flyout and actions can be added to the
stacktrace (and quality)\r\nicons in the document table to open the
relevant sections in the flyout.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/190460\r\n\r\n### APM - Log
stacktrace (library frames)\r\n<img width=\"1470\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/8991f882-d329-4bc5-aa37-424576bcee72\"\r\n/>\r\n\r\n###
APM - Exception (with cause)\r\n<img width=\"1476\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/cfbf24a7-6f82-48f1-b275-5aac977411ac\"\r\n/>\r\n\r\n###
APM - Exception (simple stacktrace)\r\n<img width=\"1474\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/fc0306c4-5fcd-4b74-bb0d-c1784a48d677\"\r\n/>\r\n\r\n###
Apache Tomcat Integration (Catalina) - Stacktrace\r\n<img width=\"1472\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/281f1822-faea-4e2d-9515-c11a9ee12f50\"\r\n/>\r\n\r\n##
📝 Notes for reviewers\r\n- The `@kbn/apm-types` package was marked as
platform / shared as it's\r\nbeing used by
the\r\n[unified_doc_viewer](https://github.com/elastic/kibana/blob/main/src/plugins/unified_doc_viewer/kibana.jsonc)\r\n-
The code used to render stacktraces in APM was moved into a
new\r\n`@kbn/event-stacktrace` package as it is reused in
the\r\n`unified_doc_viewer`\r\n- The code used to render metadata table
in APM was moved into a new\r\n`@kbn/key-value-metadata-table`
package\r\n\r\n## 🧪 Testing instructions\r\nThe deployed environments
have sample logs that can be used (time range:\r\nJan 1, 2025 - now).
For a local setup, please follow the instructions\r\nbelow:\r\n\r\n1.
Ingest sample logs with
stacktraces\r\n([gist](https://gist.github.com/gbamparop/0da21ca7f65b24c4a9c071ce9e9b97b0)).\r\nPlease
note that these are test data and some fields that are not used\r\nby
stacktraces might not be consistent\r\n2. View relevant logs in Discover
(Query: `service.name: \"synth-node-0\"\r\nOR apache_tomcat :*`, Time
range: Jan 1, 2025 - now)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"368475e8e55845e17fd4621c1ae60ba1e983bb8f"}},"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/204521","number":204521,"mergeCommit":{"message":"[One
Discover] Display stacktrace in the logs overview tab (#204521)\n\n## 📓
Summary\r\nAdds a new section to the overview tab in the log details
flyout in\r\nDiscover to display stacktrace information for logs and
exceptions.\r\n\r\nIn a follow-up, the stacktrace could be moved to a
new tab in the log\r\ndetails flyout and actions can be added to the
stacktrace (and quality)\r\nicons in the document table to open the
relevant sections in the flyout.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/190460\r\n\r\n### APM - Log
stacktrace (library frames)\r\n<img width=\"1470\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/8991f882-d329-4bc5-aa37-424576bcee72\"\r\n/>\r\n\r\n###
APM - Exception (with cause)\r\n<img width=\"1476\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/cfbf24a7-6f82-48f1-b275-5aac977411ac\"\r\n/>\r\n\r\n###
APM - Exception (simple stacktrace)\r\n<img width=\"1474\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/fc0306c4-5fcd-4b74-bb0d-c1784a48d677\"\r\n/>\r\n\r\n###
Apache Tomcat Integration (Catalina) - Stacktrace\r\n<img width=\"1472\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/281f1822-faea-4e2d-9515-c11a9ee12f50\"\r\n/>\r\n\r\n##
📝 Notes for reviewers\r\n- The `@kbn/apm-types` package was marked as
platform / shared as it's\r\nbeing used by
the\r\n[unified_doc_viewer](https://github.com/elastic/kibana/blob/main/src/plugins/unified_doc_viewer/kibana.jsonc)\r\n-
The code used to render stacktraces in APM was moved into a
new\r\n`@kbn/event-stacktrace` package as it is reused in
the\r\n`unified_doc_viewer`\r\n- The code used to render metadata table
in APM was moved into a new\r\n`@kbn/key-value-metadata-table`
package\r\n\r\n## 🧪 Testing instructions\r\nThe deployed environments
have sample logs that can be used (time range:\r\nJan 1, 2025 - now).
For a local setup, please follow the instructions\r\nbelow:\r\n\r\n1.
Ingest sample logs with
stacktraces\r\n([gist](https://gist.github.com/gbamparop/0da21ca7f65b24c4a9c071ce9e9b97b0)).\r\nPlease
note that these are test data and some fields that are not used\r\nby
stacktraces might not be consistent\r\n2. View relevant logs in Discover
(Query: `service.name: \"synth-node-0\"\r\nOR apache_tomcat :*`, Time
range: Jan 1, 2025 - now)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"368475e8e55845e17fd4621c1ae60ba1e983bb8f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-28 15:05:59 +02:00
Michael Dokolin
f7234d92f9
[8.x] [HTTP] Add a circuit breaker for the HTTP server (#190684) (#208494)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[HTTP] Add a circuit breaker for the HTTP server
(#190684)](https://github.com/elastic/kibana/pull/190684)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Michael
Dokolin","email":"mikhail.dokolin@elastic.co"},"sourceCommit":{"committedDate":"2025-01-27T20:29:21Z","message":"[HTTP]
Add a circuit breaker for the HTTP server (#190684)\n\nThis PR resolves
#194605 and closes #170132 and brings the following\nchanges:\n- changed
ELU metrics evaluation used for autoscaling;\n- a rate limiter to
throttle incoming requests when under a high load;\n- a configuration
option to exclude some routes from the rate
limiter.","sha":"52b7bc6f06d2651a5b8f9023e1e526147a659ab0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:http","Team:Core","v9.0.0","ci:build-serverless-image","backport:version","v8.18.0"],"title":"Add
a circuit breaker for the HTTP
server","number":190684,"url":"https://github.com/elastic/kibana/pull/190684","mergeCommit":{"message":"[HTTP]
Add a circuit breaker for the HTTP server (#190684)\n\nThis PR resolves
#194605 and closes #170132 and brings the following\nchanges:\n- changed
ELU metrics evaluation used for autoscaling;\n- a rate limiter to
throttle incoming requests when under a high load;\n- a configuration
option to exclude some routes from the rate
limiter.","sha":"52b7bc6f06d2651a5b8f9023e1e526147a659ab0"}},"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/190684","number":190684,"mergeCommit":{"message":"[HTTP]
Add a circuit breaker for the HTTP server (#190684)\n\nThis PR resolves
#194605 and closes #170132 and brings the following\nchanges:\n- changed
ELU metrics evaluation used for autoscaling;\n- a rate limiter to
throttle incoming requests when under a high load;\n- a configuration
option to exclude some routes from the rate
limiter.","sha":"52b7bc6f06d2651a5b8f9023e1e526147a659ab0"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-01-28 12:06:30 +01:00
Gerard Soldevila
4ba1a0ae0d
[8.x] SKA: Follow-up relocation (#208474)
## Summary

Manually backport https://github.com/elastic/kibana/pull/207041

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-28 09:30:59 +01:00
Stratoula Kalafateli
e8d3a115f4
[8.x] [ES|QL] Dashboard variables (#202875) (#208340)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ES|QL] Dashboard variables
(#202875)](https://github.com/elastic/kibana/pull/202875)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2025-01-27T10:35:54Z","message":"[ES|QL]
Dashboard variables (#202875)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/203967\r\n\r\nSupports
dashboard variables in ES|QL charts.\r\n\r\nThis PR introduces the first
phase of ES|QL controls. In this phase:\r\n- the flow starts from Lens
ES|QL editor (and no vice-versa, this will\r\nhappen on a later phase
after we discuss some technical details with ES)\r\n- it is only
available for dashboards (we want to include them in other\r\napps as
Discover but this is the next phase driven by the
presentation\r\nteam)\r\n- it supports variables for intervals, fields
and values. I haven't\r\nadded support for functions. I am going to do
it after this PR being\r\nmerged (there are some business questions I
want to answer first)\r\n\r\nFor more info check
this\r\n[deck](c101a257-fbe4-44e6-9686-18012f39e8c1)\r\n\r\n###
Implementation details\r\n\r\n- There is a new service, the
ESQLVariables service that is responsible\r\nfor ES|QL variables. I
isolated this to a new plugin owned by the ES|QL\r\nteam for cleaner
code and for avoiding circular dependencies\r\n- A new ESQL_CONTROL type
got created. It follows the exact same logic\r\nas the rest controls. No
changes in the architecture here.\r\n- The creation of the controls (the
control forms) have been added in\r\nthe esql plugin.\r\n- Lens has
small changes:\r\n - The support of variables in the textBased
datasource\r\n- Two callbacks needed to be called after the creation /
cancellation of\r\nan ES|QL control\r\n\r\n\r\n### Types of ES|QL
variables \r\n\r\nWe have 2 types:\r\n\r\n- Static Values (the user
gives a list of values with his own\r\nresponsibility). As the flow
starts from the editor we can identify what\r\nthey most possibly want
to do and we give the user some options but they\r\nhave the freedom to
do as they want. A basic validation has been added\r\ntoo.\r\n- Values
from an ES|QL query (the user gives an ES|QL query that\r\ngenerates the
values). As the flow starts from the editor we can suggest\r\na query
for the users but they can always change it as they wish.\r\n\r\n<img
width=\"1168\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/cc28beb8-111c-43ad-9f26-865bc62ae512\"\r\n/>\r\n\r\n###
Example of a control creation from the
editor\r\n\r\n![meow](https://github.com/user-attachments/assets/09fa0e21-98cd-4160-b271-4f8ed0a91bf7)\r\n\r\n\r\n###
Release note\r\nES|QL charts now allow the creation of controls in
dashboards. You can\r\ncontrol a part of the query such as a field, an
interval or a value.\r\n\r\n### Checklist\r\n- [x] 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-
[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] 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- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\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>\r\nCo-authored-by:
Andrea Del Rio <delrio.andre@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"b84c65c095fea8a69db1656510235849793c82a1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Dashboard","Team:Presentation","Feature:ExpressionLanguage","loe:large","impact:high","v9.0.0","release_note:feature","Feature:ES|QL","Team:ESQL","backport:version","v8.18.0"],"title":"[ES|QL]
Dashboard
variables","number":202875,"url":"https://github.com/elastic/kibana/pull/202875","mergeCommit":{"message":"[ES|QL]
Dashboard variables (#202875)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/203967\r\n\r\nSupports
dashboard variables in ES|QL charts.\r\n\r\nThis PR introduces the first
phase of ES|QL controls. In this phase:\r\n- the flow starts from Lens
ES|QL editor (and no vice-versa, this will\r\nhappen on a later phase
after we discuss some technical details with ES)\r\n- it is only
available for dashboards (we want to include them in other\r\napps as
Discover but this is the next phase driven by the
presentation\r\nteam)\r\n- it supports variables for intervals, fields
and values. I haven't\r\nadded support for functions. I am going to do
it after this PR being\r\nmerged (there are some business questions I
want to answer first)\r\n\r\nFor more info check
this\r\n[deck](c101a257-fbe4-44e6-9686-18012f39e8c1)\r\n\r\n###
Implementation details\r\n\r\n- There is a new service, the
ESQLVariables service that is responsible\r\nfor ES|QL variables. I
isolated this to a new plugin owned by the ES|QL\r\nteam for cleaner
code and for avoiding circular dependencies\r\n- A new ESQL_CONTROL type
got created. It follows the exact same logic\r\nas the rest controls. No
changes in the architecture here.\r\n- The creation of the controls (the
control forms) have been added in\r\nthe esql plugin.\r\n- Lens has
small changes:\r\n - The support of variables in the textBased
datasource\r\n- Two callbacks needed to be called after the creation /
cancellation of\r\nan ES|QL control\r\n\r\n\r\n### Types of ES|QL
variables \r\n\r\nWe have 2 types:\r\n\r\n- Static Values (the user
gives a list of values with his own\r\nresponsibility). As the flow
starts from the editor we can identify what\r\nthey most possibly want
to do and we give the user some options but they\r\nhave the freedom to
do as they want. A basic validation has been added\r\ntoo.\r\n- Values
from an ES|QL query (the user gives an ES|QL query that\r\ngenerates the
values). As the flow starts from the editor we can suggest\r\na query
for the users but they can always change it as they wish.\r\n\r\n<img
width=\"1168\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/cc28beb8-111c-43ad-9f26-865bc62ae512\"\r\n/>\r\n\r\n###
Example of a control creation from the
editor\r\n\r\n![meow](https://github.com/user-attachments/assets/09fa0e21-98cd-4160-b271-4f8ed0a91bf7)\r\n\r\n\r\n###
Release note\r\nES|QL charts now allow the creation of controls in
dashboards. You can\r\ncontrol a part of the query such as a field, an
interval or a value.\r\n\r\n### Checklist\r\n- [x] 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-
[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] 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- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\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>\r\nCo-authored-by:
Andrea Del Rio <delrio.andre@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"b84c65c095fea8a69db1656510235849793c82a1"}},"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/202875","number":202875,"mergeCommit":{"message":"[ES|QL]
Dashboard variables (#202875)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/203967\r\n\r\nSupports
dashboard variables in ES|QL charts.\r\n\r\nThis PR introduces the first
phase of ES|QL controls. In this phase:\r\n- the flow starts from Lens
ES|QL editor (and no vice-versa, this will\r\nhappen on a later phase
after we discuss some technical details with ES)\r\n- it is only
available for dashboards (we want to include them in other\r\napps as
Discover but this is the next phase driven by the
presentation\r\nteam)\r\n- it supports variables for intervals, fields
and values. I haven't\r\nadded support for functions. I am going to do
it after this PR being\r\nmerged (there are some business questions I
want to answer first)\r\n\r\nFor more info check
this\r\n[deck](c101a257-fbe4-44e6-9686-18012f39e8c1)\r\n\r\n###
Implementation details\r\n\r\n- There is a new service, the
ESQLVariables service that is responsible\r\nfor ES|QL variables. I
isolated this to a new plugin owned by the ES|QL\r\nteam for cleaner
code and for avoiding circular dependencies\r\n- A new ESQL_CONTROL type
got created. It follows the exact same logic\r\nas the rest controls. No
changes in the architecture here.\r\n- The creation of the controls (the
control forms) have been added in\r\nthe esql plugin.\r\n- Lens has
small changes:\r\n - The support of variables in the textBased
datasource\r\n- Two callbacks needed to be called after the creation /
cancellation of\r\nan ES|QL control\r\n\r\n\r\n### Types of ES|QL
variables \r\n\r\nWe have 2 types:\r\n\r\n- Static Values (the user
gives a list of values with his own\r\nresponsibility). As the flow
starts from the editor we can identify what\r\nthey most possibly want
to do and we give the user some options but they\r\nhave the freedom to
do as they want. A basic validation has been added\r\ntoo.\r\n- Values
from an ES|QL query (the user gives an ES|QL query that\r\ngenerates the
values). As the flow starts from the editor we can suggest\r\na query
for the users but they can always change it as they wish.\r\n\r\n<img
width=\"1168\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/cc28beb8-111c-43ad-9f26-865bc62ae512\"\r\n/>\r\n\r\n###
Example of a control creation from the
editor\r\n\r\n![meow](https://github.com/user-attachments/assets/09fa0e21-98cd-4160-b271-4f8ed0a91bf7)\r\n\r\n\r\n###
Release note\r\nES|QL charts now allow the creation of controls in
dashboards. You can\r\ncontrol a part of the query such as a field, an
interval or a value.\r\n\r\n### Checklist\r\n- [x] 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-
[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] 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- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\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>\r\nCo-authored-by:
Andrea Del Rio <delrio.andre@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"b84c65c095fea8a69db1656510235849793c82a1"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-27 15:42:51 +01:00
Agustina Nahir Ruidiaz
db7b5e27bd
[8.x] [Security Solution] Connector selector onboarding (#203742) (#208205)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Connector selector onboarding
(#203742)](https://github.com/elastic/kibana/pull/203742)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Agustina Nahir
Ruidiaz","email":"61565784+agusruidiazgd@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-24T12:47:41Z","message":"[Security
Solution] Connector selector onboarding (#203742)\n\n##
Summary\r\n\r\nSummarize your PR. If it involves visual changes include
a screenshot
or\r\ngif.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d7527d1-dc8d-4f3a-9b03-cfd0022701d2\r\n\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- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"86666bf790c87ee8bde353d53dcf5413e80e50e5","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:Threat
Hunting:Explore","ci:cloud-deploy","backport:version","v8.18.0"],"title":"[Security
Solution] Connector selector
onboarding","number":203742,"url":"https://github.com/elastic/kibana/pull/203742","mergeCommit":{"message":"[Security
Solution] Connector selector onboarding (#203742)\n\n##
Summary\r\n\r\nSummarize your PR. If it involves visual changes include
a screenshot
or\r\ngif.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d7527d1-dc8d-4f3a-9b03-cfd0022701d2\r\n\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- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"86666bf790c87ee8bde353d53dcf5413e80e50e5"}},"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/203742","number":203742,"mergeCommit":{"message":"[Security
Solution] Connector selector onboarding (#203742)\n\n##
Summary\r\n\r\nSummarize your PR. If it involves visual changes include
a screenshot
or\r\ngif.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d7527d1-dc8d-4f3a-9b03-cfd0022701d2\r\n\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- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"86666bf790c87ee8bde353d53dcf5413e80e50e5"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-24 15:58:45 +00:00
Yngrid Coello
c5fdbfbc0b
[8.x]Align main and 8.x structure for obs-ux-logs plugins in platform folder (#208021)
## Summary
This PR aims to align folder structure between `8.x` and `main` so
backports are smooth between the two versions.
As of now this is the current scenario
|  main  |  8.x  | 
|---|---|
| x-pack/platform/plugins/shared/dataset_quality |
x-pack/platform/plugins/shared/observability_solution/dataset_quality |
| x-pack/platform/plugins/shared/logs_shared |
x-pack/platform/plugins/shared/observability_solution/logs_shared |
| x-pack/platform/plugins/shared/logs_data_access |
x-pack/platform/plugins/shared/observability_solution/logs_data_access |
2025-01-23 12:29:16 +00:00
Pierre Gayvallet
9b431dc5b1
[8.x] [Inference AI Connector] Added elastic provider for EIS and enhancements (#205672) (#207997)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Inference AI Connector] Added elastic provider for EIS and
enhancements (#205672)](https://github.com/elastic/kibana/pull/205672)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Yuliia
Naumenko","email":"jo.naumenko@gmail.com"},"sourceCommit":{"committedDate":"2025-01-23T02:32:57Z","message":"[Inference
AI Connector] Added elastic provider for EIS and enhancements
(#205672)\n\n## Summary\r\n\r\nCurrent PR creates a new platform shared
plugin named\r\n`inference_endpoint` to expose in Kibana the new
internal API\r\n`_inference/_services`, which returns the list of
inference providers\r\nwith the configuration settings.\r\n\r\nChanged
`@kbn/inference_endpoint_ui_common` package to fetch dynamically\r\nthe
list of providers by using the route introduced
in\r\n`inference_endpoint` plugin.\r\nAdded fields settings filter based
on the selected task in the\r\n`supported_task_types`.\r\n\r\nCleaned up
the types consolidating all in the
package\r\n`@kbn/inference_endpoint_ui_common`.\r\nChanged .inference
connector to use `unified_completion` subAction for\r\nselected
`chat_completion` task type.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"7f98b6bf5dc161b513abf4a85a893029e8ba5fee","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:project-deploy-elasticsearch","backport:version","8.18
candidate","v8.18.0"],"title":"[Inference AI Connector] Added elastic
provider for EIS and
enhancements","number":205672,"url":"https://github.com/elastic/kibana/pull/205672","mergeCommit":{"message":"[Inference
AI Connector] Added elastic provider for EIS and enhancements
(#205672)\n\n## Summary\r\n\r\nCurrent PR creates a new platform shared
plugin named\r\n`inference_endpoint` to expose in Kibana the new
internal API\r\n`_inference/_services`, which returns the list of
inference providers\r\nwith the configuration settings.\r\n\r\nChanged
`@kbn/inference_endpoint_ui_common` package to fetch dynamically\r\nthe
list of providers by using the route introduced
in\r\n`inference_endpoint` plugin.\r\nAdded fields settings filter based
on the selected task in the\r\n`supported_task_types`.\r\n\r\nCleaned up
the types consolidating all in the
package\r\n`@kbn/inference_endpoint_ui_common`.\r\nChanged .inference
connector to use `unified_completion` subAction for\r\nselected
`chat_completion` task type.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"7f98b6bf5dc161b513abf4a85a893029e8ba5fee"}},"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/205672","number":205672,"mergeCommit":{"message":"[Inference
AI Connector] Added elastic provider for EIS and enhancements
(#205672)\n\n## Summary\r\n\r\nCurrent PR creates a new platform shared
plugin named\r\n`inference_endpoint` to expose in Kibana the new
internal API\r\n`_inference/_services`, which returns the list of
inference providers\r\nwith the configuration settings.\r\n\r\nChanged
`@kbn/inference_endpoint_ui_common` package to fetch dynamically\r\nthe
list of providers by using the route introduced
in\r\n`inference_endpoint` plugin.\r\nAdded fields settings filter based
on the selected task in the\r\n`supported_task_types`.\r\n\r\nCleaned up
the types consolidating all in the
package\r\n`@kbn/inference_endpoint_ui_common`.\r\nChanged .inference
connector to use `unified_completion` subAction for\r\nselected
`chat_completion` task type.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"7f98b6bf5dc161b513abf4a85a893029e8ba5fee"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Yuliia Naumenko <jo.naumenko@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-23 12:18:21 +01:00
Sergi Romeu
67096beac6
[8.x] [Profiling] Migrate Profiling Cypress tests to on_merge from on_merge_unsupported_ftrs (#206727) (#207401)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Profiling] Migrate Profiling Cypress tests to &#x60;on_merge&#x60;
from &#x60;on_merge_unsupported_ftrs&#x60;
(#206727)](https://github.com/elastic/kibana/pull/206727)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-01-21T16:09:42Z","message":"[Profiling]
Migrate Profiling Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs` (#206727)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/206664\n\nThis PR moves
Profiling Cypress tests to be run on the main pipeline\ninstead of the
unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3498d509ef2cf079e222bbd4aa6a5512adf4f608","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["technical
debt","release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-infra_services"],"title":"[Profiling]
Migrate Profiling Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs`","number":206727,"url":"https://github.com/elastic/kibana/pull/206727","mergeCommit":{"message":"[Profiling]
Migrate Profiling Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs` (#206727)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/206664\n\nThis PR moves
Profiling Cypress tests to be run on the main pipeline\ninstead of the
unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3498d509ef2cf079e222bbd4aa6a5512adf4f608"}},"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/206727","number":206727,"mergeCommit":{"message":"[Profiling]
Migrate Profiling Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs` (#206727)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/206664\n\nThis PR moves
Profiling Cypress tests to be run on the main pipeline\ninstead of the
unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3498d509ef2cf079e222bbd4aa6a5512adf4f608"}}]}]
BACKPORT-->
2025-01-21 18:12:53 +00:00
Maxim Palenov
e295709efb
[8.x] [Security Solution] Handle negative lookback in rule upgrade flyout (#204317) (#207302)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Handle negative lookback in rule upgrade flyout
(#204317)](https://github.com/elastic/kibana/pull/204317)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-01-20T13:41:23Z","message":"[Security
Solution] Handle negative lookback in rule upgrade flyout
(#204317)\n\n**Fixes:
https://github.com/elastic/kibana/issues/202715**\r\n**Fixes:
https://github.com/elastic/kibana/issues/204714**\r\n\r\n##
Summary\r\n\r\nThis PR makes inconsistent/wrong rule's look-back
duration prominent for\r\na user. It falls back to a default 1 minute
value in rule upgrade\r\nworkflow.\r\n\r\n## Details\r\n\r\n###
Negative/wrong `lookback` problem\r\n\r\nThere is a difference between
rule schedule value in a saved object and\r\nvalue represented to
users\r\n\r\n- Saved object (and rule management API) has `interval`,
`from` and `to`\r\nfields representing rule schedule. `interval` shows
how often a rule\r\nruns in task runner. `from` and `to` stored in date
math format like\r\n`now-10m` represent a date time range used to fetch
source events. Task\r\nmanager strives to run rules exactly every
`interval` but it's not\r\nalways possible due to multiple reasons like
system load and various\r\ndelays. To avoid any gaps to appear `from`
point in time usually stands\r\nearlier than current time minus
`interval`, for example `interval` is\r\n`10 minutes` and `from` is
`now-12m` meaning rule will analyze events\r\nstarting from 12 minutes
old. `to` represents the latest point in time\r\nsource events will be
analyzed.\r\n- Diffable rule and UI represent rule schedule as
`interval` and\r\n`lookback`. Where `interval` is the same as above and
`lookback` and a\r\ntime duration before current time minus `interval`.
For example\r\n`interval` is `10 minutes` and lookback is `2 minutes` it
means a rule\r\nwill analyzing events starting with 12 minutes old until
the current\r\nmoment in time.\r\n\r\nLiterally `interval`, `from` and
`to` mean a rule runs every `interval`\r\nand analyzes events starting
from `from` until `to`. Technically `from`\r\nand `to` may not have any
correlation with `interval`, for example a\r\nrule may analyze one year
old events. While it's reasonable for manual\r\nrule runs and gap
remediation the same approach doesn't work well for\r\nusual rule
schedule. Transformation between `interval`/`from`/`to`
and\r\n`interval`/`lookback` works only when `to` is equal the current
moment\r\nin time i.e. `now`.\r\n\r\nRule management APIs allow to set
any `from` and `to` values resulting\r\nin inconsistent rule schedule.
Transformed `interval`/`lookback` value\r\nwon't represent real time
interval used to fetch source events for\r\nanalysis. On top of that
negative `lookback` value may puzzle users on\r\nthe meaning of the
negative sign.\r\n\r\n### Prebuilt rules with `interval`/`from`/`to`
resulting in negative\r\n`lookback`\r\n\r\nSome prebuilt rules have such
`interval`, `from` and `to` field values\r\nthatnegative `lookback` is
expected, for example `Multiple Okta Sessions\r\nDetected for a Single
User`. It runs every `60 minutes` but has `from`\r\nfield set to
`now-30m` and `to` equals `now`. In the end we have\r\n`lookback` equals
`to` - `from` - `interval` = `30 minutes` - `60\r\nminutes` = `-30
minutes`.\r\n\r\nOur UI doesn't handle negative `lookback` values. It
simply discards a\r\nnegative sign and substitutes the rest for editing.
In the case above\r\n`30 minutes` will be suggested for editing. Saving
the form will result\r\nin changing `from` to `now-90m`\r\n\r\n<img
width=\"1712\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/05519743-9562-4874-8a73-5596eeccacf2\"\r\n/>\r\n\r\n###
Changes in this PR\r\n\r\nThis PR mitigates rule schedule
inconsistencies caused by `to` fields\r\nnot using the current point in
time i.e. `now`. The following was done\r\n\r\n- `DiffableRule`'s
`rule_schedule` was changed to have `interval`,\r\n`from` and `to`
fields instead of `interval` and `lookback`\r\n- `_perform` rule upgrade
API endpoint was adapted to the new\r\n`DIffableRule`'s
`rule_schedule`\r\n- Rule upgrade flyout calculates and shows `interval`
and `lookback` in\r\nDiff View, readonly view and field form when
`lookback` is non-negative\r\nand `to` equals `now`\r\n- Rule upgrade
flyout shows `interval`, `from` and `to` in Diff View,\r\nreadonly view
and field form when `to` isn't equal `now` or calculated\r\n`lookback`
is negative\r\n- Rule upgrade flyout shows a warning when `to` isn't
equal `now` or\r\ncalculated `lookback` is negative\r\n- Rule upgrade
flyout's JSON Diff shows `interval` and `lookback` when\r\n`lookback` is
non-negative and `to` equals `now` and shows `interval`,\r\n`from` and
`to` in any other case\r\n- Rule details page shows `interval`, `from`
and `to` in Diff View,\r\nreadonly view and field form when `to` isn't
equal `now` or calculated\r\n`lookback` is negative\r\n- `maxValue` was
added to `ScheduleItemField` to have an ability to\r\nrestrict input at
reasonable values\r\n\r\n## Screenshots\r\n\r\n- Rule upgrade workflow
(negative look-back)\r\n\r\n<img width=\"2558\" alt=\"Screenshot
2025-01-02 at 13 16
59\"\r\nsrc=\"https://github.com/user-attachments/assets/b8bf727f-11ca-424f-892b-b024ba7f847a\"\r\n/>\r\n\r\n<img
width=\"2553\" alt=\"Screenshot 2025-01-02 at 13 17
20\"\r\nsrc=\"https://github.com/user-attachments/assets/9f751ea4-0ce0-4a23-a3b7-0a16494d957e\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 18
24\"\r\nsrc=\"https://github.com/user-attachments/assets/6908ab02-4011-4a6e-85ce-e60d5eac7993\"\r\n/>\r\n\r\n-
Rule upgrade workflow (positive look-back)\r\n\r\n<img width=\"2555\"
alt=\"Screenshot 2025-01-02 at 13 19
12\"\r\nsrc=\"https://github.com/user-attachments/assets/06208210-c6cd-4842-8aef-6ade5d13bd36\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 25
31\"\r\nsrc=\"https://github.com/user-attachments/assets/aed38bb0-ccfb-479a-bb3b-e5442c518e63\"\r\n/>\r\n\r\n-
JSON view\r\n\r\n<img width=\"2559\" alt=\"Screenshot 2025-01-02 at 13
31
37\"\r\nsrc=\"https://github.com/user-attachments/assets/07575a81-676f-418e-8b98-48eefe11ab00\"\r\n/>\r\n\r\n-
Rule details page\r\n\r\n<img width=\"2555\" alt=\"Screenshot 2025-01-02
at 13 13
16\"\r\nsrc=\"https://github.com/user-attachments/assets/e977b752-9d50-4049-917a-af2e8e3f0dfe\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 14
10\"\r\nsrc=\"https://github.com/user-attachments/assets/06d6f477-5730-48ca-a240-b5e7592bf173\"\r\n/>\r\n\r\n##
How to test?\r\n\r\n- Ensure the `prebuiltRulesCustomizationEnabled`
feature flag is enabled\r\n- Allow internal APIs via adding
`server.restrictInternalApis: false` to\r\n`kibana.dev.yaml`\r\n- Clear
Elasticsearch data\r\n- Run Elasticsearch and Kibana locally (do not
open Kibana in a web\r\nbrowser)\r\n- Install an outdated version of the
`security_detection_engine` Fleet\r\npackage\r\n```bash\r\ncurl -X POST
--user elastic:changeme -H 'Content-Type: application/json' -H
'kbn-xsrf: 123' -H \"elastic-api-version: 2023-10-31\" -d
'{\"force\":true}'
http://localhost:5601/kbn/api/fleet/epm/packages/security_detection_engine/8.14.1\r\n```\r\n\r\n-
Install prebuilt rules\r\n```bash\r\ncurl -X POST --user
elastic:changeme -H 'Content-Type: application/json' -H 'kbn-xsrf: 123'
-H \"elastic-api-version: 1\" -d '{\"mode\":\"ALL_RULES\"}'
http://localhost:5601/kbn/internal/detection_engine/prebuilt_rules/installation/_perform\r\n```\r\n\r\n-
Set \"inconsistent\" rule schedule for `Suspicious File Creation
via\r\nKworker` rule by running a query below\r\n```bash\r\ncurl -X
PATCH --user elastic:changeme -H \"Content-Type: application/json\" -H
\"elastic-api-version: 2023-10-31\" -H \"kbn-xsrf: 123\" -d
'{\"rule_id\":\"ae343298-97bc-47bc-9ea2-5f2ad831c16e\",\"interval\":\"10m\",\"from\":\"now-5m\",\"to\":\"now-2m\"}'
http://localhost:5601/kbn/api/detection_engine/rules\r\n```\r\n\r\n-
Open rule upgrade flyout for `Suspicious File Creation via
Kworker`\r\nrule\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"30bb71a516cf0e8e83caab99f9119057a3b1bc82","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","impact:high","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] Handle
negative lookback in rule upgrade
flyout","number":204317,"url":"https://github.com/elastic/kibana/pull/204317","mergeCommit":{"message":"[Security
Solution] Handle negative lookback in rule upgrade flyout
(#204317)\n\n**Fixes:
https://github.com/elastic/kibana/issues/202715**\r\n**Fixes:
https://github.com/elastic/kibana/issues/204714**\r\n\r\n##
Summary\r\n\r\nThis PR makes inconsistent/wrong rule's look-back
duration prominent for\r\na user. It falls back to a default 1 minute
value in rule upgrade\r\nworkflow.\r\n\r\n## Details\r\n\r\n###
Negative/wrong `lookback` problem\r\n\r\nThere is a difference between
rule schedule value in a saved object and\r\nvalue represented to
users\r\n\r\n- Saved object (and rule management API) has `interval`,
`from` and `to`\r\nfields representing rule schedule. `interval` shows
how often a rule\r\nruns in task runner. `from` and `to` stored in date
math format like\r\n`now-10m` represent a date time range used to fetch
source events. Task\r\nmanager strives to run rules exactly every
`interval` but it's not\r\nalways possible due to multiple reasons like
system load and various\r\ndelays. To avoid any gaps to appear `from`
point in time usually stands\r\nearlier than current time minus
`interval`, for example `interval` is\r\n`10 minutes` and `from` is
`now-12m` meaning rule will analyze events\r\nstarting from 12 minutes
old. `to` represents the latest point in time\r\nsource events will be
analyzed.\r\n- Diffable rule and UI represent rule schedule as
`interval` and\r\n`lookback`. Where `interval` is the same as above and
`lookback` and a\r\ntime duration before current time minus `interval`.
For example\r\n`interval` is `10 minutes` and lookback is `2 minutes` it
means a rule\r\nwill analyzing events starting with 12 minutes old until
the current\r\nmoment in time.\r\n\r\nLiterally `interval`, `from` and
`to` mean a rule runs every `interval`\r\nand analyzes events starting
from `from` until `to`. Technically `from`\r\nand `to` may not have any
correlation with `interval`, for example a\r\nrule may analyze one year
old events. While it's reasonable for manual\r\nrule runs and gap
remediation the same approach doesn't work well for\r\nusual rule
schedule. Transformation between `interval`/`from`/`to`
and\r\n`interval`/`lookback` works only when `to` is equal the current
moment\r\nin time i.e. `now`.\r\n\r\nRule management APIs allow to set
any `from` and `to` values resulting\r\nin inconsistent rule schedule.
Transformed `interval`/`lookback` value\r\nwon't represent real time
interval used to fetch source events for\r\nanalysis. On top of that
negative `lookback` value may puzzle users on\r\nthe meaning of the
negative sign.\r\n\r\n### Prebuilt rules with `interval`/`from`/`to`
resulting in negative\r\n`lookback`\r\n\r\nSome prebuilt rules have such
`interval`, `from` and `to` field values\r\nthatnegative `lookback` is
expected, for example `Multiple Okta Sessions\r\nDetected for a Single
User`. It runs every `60 minutes` but has `from`\r\nfield set to
`now-30m` and `to` equals `now`. In the end we have\r\n`lookback` equals
`to` - `from` - `interval` = `30 minutes` - `60\r\nminutes` = `-30
minutes`.\r\n\r\nOur UI doesn't handle negative `lookback` values. It
simply discards a\r\nnegative sign and substitutes the rest for editing.
In the case above\r\n`30 minutes` will be suggested for editing. Saving
the form will result\r\nin changing `from` to `now-90m`\r\n\r\n<img
width=\"1712\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/05519743-9562-4874-8a73-5596eeccacf2\"\r\n/>\r\n\r\n###
Changes in this PR\r\n\r\nThis PR mitigates rule schedule
inconsistencies caused by `to` fields\r\nnot using the current point in
time i.e. `now`. The following was done\r\n\r\n- `DiffableRule`'s
`rule_schedule` was changed to have `interval`,\r\n`from` and `to`
fields instead of `interval` and `lookback`\r\n- `_perform` rule upgrade
API endpoint was adapted to the new\r\n`DIffableRule`'s
`rule_schedule`\r\n- Rule upgrade flyout calculates and shows `interval`
and `lookback` in\r\nDiff View, readonly view and field form when
`lookback` is non-negative\r\nand `to` equals `now`\r\n- Rule upgrade
flyout shows `interval`, `from` and `to` in Diff View,\r\nreadonly view
and field form when `to` isn't equal `now` or calculated\r\n`lookback`
is negative\r\n- Rule upgrade flyout shows a warning when `to` isn't
equal `now` or\r\ncalculated `lookback` is negative\r\n- Rule upgrade
flyout's JSON Diff shows `interval` and `lookback` when\r\n`lookback` is
non-negative and `to` equals `now` and shows `interval`,\r\n`from` and
`to` in any other case\r\n- Rule details page shows `interval`, `from`
and `to` in Diff View,\r\nreadonly view and field form when `to` isn't
equal `now` or calculated\r\n`lookback` is negative\r\n- `maxValue` was
added to `ScheduleItemField` to have an ability to\r\nrestrict input at
reasonable values\r\n\r\n## Screenshots\r\n\r\n- Rule upgrade workflow
(negative look-back)\r\n\r\n<img width=\"2558\" alt=\"Screenshot
2025-01-02 at 13 16
59\"\r\nsrc=\"https://github.com/user-attachments/assets/b8bf727f-11ca-424f-892b-b024ba7f847a\"\r\n/>\r\n\r\n<img
width=\"2553\" alt=\"Screenshot 2025-01-02 at 13 17
20\"\r\nsrc=\"https://github.com/user-attachments/assets/9f751ea4-0ce0-4a23-a3b7-0a16494d957e\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 18
24\"\r\nsrc=\"https://github.com/user-attachments/assets/6908ab02-4011-4a6e-85ce-e60d5eac7993\"\r\n/>\r\n\r\n-
Rule upgrade workflow (positive look-back)\r\n\r\n<img width=\"2555\"
alt=\"Screenshot 2025-01-02 at 13 19
12\"\r\nsrc=\"https://github.com/user-attachments/assets/06208210-c6cd-4842-8aef-6ade5d13bd36\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 25
31\"\r\nsrc=\"https://github.com/user-attachments/assets/aed38bb0-ccfb-479a-bb3b-e5442c518e63\"\r\n/>\r\n\r\n-
JSON view\r\n\r\n<img width=\"2559\" alt=\"Screenshot 2025-01-02 at 13
31
37\"\r\nsrc=\"https://github.com/user-attachments/assets/07575a81-676f-418e-8b98-48eefe11ab00\"\r\n/>\r\n\r\n-
Rule details page\r\n\r\n<img width=\"2555\" alt=\"Screenshot 2025-01-02
at 13 13
16\"\r\nsrc=\"https://github.com/user-attachments/assets/e977b752-9d50-4049-917a-af2e8e3f0dfe\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 14
10\"\r\nsrc=\"https://github.com/user-attachments/assets/06d6f477-5730-48ca-a240-b5e7592bf173\"\r\n/>\r\n\r\n##
How to test?\r\n\r\n- Ensure the `prebuiltRulesCustomizationEnabled`
feature flag is enabled\r\n- Allow internal APIs via adding
`server.restrictInternalApis: false` to\r\n`kibana.dev.yaml`\r\n- Clear
Elasticsearch data\r\n- Run Elasticsearch and Kibana locally (do not
open Kibana in a web\r\nbrowser)\r\n- Install an outdated version of the
`security_detection_engine` Fleet\r\npackage\r\n```bash\r\ncurl -X POST
--user elastic:changeme -H 'Content-Type: application/json' -H
'kbn-xsrf: 123' -H \"elastic-api-version: 2023-10-31\" -d
'{\"force\":true}'
http://localhost:5601/kbn/api/fleet/epm/packages/security_detection_engine/8.14.1\r\n```\r\n\r\n-
Install prebuilt rules\r\n```bash\r\ncurl -X POST --user
elastic:changeme -H 'Content-Type: application/json' -H 'kbn-xsrf: 123'
-H \"elastic-api-version: 1\" -d '{\"mode\":\"ALL_RULES\"}'
http://localhost:5601/kbn/internal/detection_engine/prebuilt_rules/installation/_perform\r\n```\r\n\r\n-
Set \"inconsistent\" rule schedule for `Suspicious File Creation
via\r\nKworker` rule by running a query below\r\n```bash\r\ncurl -X
PATCH --user elastic:changeme -H \"Content-Type: application/json\" -H
\"elastic-api-version: 2023-10-31\" -H \"kbn-xsrf: 123\" -d
'{\"rule_id\":\"ae343298-97bc-47bc-9ea2-5f2ad831c16e\",\"interval\":\"10m\",\"from\":\"now-5m\",\"to\":\"now-2m\"}'
http://localhost:5601/kbn/api/detection_engine/rules\r\n```\r\n\r\n-
Open rule upgrade flyout for `Suspicious File Creation via
Kworker`\r\nrule\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"30bb71a516cf0e8e83caab99f9119057a3b1bc82"}},"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/204317","number":204317,"mergeCommit":{"message":"[Security
Solution] Handle negative lookback in rule upgrade flyout
(#204317)\n\n**Fixes:
https://github.com/elastic/kibana/issues/202715**\r\n**Fixes:
https://github.com/elastic/kibana/issues/204714**\r\n\r\n##
Summary\r\n\r\nThis PR makes inconsistent/wrong rule's look-back
duration prominent for\r\na user. It falls back to a default 1 minute
value in rule upgrade\r\nworkflow.\r\n\r\n## Details\r\n\r\n###
Negative/wrong `lookback` problem\r\n\r\nThere is a difference between
rule schedule value in a saved object and\r\nvalue represented to
users\r\n\r\n- Saved object (and rule management API) has `interval`,
`from` and `to`\r\nfields representing rule schedule. `interval` shows
how often a rule\r\nruns in task runner. `from` and `to` stored in date
math format like\r\n`now-10m` represent a date time range used to fetch
source events. Task\r\nmanager strives to run rules exactly every
`interval` but it's not\r\nalways possible due to multiple reasons like
system load and various\r\ndelays. To avoid any gaps to appear `from`
point in time usually stands\r\nearlier than current time minus
`interval`, for example `interval` is\r\n`10 minutes` and `from` is
`now-12m` meaning rule will analyze events\r\nstarting from 12 minutes
old. `to` represents the latest point in time\r\nsource events will be
analyzed.\r\n- Diffable rule and UI represent rule schedule as
`interval` and\r\n`lookback`. Where `interval` is the same as above and
`lookback` and a\r\ntime duration before current time minus `interval`.
For example\r\n`interval` is `10 minutes` and lookback is `2 minutes` it
means a rule\r\nwill analyzing events starting with 12 minutes old until
the current\r\nmoment in time.\r\n\r\nLiterally `interval`, `from` and
`to` mean a rule runs every `interval`\r\nand analyzes events starting
from `from` until `to`. Technically `from`\r\nand `to` may not have any
correlation with `interval`, for example a\r\nrule may analyze one year
old events. While it's reasonable for manual\r\nrule runs and gap
remediation the same approach doesn't work well for\r\nusual rule
schedule. Transformation between `interval`/`from`/`to`
and\r\n`interval`/`lookback` works only when `to` is equal the current
moment\r\nin time i.e. `now`.\r\n\r\nRule management APIs allow to set
any `from` and `to` values resulting\r\nin inconsistent rule schedule.
Transformed `interval`/`lookback` value\r\nwon't represent real time
interval used to fetch source events for\r\nanalysis. On top of that
negative `lookback` value may puzzle users on\r\nthe meaning of the
negative sign.\r\n\r\n### Prebuilt rules with `interval`/`from`/`to`
resulting in negative\r\n`lookback`\r\n\r\nSome prebuilt rules have such
`interval`, `from` and `to` field values\r\nthatnegative `lookback` is
expected, for example `Multiple Okta Sessions\r\nDetected for a Single
User`. It runs every `60 minutes` but has `from`\r\nfield set to
`now-30m` and `to` equals `now`. In the end we have\r\n`lookback` equals
`to` - `from` - `interval` = `30 minutes` - `60\r\nminutes` = `-30
minutes`.\r\n\r\nOur UI doesn't handle negative `lookback` values. It
simply discards a\r\nnegative sign and substitutes the rest for editing.
In the case above\r\n`30 minutes` will be suggested for editing. Saving
the form will result\r\nin changing `from` to `now-90m`\r\n\r\n<img
width=\"1712\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/05519743-9562-4874-8a73-5596eeccacf2\"\r\n/>\r\n\r\n###
Changes in this PR\r\n\r\nThis PR mitigates rule schedule
inconsistencies caused by `to` fields\r\nnot using the current point in
time i.e. `now`. The following was done\r\n\r\n- `DiffableRule`'s
`rule_schedule` was changed to have `interval`,\r\n`from` and `to`
fields instead of `interval` and `lookback`\r\n- `_perform` rule upgrade
API endpoint was adapted to the new\r\n`DIffableRule`'s
`rule_schedule`\r\n- Rule upgrade flyout calculates and shows `interval`
and `lookback` in\r\nDiff View, readonly view and field form when
`lookback` is non-negative\r\nand `to` equals `now`\r\n- Rule upgrade
flyout shows `interval`, `from` and `to` in Diff View,\r\nreadonly view
and field form when `to` isn't equal `now` or calculated\r\n`lookback`
is negative\r\n- Rule upgrade flyout shows a warning when `to` isn't
equal `now` or\r\ncalculated `lookback` is negative\r\n- Rule upgrade
flyout's JSON Diff shows `interval` and `lookback` when\r\n`lookback` is
non-negative and `to` equals `now` and shows `interval`,\r\n`from` and
`to` in any other case\r\n- Rule details page shows `interval`, `from`
and `to` in Diff View,\r\nreadonly view and field form when `to` isn't
equal `now` or calculated\r\n`lookback` is negative\r\n- `maxValue` was
added to `ScheduleItemField` to have an ability to\r\nrestrict input at
reasonable values\r\n\r\n## Screenshots\r\n\r\n- Rule upgrade workflow
(negative look-back)\r\n\r\n<img width=\"2558\" alt=\"Screenshot
2025-01-02 at 13 16
59\"\r\nsrc=\"https://github.com/user-attachments/assets/b8bf727f-11ca-424f-892b-b024ba7f847a\"\r\n/>\r\n\r\n<img
width=\"2553\" alt=\"Screenshot 2025-01-02 at 13 17
20\"\r\nsrc=\"https://github.com/user-attachments/assets/9f751ea4-0ce0-4a23-a3b7-0a16494d957e\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 18
24\"\r\nsrc=\"https://github.com/user-attachments/assets/6908ab02-4011-4a6e-85ce-e60d5eac7993\"\r\n/>\r\n\r\n-
Rule upgrade workflow (positive look-back)\r\n\r\n<img width=\"2555\"
alt=\"Screenshot 2025-01-02 at 13 19
12\"\r\nsrc=\"https://github.com/user-attachments/assets/06208210-c6cd-4842-8aef-6ade5d13bd36\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 25
31\"\r\nsrc=\"https://github.com/user-attachments/assets/aed38bb0-ccfb-479a-bb3b-e5442c518e63\"\r\n/>\r\n\r\n-
JSON view\r\n\r\n<img width=\"2559\" alt=\"Screenshot 2025-01-02 at 13
31
37\"\r\nsrc=\"https://github.com/user-attachments/assets/07575a81-676f-418e-8b98-48eefe11ab00\"\r\n/>\r\n\r\n-
Rule details page\r\n\r\n<img width=\"2555\" alt=\"Screenshot 2025-01-02
at 13 13
16\"\r\nsrc=\"https://github.com/user-attachments/assets/e977b752-9d50-4049-917a-af2e8e3f0dfe\"\r\n/>\r\n\r\n<img
width=\"2558\" alt=\"Screenshot 2025-01-02 at 13 14
10\"\r\nsrc=\"https://github.com/user-attachments/assets/06d6f477-5730-48ca-a240-b5e7592bf173\"\r\n/>\r\n\r\n##
How to test?\r\n\r\n- Ensure the `prebuiltRulesCustomizationEnabled`
feature flag is enabled\r\n- Allow internal APIs via adding
`server.restrictInternalApis: false` to\r\n`kibana.dev.yaml`\r\n- Clear
Elasticsearch data\r\n- Run Elasticsearch and Kibana locally (do not
open Kibana in a web\r\nbrowser)\r\n- Install an outdated version of the
`security_detection_engine` Fleet\r\npackage\r\n```bash\r\ncurl -X POST
--user elastic:changeme -H 'Content-Type: application/json' -H
'kbn-xsrf: 123' -H \"elastic-api-version: 2023-10-31\" -d
'{\"force\":true}'
http://localhost:5601/kbn/api/fleet/epm/packages/security_detection_engine/8.14.1\r\n```\r\n\r\n-
Install prebuilt rules\r\n```bash\r\ncurl -X POST --user
elastic:changeme -H 'Content-Type: application/json' -H 'kbn-xsrf: 123'
-H \"elastic-api-version: 1\" -d '{\"mode\":\"ALL_RULES\"}'
http://localhost:5601/kbn/internal/detection_engine/prebuilt_rules/installation/_perform\r\n```\r\n\r\n-
Set \"inconsistent\" rule schedule for `Suspicious File Creation
via\r\nKworker` rule by running a query below\r\n```bash\r\ncurl -X
PATCH --user elastic:changeme -H \"Content-Type: application/json\" -H
\"elastic-api-version: 2023-10-31\" -H \"kbn-xsrf: 123\" -d
'{\"rule_id\":\"ae343298-97bc-47bc-9ea2-5f2ad831c16e\",\"interval\":\"10m\",\"from\":\"now-5m\",\"to\":\"now-2m\"}'
http://localhost:5601/kbn/api/detection_engine/rules\r\n```\r\n\r\n-
Open rule upgrade flyout for `Suspicious File Creation via
Kworker`\r\nrule\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"30bb71a516cf0e8e83caab99f9119057a3b1bc82"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-21 13:19:10 +01:00
Joe Reuter
c65fe050fb
[8.x] 🌊 Streams: Make tests platform agnostic (#206979) (#207243)
# Backport

This will backport the following commits from `main` to `8.x`:
- 🌊 Streams: Make tests platform agnostic
(#206979)](https://github.com/elastic/kibana/pull/206979)
2025-01-20 18:25:52 +00:00
Kibana Machine
f8102fddb3
[8.x] [Rules migration] Threat Hunting team as a codeowner for SIEM Migrations integration tests (#207067) (#207076)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Rules migration] Threat Hunting team as a codeowner for SIEM
Migrations integration tests
(#207067)](https://github.com/elastic/kibana/pull/207067)

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

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

<!--BACKPORT [{"author":{"name":"Ievgen
Sorokopud","email":"ievgen.sorokopud@elastic.co"},"sourceCommit":{"committedDate":"2025-01-17T13:51:55Z","message":"[Rules
migration] Threat Hunting team as a codeowner for SIEM Migrations
integration tests (#207067)\n\n## Summary\r\n\r\n[Internal
link](https://github.com/elastic/security-team/issues/10820)\r\nto the
feature details\r\n\r\nSet @elastic/security-threat-hunting as
codewoners of the SIEM\r\nMigrations integration tests folder.\r\n\r\n>
[!NOTE] \r\n> This feature needs `siemMigrationsEnabled` experimental
flag enabled\r\nto
work.","sha":"64f872e61734275c45b51969e24f878e58bc966e","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:Threat
Hunting","Team: SecuritySolution","backport:prev-minor"],"title":"[Rules
migration] Threat Hunting team as a codeowner for SIEM Migrations
integration
tests","number":207067,"url":"https://github.com/elastic/kibana/pull/207067","mergeCommit":{"message":"[Rules
migration] Threat Hunting team as a codeowner for SIEM Migrations
integration tests (#207067)\n\n## Summary\r\n\r\n[Internal
link](https://github.com/elastic/security-team/issues/10820)\r\nto the
feature details\r\n\r\nSet @elastic/security-threat-hunting as
codewoners of the SIEM\r\nMigrations integration tests folder.\r\n\r\n>
[!NOTE] \r\n> This feature needs `siemMigrationsEnabled` experimental
flag enabled\r\nto
work.","sha":"64f872e61734275c45b51969e24f878e58bc966e"}},"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/207067","number":207067,"mergeCommit":{"message":"[Rules
migration] Threat Hunting team as a codeowner for SIEM Migrations
integration tests (#207067)\n\n## Summary\r\n\r\n[Internal
link](https://github.com/elastic/security-team/issues/10820)\r\nto the
feature details\r\n\r\nSet @elastic/security-threat-hunting as
codewoners of the SIEM\r\nMigrations integration tests folder.\r\n\r\n>
[!NOTE] \r\n> This feature needs `siemMigrationsEnabled` experimental
flag enabled\r\nto
work.","sha":"64f872e61734275c45b51969e24f878e58bc966e"}}]}] BACKPORT-->

Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2025-01-17 15:41:42 +00:00
Sergi Romeu
40e7ac8864
[8.x] [APM] Migrate APM Cypress tests to on_merge from on_merge_unsupported_ftrs (#203991) (#206929)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[APM] Migrate APM Cypress tests to &#x60;on_merge&#x60; from
&#x60;on_merge_unsupported_ftrs&#x60;
(#203991)](https://github.com/elastic/kibana/pull/203991)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-01-16T11:57:50Z","message":"[APM]
Migrate APM Cypress tests to `on_merge` from `on_merge_unsupported_ftrs`
(#203991)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/203837\n[Internal]
Closes\nhttps://github.com/elastic/observability-dev/issues/4126?reload=1?reload=1\n\nThis
PR moves APM Cypress tests to be run on the main pipeline instead\nof
the unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba92d08a58d67bc832078f52c8401d9e66598220","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["technical
debt","release_note:skip","v9.0.0","apm","backport:prev-minor","Team:obs-ux-infra_services"],"title":"[APM]
Migrate APM Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs`","number":203991,"url":"https://github.com/elastic/kibana/pull/203991","mergeCommit":{"message":"[APM]
Migrate APM Cypress tests to `on_merge` from `on_merge_unsupported_ftrs`
(#203991)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/203837\n[Internal]
Closes\nhttps://github.com/elastic/observability-dev/issues/4126?reload=1?reload=1\n\nThis
PR moves APM Cypress tests to be run on the main pipeline instead\nof
the unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba92d08a58d67bc832078f52c8401d9e66598220"}},"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/203991","number":203991,"mergeCommit":{"message":"[APM]
Migrate APM Cypress tests to `on_merge` from `on_merge_unsupported_ftrs`
(#203991)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/203837\n[Internal]
Closes\nhttps://github.com/elastic/observability-dev/issues/4126?reload=1?reload=1\n\nThis
PR moves APM Cypress tests to be run on the main pipeline instead\nof
the unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba92d08a58d67bc832078f52c8401d9e66598220"}}]}]
BACKPORT-->
2025-01-16 16:38:35 +01:00
Gerard Soldevila
04d2455ca1
[8.x] SKA: Relocate @kbn/grid-layout (#206821) (#206839)
# Backport

This will backport the following commits from `main` to `8.x`:
- [SKA: Relocate @kbn/grid-layout
(#206821)](https://github.com/elastic/kibana/pull/206821)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-01-15T17:39:41Z","message":"SKA:
Relocate @kbn/grid-layout (#206821)\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/grid-layout` |
`src/platform/packages/private/kbn-grid-layout` |\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./examples/grid_example/tsconfig.type_check.json\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-grid-layout/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.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/private/kbn-grid-layout/jest.config.js:12\r\nsrc/platform/packages/private/kbn-grid-layout/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-grid-layout/tsconfig.type_check.json:2\r\n```\r\n\r\n</details>","sha":"b21a70dabb4c306111f57589e9dbfa4d2d2f769a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","v9.0.0","backport:prev-minor"],"title":"SKA:
Relocate
@kbn/grid-layout","number":206821,"url":"https://github.com/elastic/kibana/pull/206821","mergeCommit":{"message":"SKA:
Relocate @kbn/grid-layout (#206821)\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/grid-layout` |
`src/platform/packages/private/kbn-grid-layout` |\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./examples/grid_example/tsconfig.type_check.json\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-grid-layout/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.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/private/kbn-grid-layout/jest.config.js:12\r\nsrc/platform/packages/private/kbn-grid-layout/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-grid-layout/tsconfig.type_check.json:2\r\n```\r\n\r\n</details>","sha":"b21a70dabb4c306111f57589e9dbfa4d2d2f769a"}},"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/206821","number":206821,"mergeCommit":{"message":"SKA:
Relocate @kbn/grid-layout (#206821)\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/grid-layout` |
`src/platform/packages/private/kbn-grid-layout` |\r\n\r\n\r\n<details
>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./examples/grid_example/tsconfig.type_check.json\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-grid-layout/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.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/private/kbn-grid-layout/jest.config.js:12\r\nsrc/platform/packages/private/kbn-grid-layout/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-grid-layout/tsconfig.type_check.json:2\r\n```\r\n\r\n</details>","sha":"b21a70dabb4c306111f57589e9dbfa4d2d2f769a"}}]}]
BACKPORT-->
2025-01-15 19:16:32 +00:00
Paul Tavares
91f01011d5
[8.x] [Stack Connectors][Microsoft Defender] Adds new connector for Microsoft Defender for Endpoint (#203183) (#206511)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Stack Connectors][Microsoft Defender] Adds new connector for
Microsoft Defender for Endpoint
(#203183)](https://github.com/elastic/kibana/pull/203183)

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

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

<!--BACKPORT [{"author":{"name":"Paul
Tavares","email":"56442535+paul-tavares@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-07T15:25:27Z","message":"[Stack
Connectors][Microsoft Defender] Adds new connector for Microsoft
Defender for Endpoint (#203183)\n\n## Summary\r\n\r\n- New connector for
Microsoft Defender for Endpoint. To be used in\r\nsupport of Security
Solution Bi-Directional response
actions.","sha":"b1957ae20910b613b93eff379fafe86e76ca1044","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:Defend
Workflows","backport:prev-minor","v8.18.0"],"number":203183,"url":"https://github.com/elastic/kibana/pull/203183","mergeCommit":{"message":"[Stack
Connectors][Microsoft Defender] Adds new connector for Microsoft
Defender for Endpoint (#203183)\n\n## Summary\r\n\r\n- New connector for
Microsoft Defender for Endpoint. To be used in\r\nsupport of Security
Solution Bi-Directional response
actions.","sha":"b1957ae20910b613b93eff379fafe86e76ca1044"}},"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/203183","number":203183,"mergeCommit":{"message":"[Stack
Connectors][Microsoft Defender] Adds new connector for Microsoft
Defender for Endpoint (#203183)\n\n## Summary\r\n\r\n- New connector for
Microsoft Defender for Endpoint. To be used in\r\nsupport of Security
Solution Bi-Directional response
actions.","sha":"b1957ae20910b613b93eff379fafe86e76ca1044"}},{"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>
2025-01-14 14:39:19 +01:00
Gerard Soldevila
5480b80ad6
[8.x] SKA: Relocate remaining modules (#206103) (#206471)
## Summary

Backport https://github.com/elastic/kibana/pull/206103 by re-running the
`relocate` script

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-14 08:56:57 +01:00
Arturo Lidueña
d7b26dc3aa
[8.x] Observability AI Assistant Tests Deployment Agnostic (#205194) (#206516)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Observability AI Assistant Tests Deployment Agnostic
(#205194)](https://github.com/elastic/kibana/pull/205194)

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

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

<!--BACKPORT [{"author":{"name":"Arturo
Lidueña","email":"arturo.liduena@elastic.co"},"sourceCommit":{"committedDate":"2025-01-13T15:03:51Z","message":"Observability
AI Assistant Tests Deployment Agnostic (#205194)\n\nCloses
#192718\r\n\r\n## Summary\r\n\r\nThis PR add a deployment-agnostic
testing environment for Observability\r\nAI Assistant tests by unifying
the duplicated tests for stateful and\r\nserverless environments. It
create the ObservabilityAIAssistantApiClient\r\nto work seamlessly in
both environments, enabling a single test to run\r\nacross stateful, CI,
and MKI.\r\n\r\nInitial efforts focus on deduplicating the
`conversations.spec.ts` and\r\n`connectors.spec.ts` files, as these
already run in all environments.\r\n\r\nMove / dedup the tests that
exist in stateful and serverless. They run\r\nin serverless CI but not
MKI and add the skipMki
tag.\r\n`chat.spec.ts`\r\n`complete.spec.ts`\r\n`elasticsearch.spec.ts`\r\n`public_complete.spec.ts`\r\n`alerts.spec.ts`\r\n`knowledge_base_setup.spec.ts`
\r\n`knowledge_base_status.spec.ts` \r\n`knowledge_base.spec.ts`
\r\n`summarize.ts`
\r\n`knowledge_base_user_instructions.spec.ts`","sha":"ee6c5bde34b984e14889eb136cfa1a9baa9991c0","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:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v8.18.0"],"number":205194,"url":"https://github.com/elastic/kibana/pull/205194","mergeCommit":{"message":"Observability
AI Assistant Tests Deployment Agnostic (#205194)\n\nCloses
#192718\r\n\r\n## Summary\r\n\r\nThis PR add a deployment-agnostic
testing environment for Observability\r\nAI Assistant tests by unifying
the duplicated tests for stateful and\r\nserverless environments. It
create the ObservabilityAIAssistantApiClient\r\nto work seamlessly in
both environments, enabling a single test to run\r\nacross stateful, CI,
and MKI.\r\n\r\nInitial efforts focus on deduplicating the
`conversations.spec.ts` and\r\n`connectors.spec.ts` files, as these
already run in all environments.\r\n\r\nMove / dedup the tests that
exist in stateful and serverless. They run\r\nin serverless CI but not
MKI and add the skipMki
tag.\r\n`chat.spec.ts`\r\n`complete.spec.ts`\r\n`elasticsearch.spec.ts`\r\n`public_complete.spec.ts`\r\n`alerts.spec.ts`\r\n`knowledge_base_setup.spec.ts`
\r\n`knowledge_base_status.spec.ts` \r\n`knowledge_base.spec.ts`
\r\n`summarize.ts`
\r\n`knowledge_base_user_instructions.spec.ts`","sha":"ee6c5bde34b984e14889eb136cfa1a9baa9991c0"}},"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/205194","number":205194,"mergeCommit":{"message":"Observability
AI Assistant Tests Deployment Agnostic (#205194)\n\nCloses
#192718\r\n\r\n## Summary\r\n\r\nThis PR add a deployment-agnostic
testing environment for Observability\r\nAI Assistant tests by unifying
the duplicated tests for stateful and\r\nserverless environments. It
create the ObservabilityAIAssistantApiClient\r\nto work seamlessly in
both environments, enabling a single test to run\r\nacross stateful, CI,
and MKI.\r\n\r\nInitial efforts focus on deduplicating the
`conversations.spec.ts` and\r\n`connectors.spec.ts` files, as these
already run in all environments.\r\n\r\nMove / dedup the tests that
exist in stateful and serverless. They run\r\nin serverless CI but not
MKI and add the skipMki
tag.\r\n`chat.spec.ts`\r\n`complete.spec.ts`\r\n`elasticsearch.spec.ts`\r\n`public_complete.spec.ts`\r\n`alerts.spec.ts`\r\n`knowledge_base_setup.spec.ts`
\r\n`knowledge_base_status.spec.ts` \r\n`knowledge_base.spec.ts`
\r\n`summarize.ts`
\r\n`knowledge_base_user_instructions.spec.ts`","sha":"ee6c5bde34b984e14889eb136cfa1a9baa9991c0"}},{"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>
2025-01-13 22:59:46 +00:00
Marco Antonio Ghiani
432643af89
[8.x] [Streams 🌊] Stream enrichment processors management (#204793) (#206255)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Streams 🌊] Stream enrichment processors management
(#204793)](https://github.com/elastic/kibana/pull/204793)

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

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

<!--BACKPORT [{"author":{"name":"Marco Antonio
Ghiani","email":"marcoantonio.ghiani01@gmail.com"},"sourceCommit":{"committedDate":"2025-01-10T11:01:55Z","message":"[Streams
🌊] Stream enrichment processors management (#204793)\n\n## 📓
Summary\r\n\r\nPart of
#https://github.com/elastic/streams-program/issues/32\r\n\r\nThis work
implements a UI for basic stream enrichment, supporting grok\r\nand
dissect processor + detected fields mapping.\r\n\r\nThe main features
implemented in this PR consist of:\r\n- **Sortable processors
list**\r\n- **Add new processor - Grok, Dissect**\r\n - Ad-hoc forms for
each processor\r\n - Simulated document outcome with extracted
fields\r\n - Filter matching documents with parsed fields\r\n - Mapping
detected fields (only available for wired streams)\r\n- **Edit
processor**\r\n - Change configuration only\r\n - Delete processor
CTA\r\n\r\nAs a side quest, I added a small package for object utils
as\r\n@simianhacker suggested.\r\n`@kbn/object-utils` exposes
`calculateObjectDiff` and `flattenObject` to\r\ndetect the changed
fields in a simulation.\r\n\r\n## 🔜 Follow-up work\r\n\r\nI'll work on
minor updates on top of this MVP to make this available for\r\nfurther
testing from the team.\r\nThe next steps will be:\r\n- **Tests** for
features that consolidate on the functional pov.\r\n- Better field
mapping detection and UI feedback (infer the type of the\r\ndetected
field, currently always unmapped)\r\n- Add better form validation and
feedback for processor configuration.\r\n\r\nAs discussed offline, state
management is purely based on the built-in\r\nreact APIs +
react-hook-form. It could be improved with different\r\napproaches,
including a more solid state management library to make it\r\neasier to
maintain and bulletproof to race conditions. No state syncs\r\nwith the
URL currently.\r\n\r\n## 🎥
Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/a48fade9-f5aa-4270-bb19-d91d1eed822b\r\n\r\n---------\r\n\r\nCo-authored-by:
Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"abf00ee777a40b9487b87927e8fc1baa49ab7d02","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","Feature:Streams"],"number":204793,"url":"https://github.com/elastic/kibana/pull/204793","mergeCommit":{"message":"[Streams
🌊] Stream enrichment processors management (#204793)\n\n## 📓
Summary\r\n\r\nPart of
#https://github.com/elastic/streams-program/issues/32\r\n\r\nThis work
implements a UI for basic stream enrichment, supporting grok\r\nand
dissect processor + detected fields mapping.\r\n\r\nThe main features
implemented in this PR consist of:\r\n- **Sortable processors
list**\r\n- **Add new processor - Grok, Dissect**\r\n - Ad-hoc forms for
each processor\r\n - Simulated document outcome with extracted
fields\r\n - Filter matching documents with parsed fields\r\n - Mapping
detected fields (only available for wired streams)\r\n- **Edit
processor**\r\n - Change configuration only\r\n - Delete processor
CTA\r\n\r\nAs a side quest, I added a small package for object utils
as\r\n@simianhacker suggested.\r\n`@kbn/object-utils` exposes
`calculateObjectDiff` and `flattenObject` to\r\ndetect the changed
fields in a simulation.\r\n\r\n## 🔜 Follow-up work\r\n\r\nI'll work on
minor updates on top of this MVP to make this available for\r\nfurther
testing from the team.\r\nThe next steps will be:\r\n- **Tests** for
features that consolidate on the functional pov.\r\n- Better field
mapping detection and UI feedback (infer the type of the\r\ndetected
field, currently always unmapped)\r\n- Add better form validation and
feedback for processor configuration.\r\n\r\nAs discussed offline, state
management is purely based on the built-in\r\nreact APIs +
react-hook-form. It could be improved with different\r\napproaches,
including a more solid state management library to make it\r\neasier to
maintain and bulletproof to race conditions. No state syncs\r\nwith the
URL currently.\r\n\r\n## 🎥
Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/a48fade9-f5aa-4270-bb19-d91d1eed822b\r\n\r\n---------\r\n\r\nCo-authored-by:
Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"abf00ee777a40b9487b87927e8fc1baa49ab7d02"}},"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/204793","number":204793,"mergeCommit":{"message":"[Streams
🌊] Stream enrichment processors management (#204793)\n\n## 📓
Summary\r\n\r\nPart of
#https://github.com/elastic/streams-program/issues/32\r\n\r\nThis work
implements a UI for basic stream enrichment, supporting grok\r\nand
dissect processor + detected fields mapping.\r\n\r\nThe main features
implemented in this PR consist of:\r\n- **Sortable processors
list**\r\n- **Add new processor - Grok, Dissect**\r\n - Ad-hoc forms for
each processor\r\n - Simulated document outcome with extracted
fields\r\n - Filter matching documents with parsed fields\r\n - Mapping
detected fields (only available for wired streams)\r\n- **Edit
processor**\r\n - Change configuration only\r\n - Delete processor
CTA\r\n\r\nAs a side quest, I added a small package for object utils
as\r\n@simianhacker suggested.\r\n`@kbn/object-utils` exposes
`calculateObjectDiff` and `flattenObject` to\r\ndetect the changed
fields in a simulation.\r\n\r\n## 🔜 Follow-up work\r\n\r\nI'll work on
minor updates on top of this MVP to make this available for\r\nfurther
testing from the team.\r\nThe next steps will be:\r\n- **Tests** for
features that consolidate on the functional pov.\r\n- Better field
mapping detection and UI feedback (infer the type of the\r\ndetected
field, currently always unmapped)\r\n- Add better form validation and
feedback for processor configuration.\r\n\r\nAs discussed offline, state
management is purely based on the built-in\r\nreact APIs +
react-hook-form. It could be improved with different\r\napproaches,
including a more solid state management library to make it\r\neasier to
maintain and bulletproof to race conditions. No state syncs\r\nwith the
URL currently.\r\n\r\n## 🎥
Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/a48fade9-f5aa-4270-bb19-d91d1eed822b\r\n\r\n---------\r\n\r\nCo-authored-by:
Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"abf00ee777a40b9487b87927e8fc1baa49ab7d02"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-13 12:16:02 +01:00
Gerard Soldevila
fddd6d0217
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-visualizations (#202754) (#205974)
# Backport

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

<!--- 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":"2025-01-08T11:19:24Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-visualizations` (#202754)\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####
29 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/charts-plugin` |
`src/platform/plugins/shared/charts` |\r\n| `@kbn/data-plugin` |
`src/platform/plugins/shared/data` |\r\n|
`@kbn/event-annotation-listing-plugin`
|\r\n`src/platform/plugins/private/event_annotation_listing` |\r\n|
`@kbn/event-annotation-plugin`
|\r\n`src/platform/plugins/private/event_annotation` |\r\n|
`@kbn/expression-gauge-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_gauge`
|\r\n| `@kbn/expression-heatmap-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_heatmap`
|\r\n| `@kbn/expression-legacy-metric-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_legacy_metric`\r\n|\r\n|
`@kbn/expression-metric-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_metric`
|\r\n| `@kbn/expression-partition-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_partition_vis`\r\n|\r\n|
`@kbn/expression-tagcloud-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_tagcloud`
|\r\n| `@kbn/expression-xy-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_xy`
|\r\n| `@kbn/expressions-plugin` |
`src/platform/plugins/shared/expressions`\r\n|\r\n| `@kbn/graph-plugin`
| `x-pack/platform/plugins/private/graph` |\r\n| `@kbn/lens-plugin` |
`x-pack/platform/plugins/shared/lens` |\r\n|
`@kbn/unified-search-plugin`
|\r\n`src/platform/plugins/shared/unified_search` |\r\n|
`@kbn/url-forwarding-plugin`
|\r\n`src/platform/plugins/private/url_forwarding` |\r\n|
`@kbn/vis-default-editor-plugin`
|\r\n`src/platform/plugins/private/vis_default_editor` |\r\n|
`@kbn/vis-type-gauge-plugin`
|\r\n`src/platform/plugins/private/vis_types/gauge` |\r\n|
`@kbn/vis-type-heatmap-plugin`
|\r\n`src/platform/plugins/private/vis_types/heatmap` |\r\n|
`@kbn/vis-type-metric-plugin`
|\r\n`src/platform/plugins/private/vis_types/metric` |\r\n|
`@kbn/vis-type-pie-plugin`
|\r\n`src/platform/plugins/private/vis_types/pie` |\r\n|
`@kbn/vis-type-table-plugin`
|\r\n`src/platform/plugins/private/vis_types/table` |\r\n|
`@kbn/vis-type-tagcloud-plugin`
|\r\n`src/platform/plugins/private/vis_types/tagcloud` |\r\n|
`@kbn/vis-type-timelion-plugin`
|\r\n`src/platform/plugins/private/vis_types/timelion` |\r\n|
`@kbn/vis-type-timeseries-plugin`
|\r\n`src/platform/plugins/shared/vis_types/timeseries` |\r\n|
`@kbn/vis-type-vega-plugin`
|\r\n`src/platform/plugins/private/vis_types/vega` |\r\n|
`@kbn/vis-type-vislib-plugin`
|\r\n`src/platform/plugins/private/vis_types/vislib` |\r\n|
`@kbn/vis-type-xy-plugin`
|\r\n`src/platform/plugins/private/vis_types/xy` |\r\n|
`@kbn/visualizations-plugin`
|\r\n`src/platform/plugins/shared/visualizations`
|\r\n\r\n\r\n\r\n\r\n#### 18 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/calculate-width-from-char-count`
|\r\n`src/platform/packages/shared/kbn-calculate-width-from-char-count`
|\r\n| `@kbn/chart-expressions-common`
|\r\n`src/platform/packages/shared/chart-expressions-common` |\r\n|
`@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons`
|\r\n| `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring`
|\r\n| `@kbn/data-service` |
`src/platform/packages/shared/kbn-data-service`\r\n|\r\n|
`@kbn/dom-drag-drop`
|\r\n`src/platform/packages/shared/kbn-dom-drag-drop` |\r\n|
`@kbn/event-annotation-common`
|\r\n`src/platform/packages/shared/kbn-event-annotation-common` |\r\n|
`@kbn/event-annotation-components`
|\r\n`src/platform/packages/shared/kbn-event-annotation-components`
|\r\n| `@kbn/interpreter` |
`src/platform/packages/shared/kbn-interpreter` |\r\n|
`@kbn/lens-formula-docs`
|\r\n`src/platform/packages/private/kbn-lens-formula-docs` |\r\n|
`@kbn/managed-content-badge`
|\r\n`src/platform/packages/private/kbn-managed-content-badge` |\r\n|
`@kbn/random-sampling`
|\r\n`x-pack/platform/packages/private/kbn-random-sampling` |\r\n|
`@kbn/sort-predicates`
|\r\n`src/platform/packages/shared/kbn-sort-predicates` |\r\n|
`@kbn/timelion-grammar`
|\r\n`src/platform/packages/private/kbn-timelion-grammar` |\r\n|
`@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` |\r\n|
`@kbn/transpose-utils`
|\r\n`src/platform/packages/private/kbn-transpose-utils` |\r\n|
`@kbn/visualization-ui-components`
|\r\n`src/platform/packages/shared/kbn-visualization-ui-components`
|\r\n| `@kbn/visualization-utils`
|\r\n`src/platform/packages/shared/kbn-visualization-utils`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/architecture/core/elasticsearch-service.asciidoc\r\n./docs/developer/architecture/development-visualize-index.asciidoc\r\n./docs/developer/best-practices/index.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/search_examples/public/plugin.ts\r\n./package.json\r\n./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts\r\n./packages/kbn-docs-utils/src/utils.ts\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/build/tasks/package_json/find_used_dependencies.ts\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt\r\n./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js\r\n./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js\r\n./src/platform/packages/private/kbn-managed-content-badge/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/packages/private/kbn-tinymath/README.md\r\n./src/platform/packages/private/kbn-tinymath/jest.config.js\r\n./src/platform/packages/private/kbn-transpose-utils/jest.config.js\r\n./src/platform/packages/shared/chart-expressions-common/jest.config.js\r\n./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js\r\n./src/platform/packages/shared/kbn-chart-icons/jest.config.js\r\n./src/platform/packages/shared/kbn-coloring/jest.config.js\r\n./src/platform/packages/shared/kbn-data-service/jest.config.js\r\n./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js\r\n./src/platform/packages/shared/kbn-interpreter/jest.config.js\r\n./src/platform/packages/shared/kbn-sort-predicates/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-utils/jest.config.js\r\n./src/platform/plugins/private/event_annotation/jest.config.js\r\n./src/platform/plugins/private/event_annotation_listing/jest.config.js\r\n./src/platform/plugins/private/url_forwarding/jest.config.js\r\n./src/platform/plugins/private/vis_default_editor/jest.config.js\r\n./src/platform/plugins/private/vis_types/gauge/jest.config.js\r\n./src/platform/plugins/private/vis_types/heatmap/jest.config.js\r\n./src/platform/plugins/private/vis_types/metric/jest.config.js\r\n./src/platform/plugins/private/vis_types/pie/jest.config.js\r\n./src/platform/plugins/private/vis_types/table/jest.config.js\r\n./src/platform/plugins/private/vis_types/tagcloud/jest.config.js\r\n./src/platform/plugins/private/vis_types/timelion/jest.config.js\r\n./src/platform/plugins/private/vis_types/vega/jest.config.js\r\n./src/platform/plugins/private/vis_types/vislib/jest.config.js\r\n./src/platform/plugins/private/vis_types/xy/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js\r\n./src/platform/plugins/shared/charts/jest.config.js\r\n./src/platform/plugins/shared/custom_integrations/jest.config.js\r\n./src/platform/plugins/shared/data/jest.config.js\r\n./src/platform/plugins/shared/expressions/README.asciidoc\r\n./src/platform/plugins/shared/expressions/jest.config.js\r\n./src/platform/plugins/shared/unified_search/jest.config.js\r\n./src/platform/plugins/shared/vis_types/timeseries/jest.config.js\r\n./src/platform/plugins/shared/visualizations/jest.config.js\r\n./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js\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/packages/private/kbn-random-sampling/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts\r\n./x-pack/platform/plugins/private/graph/README.md\r\n./x-pack/platform/plugins/private/graph/jest.config.js\r\n./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts\r\n./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js\r\n./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts\r\n./x-pack/platform/plugins/shared/lens/jest.config.js\r\n./x-pack/platform/plugins/shared/lens/readme.md\r\n./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts\r\n./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts\r\n./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js\r\n./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts\r\n./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js\r\n./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts\r\n./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts\r\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts\r\n./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts\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/private/kbn-lens-formula-docs/jest.config.js:12\r\nsrc/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-managed-content-badge/jest.config.js:12\r\nsrc/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-tinymath/jest.config.js:12\r\nsrc/platform/packages/private/kbn-tinymath/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-transpose-utils/jest.config.js:12\r\nsrc/platform/packages/private/kbn-transpose-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/chart-expressions-common/jest.config.js:12\r\nsrc/platform/packages/shared/chart-expressions-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-chart-icons/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-chart-icons/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-coloring/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-coloring/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-data-service/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-data-service/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-interpreter/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-interpreter/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sort-predicates/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation_listing/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation_listing/tsconfig.json:2\r\nsrc/platform/plugins/private/url_forwarding/jest.config.js:12\r\nsrc/platform/plugins/private/url_forwarding/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_default_editor/README.md:8\r\nsrc/platform/plugins/private/vis_default_editor/jest.config.js:12\r\nsrc/platform/plugins/private/vis_default_editor/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/gauge/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/gauge/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/heatmap/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/heatmap/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/metric/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/metric/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/pie/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/pie/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/table/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/table/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/tagcloud/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/timelion/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/timelion/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vega/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vega/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vislib/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vislib/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/xy/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/charts/jest.config.js:12\r\nsrc/platform/plugins/shared/charts/tsconfig.json:2\r\nsrc/platform/plugins/shared/data/jest.config.js:12\r\nsrc/platform/plugins/shared/data/tsconfig.json:13\r\nsrc/platform/plugins/shared/data/tsconfig.json:2\r\nsrc/platform/plugins/shared/expressions/jest.config.js:12\r\nsrc/platform/plugins/shared/expressions/tsconfig.json:2\r\nsrc/platform/plugins/shared/unified_search/jest.config.js:12\r\nsrc/platform/plugins/shared/unified_search/tsconfig.json:2\r\nsrc/platform/plugins/shared/vis_types/timeseries/jest.config.js:12\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/jest.config.js:12\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:6\r\nx-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2\r\nx-pack/platform/plugins/private/graph/jest.config.js:10\r\nx-pack/platform/plugins/private/graph/tsconfig.json:13\r\nx-pack/platform/plugins/private/graph/tsconfig.json:3\r\nx-pack/platform/plugins/shared/lens/jest.config.js:10\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:2\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:6\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":"a382d35dd28ae43053d28bcc74778118a92b9540","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Visualizations","release_note:skip","v9.0.0","backport:prev-minor","plugin
groups"],"number":202754,"url":"https://github.com/elastic/kibana/pull/202754","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-visualizations` (#202754)\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####
29 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/charts-plugin` |
`src/platform/plugins/shared/charts` |\r\n| `@kbn/data-plugin` |
`src/platform/plugins/shared/data` |\r\n|
`@kbn/event-annotation-listing-plugin`
|\r\n`src/platform/plugins/private/event_annotation_listing` |\r\n|
`@kbn/event-annotation-plugin`
|\r\n`src/platform/plugins/private/event_annotation` |\r\n|
`@kbn/expression-gauge-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_gauge`
|\r\n| `@kbn/expression-heatmap-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_heatmap`
|\r\n| `@kbn/expression-legacy-metric-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_legacy_metric`\r\n|\r\n|
`@kbn/expression-metric-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_metric`
|\r\n| `@kbn/expression-partition-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_partition_vis`\r\n|\r\n|
`@kbn/expression-tagcloud-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_tagcloud`
|\r\n| `@kbn/expression-xy-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_xy`
|\r\n| `@kbn/expressions-plugin` |
`src/platform/plugins/shared/expressions`\r\n|\r\n| `@kbn/graph-plugin`
| `x-pack/platform/plugins/private/graph` |\r\n| `@kbn/lens-plugin` |
`x-pack/platform/plugins/shared/lens` |\r\n|
`@kbn/unified-search-plugin`
|\r\n`src/platform/plugins/shared/unified_search` |\r\n|
`@kbn/url-forwarding-plugin`
|\r\n`src/platform/plugins/private/url_forwarding` |\r\n|
`@kbn/vis-default-editor-plugin`
|\r\n`src/platform/plugins/private/vis_default_editor` |\r\n|
`@kbn/vis-type-gauge-plugin`
|\r\n`src/platform/plugins/private/vis_types/gauge` |\r\n|
`@kbn/vis-type-heatmap-plugin`
|\r\n`src/platform/plugins/private/vis_types/heatmap` |\r\n|
`@kbn/vis-type-metric-plugin`
|\r\n`src/platform/plugins/private/vis_types/metric` |\r\n|
`@kbn/vis-type-pie-plugin`
|\r\n`src/platform/plugins/private/vis_types/pie` |\r\n|
`@kbn/vis-type-table-plugin`
|\r\n`src/platform/plugins/private/vis_types/table` |\r\n|
`@kbn/vis-type-tagcloud-plugin`
|\r\n`src/platform/plugins/private/vis_types/tagcloud` |\r\n|
`@kbn/vis-type-timelion-plugin`
|\r\n`src/platform/plugins/private/vis_types/timelion` |\r\n|
`@kbn/vis-type-timeseries-plugin`
|\r\n`src/platform/plugins/shared/vis_types/timeseries` |\r\n|
`@kbn/vis-type-vega-plugin`
|\r\n`src/platform/plugins/private/vis_types/vega` |\r\n|
`@kbn/vis-type-vislib-plugin`
|\r\n`src/platform/plugins/private/vis_types/vislib` |\r\n|
`@kbn/vis-type-xy-plugin`
|\r\n`src/platform/plugins/private/vis_types/xy` |\r\n|
`@kbn/visualizations-plugin`
|\r\n`src/platform/plugins/shared/visualizations`
|\r\n\r\n\r\n\r\n\r\n#### 18 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/calculate-width-from-char-count`
|\r\n`src/platform/packages/shared/kbn-calculate-width-from-char-count`
|\r\n| `@kbn/chart-expressions-common`
|\r\n`src/platform/packages/shared/chart-expressions-common` |\r\n|
`@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons`
|\r\n| `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring`
|\r\n| `@kbn/data-service` |
`src/platform/packages/shared/kbn-data-service`\r\n|\r\n|
`@kbn/dom-drag-drop`
|\r\n`src/platform/packages/shared/kbn-dom-drag-drop` |\r\n|
`@kbn/event-annotation-common`
|\r\n`src/platform/packages/shared/kbn-event-annotation-common` |\r\n|
`@kbn/event-annotation-components`
|\r\n`src/platform/packages/shared/kbn-event-annotation-components`
|\r\n| `@kbn/interpreter` |
`src/platform/packages/shared/kbn-interpreter` |\r\n|
`@kbn/lens-formula-docs`
|\r\n`src/platform/packages/private/kbn-lens-formula-docs` |\r\n|
`@kbn/managed-content-badge`
|\r\n`src/platform/packages/private/kbn-managed-content-badge` |\r\n|
`@kbn/random-sampling`
|\r\n`x-pack/platform/packages/private/kbn-random-sampling` |\r\n|
`@kbn/sort-predicates`
|\r\n`src/platform/packages/shared/kbn-sort-predicates` |\r\n|
`@kbn/timelion-grammar`
|\r\n`src/platform/packages/private/kbn-timelion-grammar` |\r\n|
`@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` |\r\n|
`@kbn/transpose-utils`
|\r\n`src/platform/packages/private/kbn-transpose-utils` |\r\n|
`@kbn/visualization-ui-components`
|\r\n`src/platform/packages/shared/kbn-visualization-ui-components`
|\r\n| `@kbn/visualization-utils`
|\r\n`src/platform/packages/shared/kbn-visualization-utils`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/architecture/core/elasticsearch-service.asciidoc\r\n./docs/developer/architecture/development-visualize-index.asciidoc\r\n./docs/developer/best-practices/index.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/search_examples/public/plugin.ts\r\n./package.json\r\n./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts\r\n./packages/kbn-docs-utils/src/utils.ts\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/build/tasks/package_json/find_used_dependencies.ts\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt\r\n./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js\r\n./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js\r\n./src/platform/packages/private/kbn-managed-content-badge/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/packages/private/kbn-tinymath/README.md\r\n./src/platform/packages/private/kbn-tinymath/jest.config.js\r\n./src/platform/packages/private/kbn-transpose-utils/jest.config.js\r\n./src/platform/packages/shared/chart-expressions-common/jest.config.js\r\n./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js\r\n./src/platform/packages/shared/kbn-chart-icons/jest.config.js\r\n./src/platform/packages/shared/kbn-coloring/jest.config.js\r\n./src/platform/packages/shared/kbn-data-service/jest.config.js\r\n./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js\r\n./src/platform/packages/shared/kbn-interpreter/jest.config.js\r\n./src/platform/packages/shared/kbn-sort-predicates/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-utils/jest.config.js\r\n./src/platform/plugins/private/event_annotation/jest.config.js\r\n./src/platform/plugins/private/event_annotation_listing/jest.config.js\r\n./src/platform/plugins/private/url_forwarding/jest.config.js\r\n./src/platform/plugins/private/vis_default_editor/jest.config.js\r\n./src/platform/plugins/private/vis_types/gauge/jest.config.js\r\n./src/platform/plugins/private/vis_types/heatmap/jest.config.js\r\n./src/platform/plugins/private/vis_types/metric/jest.config.js\r\n./src/platform/plugins/private/vis_types/pie/jest.config.js\r\n./src/platform/plugins/private/vis_types/table/jest.config.js\r\n./src/platform/plugins/private/vis_types/tagcloud/jest.config.js\r\n./src/platform/plugins/private/vis_types/timelion/jest.config.js\r\n./src/platform/plugins/private/vis_types/vega/jest.config.js\r\n./src/platform/plugins/private/vis_types/vislib/jest.config.js\r\n./src/platform/plugins/private/vis_types/xy/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js\r\n./src/platform/plugins/shared/charts/jest.config.js\r\n./src/platform/plugins/shared/custom_integrations/jest.config.js\r\n./src/platform/plugins/shared/data/jest.config.js\r\n./src/platform/plugins/shared/expressions/README.asciidoc\r\n./src/platform/plugins/shared/expressions/jest.config.js\r\n./src/platform/plugins/shared/unified_search/jest.config.js\r\n./src/platform/plugins/shared/vis_types/timeseries/jest.config.js\r\n./src/platform/plugins/shared/visualizations/jest.config.js\r\n./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js\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/packages/private/kbn-random-sampling/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts\r\n./x-pack/platform/plugins/private/graph/README.md\r\n./x-pack/platform/plugins/private/graph/jest.config.js\r\n./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts\r\n./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js\r\n./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts\r\n./x-pack/platform/plugins/shared/lens/jest.config.js\r\n./x-pack/platform/plugins/shared/lens/readme.md\r\n./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts\r\n./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts\r\n./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js\r\n./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts\r\n./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js\r\n./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts\r\n./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts\r\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts\r\n./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts\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/private/kbn-lens-formula-docs/jest.config.js:12\r\nsrc/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-managed-content-badge/jest.config.js:12\r\nsrc/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-tinymath/jest.config.js:12\r\nsrc/platform/packages/private/kbn-tinymath/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-transpose-utils/jest.config.js:12\r\nsrc/platform/packages/private/kbn-transpose-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/chart-expressions-common/jest.config.js:12\r\nsrc/platform/packages/shared/chart-expressions-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-chart-icons/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-chart-icons/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-coloring/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-coloring/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-data-service/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-data-service/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-interpreter/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-interpreter/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sort-predicates/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation_listing/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation_listing/tsconfig.json:2\r\nsrc/platform/plugins/private/url_forwarding/jest.config.js:12\r\nsrc/platform/plugins/private/url_forwarding/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_default_editor/README.md:8\r\nsrc/platform/plugins/private/vis_default_editor/jest.config.js:12\r\nsrc/platform/plugins/private/vis_default_editor/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/gauge/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/gauge/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/heatmap/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/heatmap/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/metric/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/metric/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/pie/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/pie/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/table/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/table/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/tagcloud/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/timelion/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/timelion/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vega/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vega/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vislib/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vislib/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/xy/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/charts/jest.config.js:12\r\nsrc/platform/plugins/shared/charts/tsconfig.json:2\r\nsrc/platform/plugins/shared/data/jest.config.js:12\r\nsrc/platform/plugins/shared/data/tsconfig.json:13\r\nsrc/platform/plugins/shared/data/tsconfig.json:2\r\nsrc/platform/plugins/shared/expressions/jest.config.js:12\r\nsrc/platform/plugins/shared/expressions/tsconfig.json:2\r\nsrc/platform/plugins/shared/unified_search/jest.config.js:12\r\nsrc/platform/plugins/shared/unified_search/tsconfig.json:2\r\nsrc/platform/plugins/shared/vis_types/timeseries/jest.config.js:12\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/jest.config.js:12\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:6\r\nx-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2\r\nx-pack/platform/plugins/private/graph/jest.config.js:10\r\nx-pack/platform/plugins/private/graph/tsconfig.json:13\r\nx-pack/platform/plugins/private/graph/tsconfig.json:3\r\nx-pack/platform/plugins/shared/lens/jest.config.js:10\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:2\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:6\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":"a382d35dd28ae43053d28bcc74778118a92b9540"}},"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/202754","number":202754,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-visualizations` (#202754)\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####
29 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/charts-plugin` |
`src/platform/plugins/shared/charts` |\r\n| `@kbn/data-plugin` |
`src/platform/plugins/shared/data` |\r\n|
`@kbn/event-annotation-listing-plugin`
|\r\n`src/platform/plugins/private/event_annotation_listing` |\r\n|
`@kbn/event-annotation-plugin`
|\r\n`src/platform/plugins/private/event_annotation` |\r\n|
`@kbn/expression-gauge-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_gauge`
|\r\n| `@kbn/expression-heatmap-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_heatmap`
|\r\n| `@kbn/expression-legacy-metric-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_legacy_metric`\r\n|\r\n|
`@kbn/expression-metric-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_metric`
|\r\n| `@kbn/expression-partition-vis-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_partition_vis`\r\n|\r\n|
`@kbn/expression-tagcloud-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_tagcloud`
|\r\n| `@kbn/expression-xy-plugin`
|\r\n`src/platform/plugins/shared/chart_expressions/expression_xy`
|\r\n| `@kbn/expressions-plugin` |
`src/platform/plugins/shared/expressions`\r\n|\r\n| `@kbn/graph-plugin`
| `x-pack/platform/plugins/private/graph` |\r\n| `@kbn/lens-plugin` |
`x-pack/platform/plugins/shared/lens` |\r\n|
`@kbn/unified-search-plugin`
|\r\n`src/platform/plugins/shared/unified_search` |\r\n|
`@kbn/url-forwarding-plugin`
|\r\n`src/platform/plugins/private/url_forwarding` |\r\n|
`@kbn/vis-default-editor-plugin`
|\r\n`src/platform/plugins/private/vis_default_editor` |\r\n|
`@kbn/vis-type-gauge-plugin`
|\r\n`src/platform/plugins/private/vis_types/gauge` |\r\n|
`@kbn/vis-type-heatmap-plugin`
|\r\n`src/platform/plugins/private/vis_types/heatmap` |\r\n|
`@kbn/vis-type-metric-plugin`
|\r\n`src/platform/plugins/private/vis_types/metric` |\r\n|
`@kbn/vis-type-pie-plugin`
|\r\n`src/platform/plugins/private/vis_types/pie` |\r\n|
`@kbn/vis-type-table-plugin`
|\r\n`src/platform/plugins/private/vis_types/table` |\r\n|
`@kbn/vis-type-tagcloud-plugin`
|\r\n`src/platform/plugins/private/vis_types/tagcloud` |\r\n|
`@kbn/vis-type-timelion-plugin`
|\r\n`src/platform/plugins/private/vis_types/timelion` |\r\n|
`@kbn/vis-type-timeseries-plugin`
|\r\n`src/platform/plugins/shared/vis_types/timeseries` |\r\n|
`@kbn/vis-type-vega-plugin`
|\r\n`src/platform/plugins/private/vis_types/vega` |\r\n|
`@kbn/vis-type-vislib-plugin`
|\r\n`src/platform/plugins/private/vis_types/vislib` |\r\n|
`@kbn/vis-type-xy-plugin`
|\r\n`src/platform/plugins/private/vis_types/xy` |\r\n|
`@kbn/visualizations-plugin`
|\r\n`src/platform/plugins/shared/visualizations`
|\r\n\r\n\r\n\r\n\r\n#### 18 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/calculate-width-from-char-count`
|\r\n`src/platform/packages/shared/kbn-calculate-width-from-char-count`
|\r\n| `@kbn/chart-expressions-common`
|\r\n`src/platform/packages/shared/chart-expressions-common` |\r\n|
`@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons`
|\r\n| `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring`
|\r\n| `@kbn/data-service` |
`src/platform/packages/shared/kbn-data-service`\r\n|\r\n|
`@kbn/dom-drag-drop`
|\r\n`src/platform/packages/shared/kbn-dom-drag-drop` |\r\n|
`@kbn/event-annotation-common`
|\r\n`src/platform/packages/shared/kbn-event-annotation-common` |\r\n|
`@kbn/event-annotation-components`
|\r\n`src/platform/packages/shared/kbn-event-annotation-components`
|\r\n| `@kbn/interpreter` |
`src/platform/packages/shared/kbn-interpreter` |\r\n|
`@kbn/lens-formula-docs`
|\r\n`src/platform/packages/private/kbn-lens-formula-docs` |\r\n|
`@kbn/managed-content-badge`
|\r\n`src/platform/packages/private/kbn-managed-content-badge` |\r\n|
`@kbn/random-sampling`
|\r\n`x-pack/platform/packages/private/kbn-random-sampling` |\r\n|
`@kbn/sort-predicates`
|\r\n`src/platform/packages/shared/kbn-sort-predicates` |\r\n|
`@kbn/timelion-grammar`
|\r\n`src/platform/packages/private/kbn-timelion-grammar` |\r\n|
`@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` |\r\n|
`@kbn/transpose-utils`
|\r\n`src/platform/packages/private/kbn-transpose-utils` |\r\n|
`@kbn/visualization-ui-components`
|\r\n`src/platform/packages/shared/kbn-visualization-ui-components`
|\r\n| `@kbn/visualization-utils`
|\r\n`src/platform/packages/shared/kbn-visualization-utils`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintignore\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/architecture/core/elasticsearch-service.asciidoc\r\n./docs/developer/architecture/development-visualize-index.asciidoc\r\n./docs/developer/best-practices/index.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./examples/search_examples/public/plugin.ts\r\n./package.json\r\n./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts\r\n./packages/kbn-docs-utils/src/utils.ts\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/build/tasks/package_json/find_used_dependencies.ts\r\n./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js\r\n./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt\r\n./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js\r\n./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js\r\n./src/platform/packages/private/kbn-managed-content-badge/jest.config.js\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./src/platform/packages/private/kbn-tinymath/README.md\r\n./src/platform/packages/private/kbn-tinymath/jest.config.js\r\n./src/platform/packages/private/kbn-transpose-utils/jest.config.js\r\n./src/platform/packages/shared/chart-expressions-common/jest.config.js\r\n./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js\r\n./src/platform/packages/shared/kbn-chart-icons/jest.config.js\r\n./src/platform/packages/shared/kbn-coloring/jest.config.js\r\n./src/platform/packages/shared/kbn-data-service/jest.config.js\r\n./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js\r\n./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js\r\n./src/platform/packages/shared/kbn-interpreter/jest.config.js\r\n./src/platform/packages/shared/kbn-sort-predicates/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js\r\n./src/platform/packages/shared/kbn-visualization-utils/jest.config.js\r\n./src/platform/plugins/private/event_annotation/jest.config.js\r\n./src/platform/plugins/private/event_annotation_listing/jest.config.js\r\n./src/platform/plugins/private/url_forwarding/jest.config.js\r\n./src/platform/plugins/private/vis_default_editor/jest.config.js\r\n./src/platform/plugins/private/vis_types/gauge/jest.config.js\r\n./src/platform/plugins/private/vis_types/heatmap/jest.config.js\r\n./src/platform/plugins/private/vis_types/metric/jest.config.js\r\n./src/platform/plugins/private/vis_types/pie/jest.config.js\r\n./src/platform/plugins/private/vis_types/table/jest.config.js\r\n./src/platform/plugins/private/vis_types/tagcloud/jest.config.js\r\n./src/platform/plugins/private/vis_types/timelion/jest.config.js\r\n./src/platform/plugins/private/vis_types/vega/jest.config.js\r\n./src/platform/plugins/private/vis_types/vislib/jest.config.js\r\n./src/platform/plugins/private/vis_types/xy/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js\r\n./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js\r\n./src/platform/plugins/shared/charts/jest.config.js\r\n./src/platform/plugins/shared/custom_integrations/jest.config.js\r\n./src/platform/plugins/shared/data/jest.config.js\r\n./src/platform/plugins/shared/expressions/README.asciidoc\r\n./src/platform/plugins/shared/expressions/jest.config.js\r\n./src/platform/plugins/shared/unified_search/jest.config.js\r\n./src/platform/plugins/shared/vis_types/timeseries/jest.config.js\r\n./src/platform/plugins/shared/visualizations/jest.config.js\r\n./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js\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/packages/private/kbn-random-sampling/jest.config.js\r\n./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts\r\n./x-pack/platform/plugins/private/graph/README.md\r\n./x-pack/platform/plugins/private/graph/jest.config.js\r\n./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts\r\n./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js\r\n./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts\r\n./x-pack/platform/plugins/shared/lens/jest.config.js\r\n./x-pack/platform/plugins/shared/lens/readme.md\r\n./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts\r\n./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts\r\n./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json\r\n./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js\r\n./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts\r\n./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js\r\n./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts\r\n./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts\r\n./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts\r\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts\r\n./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts\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/private/kbn-lens-formula-docs/jest.config.js:12\r\nsrc/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-managed-content-badge/jest.config.js:12\r\nsrc/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-tinymath/jest.config.js:12\r\nsrc/platform/packages/private/kbn-tinymath/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-transpose-utils/jest.config.js:12\r\nsrc/platform/packages/private/kbn-transpose-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/chart-expressions-common/jest.config.js:12\r\nsrc/platform/packages/shared/chart-expressions-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-chart-icons/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-chart-icons/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-coloring/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-coloring/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-data-service/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-data-service/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-interpreter/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-interpreter/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sort-predicates/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-visualization-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation/tsconfig.json:2\r\nsrc/platform/plugins/private/event_annotation_listing/jest.config.js:12\r\nsrc/platform/plugins/private/event_annotation_listing/tsconfig.json:2\r\nsrc/platform/plugins/private/url_forwarding/jest.config.js:12\r\nsrc/platform/plugins/private/url_forwarding/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_default_editor/README.md:8\r\nsrc/platform/plugins/private/vis_default_editor/jest.config.js:12\r\nsrc/platform/plugins/private/vis_default_editor/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/gauge/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/gauge/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/heatmap/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/heatmap/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/metric/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/metric/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/pie/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/pie/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/table/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/table/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/tagcloud/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/timelion/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/timelion/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vega/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vega/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/vislib/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/vislib/tsconfig.json:2\r\nsrc/platform/plugins/private/vis_types/xy/jest.config.js:12\r\nsrc/platform/plugins/private/vis_types/xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12\r\nsrc/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2\r\nsrc/platform/plugins/shared/charts/jest.config.js:12\r\nsrc/platform/plugins/shared/charts/tsconfig.json:2\r\nsrc/platform/plugins/shared/data/jest.config.js:12\r\nsrc/platform/plugins/shared/data/tsconfig.json:13\r\nsrc/platform/plugins/shared/data/tsconfig.json:2\r\nsrc/platform/plugins/shared/expressions/jest.config.js:12\r\nsrc/platform/plugins/shared/expressions/tsconfig.json:2\r\nsrc/platform/plugins/shared/unified_search/jest.config.js:12\r\nsrc/platform/plugins/shared/unified_search/tsconfig.json:2\r\nsrc/platform/plugins/shared/vis_types/timeseries/jest.config.js:12\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11\r\nsrc/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/jest.config.js:12\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:2\r\nsrc/platform/plugins/shared/visualizations/tsconfig.json:6\r\nx-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2\r\nx-pack/platform/plugins/private/graph/jest.config.js:10\r\nx-pack/platform/plugins/private/graph/tsconfig.json:13\r\nx-pack/platform/plugins/private/graph/tsconfig.json:3\r\nx-pack/platform/plugins/shared/lens/jest.config.js:10\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:2\r\nx-pack/platform/plugins/shared/lens/tsconfig.json:6\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":"a382d35dd28ae43053d28bcc74778118a92b9540"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-13 10:53:37 +00:00
Nick Partridge
892f68d129
[8.x] Update dependency @elastic/charts to v68.0.4 (main) (#203955) (#206127)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Update dependency @elastic/charts to v68.0.4 (main)
(#203955)](https://github.com/elastic/kibana/pull/203955)

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

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

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 17:07:17 -07:00
Tomasz Kajtoch
434d008adb
[8.x] Update styled_components_files.js to include all files that import styled-components (#206084)
## Summary

This is a manual backport of
https://github.com/elastic/kibana/pull/205011 with regenerated
`styled_components_files.js` to match `8.x` code.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-10 22:11:34 +00:00
Anton Dosov
037207e6fe
[8.x] Sustainable Kibana Architecture: Move the rest of shared-ux modules (#205924) (#206269)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move the rest of shared-ux modules
(#205924)](https://github.com/elastic/kibana/pull/205924)

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

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2025-01-10T11:30:37Z","message":"Sustainable
Kibana Architecture: Move the rest of shared-ux modules (#205924)\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/url-drilldown-plugin`
|\r\n`x-pack/platform/plugins/private/drilldowns/url_drilldown`
|\r\n\r\n\r\n\r\n\r\n#### 21 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/core-chrome-browser` | `src/core/packages/chrome/browser` |\r\n|
`@kbn/deeplinks-shared`
|\r\n`src/platform/packages/shared/deeplinks/shared` |\r\n|
`@kbn/home-sample-data-card`
|\r\n`src/platform/packages/shared/home/sample_data_card` |\r\n|
`@kbn/home-sample-data-tab`
|\r\n`src/platform/packages/shared/home/sample_data_tab` |\r\n|
`@kbn/home-sample-data-types`
|\r\n`src/platform/packages/shared/home/sample_data_types` |\r\n|
`@kbn/guided-onboarding`
|\r\n`src/platform/packages/shared/kbn-guided-onboarding` |\r\n|
`@kbn/item-buffer` | `src/platform/packages/private/kbn-item-buffer`
|\r\n| `@kbn/management-settings-section-registry`
|\r\n`src/platform/packages/shared/kbn-management/settings/section_registry`\r\n|\r\n|
`@kbn/management-settings-ids`
|\r\n`src/platform/packages/shared/kbn-management/settings/setting_ids`
|\r\n| `@kbn/react-mute-legacy-root-warning`
|\r\n`src/platform/packages/private/kbn-react-mute-legacy-root-warning`
|\r\n| `@kbn/saved-objects-settings`
|\r\n`src/platform/packages/private/kbn-saved-objects-settings` |\r\n|
`@kbn/react-kibana-context-common`
|\r\n`src/platform/packages/shared/react/kibana_context/common` |\r\n|
`@kbn/react-kibana-context-render`
|\r\n`src/platform/packages/shared/react/kibana_context/render` |\r\n|
`@kbn/react-kibana-context-root`
|\r\n`src/platform/packages/shared/react/kibana_context/root` |\r\n|
`@kbn/react-kibana-context-styled`
|\r\n`src/platform/packages/shared/react/kibana_context/styled` |\r\n|
`@kbn/react-kibana-context-theme`
|\r\n`src/platform/packages/shared/react/kibana_context/theme` |\r\n|
`@kbn/react-kibana-mount`
|\r\n`src/platform/packages/shared/react/kibana_mount` |\r\n|
`@kbn/serverless-project-switcher`
|\r\n`src/platform/packages/private/serverless/project_switcher` |\r\n|
`@kbn/serverless-common-settings`
|\r\n`src/platform/packages/private/serverless/settings/common` |\r\n|
`@kbn/serverless-observability-settings`
|\r\n`src/platform/packages/shared/serverless/settings/observability_project`\r\n|\r\n|
`@kbn/serverless-types`
|\r\n`src/platform/packages/private/serverless/types`
|\r\n\r\n\r\n<details >\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/core/packages/chrome/browser/jest.config.js:12\r\nsrc/core/packages/chrome/browser/tsconfig.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:21\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:24\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:27\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:30\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:33\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:36\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:39\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:42\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:45\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:48\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:51\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:54\r\nsrc/platform/packages/private/kbn-item-buffer/jest.config.js:12\r\nsrc/platform/packages/private/kbn-item-buffer/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/jest.config.js:12\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/jest.config.js:12\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/jest.config.js:12\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:23\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:20\r\nsrc/platform/packages/private/serverless/types/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:29\r\nsrc/platform/packages/shared/home/sample_data_tab/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_types/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_context/root/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/react/kibana_context/styled/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/theme/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/private/drilldowns/url_drilldown/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>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"64b6a1a5e7f779e61799186ff3605beaeb7227e3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Drilldowns","v9.0.0","Team:SharedUX","backport:prev-minor","plugin
groups"],"number":205924,"url":"https://github.com/elastic/kibana/pull/205924","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move the rest of shared-ux modules (#205924)\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/url-drilldown-plugin`
|\r\n`x-pack/platform/plugins/private/drilldowns/url_drilldown`
|\r\n\r\n\r\n\r\n\r\n#### 21 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/core-chrome-browser` | `src/core/packages/chrome/browser` |\r\n|
`@kbn/deeplinks-shared`
|\r\n`src/platform/packages/shared/deeplinks/shared` |\r\n|
`@kbn/home-sample-data-card`
|\r\n`src/platform/packages/shared/home/sample_data_card` |\r\n|
`@kbn/home-sample-data-tab`
|\r\n`src/platform/packages/shared/home/sample_data_tab` |\r\n|
`@kbn/home-sample-data-types`
|\r\n`src/platform/packages/shared/home/sample_data_types` |\r\n|
`@kbn/guided-onboarding`
|\r\n`src/platform/packages/shared/kbn-guided-onboarding` |\r\n|
`@kbn/item-buffer` | `src/platform/packages/private/kbn-item-buffer`
|\r\n| `@kbn/management-settings-section-registry`
|\r\n`src/platform/packages/shared/kbn-management/settings/section_registry`\r\n|\r\n|
`@kbn/management-settings-ids`
|\r\n`src/platform/packages/shared/kbn-management/settings/setting_ids`
|\r\n| `@kbn/react-mute-legacy-root-warning`
|\r\n`src/platform/packages/private/kbn-react-mute-legacy-root-warning`
|\r\n| `@kbn/saved-objects-settings`
|\r\n`src/platform/packages/private/kbn-saved-objects-settings` |\r\n|
`@kbn/react-kibana-context-common`
|\r\n`src/platform/packages/shared/react/kibana_context/common` |\r\n|
`@kbn/react-kibana-context-render`
|\r\n`src/platform/packages/shared/react/kibana_context/render` |\r\n|
`@kbn/react-kibana-context-root`
|\r\n`src/platform/packages/shared/react/kibana_context/root` |\r\n|
`@kbn/react-kibana-context-styled`
|\r\n`src/platform/packages/shared/react/kibana_context/styled` |\r\n|
`@kbn/react-kibana-context-theme`
|\r\n`src/platform/packages/shared/react/kibana_context/theme` |\r\n|
`@kbn/react-kibana-mount`
|\r\n`src/platform/packages/shared/react/kibana_mount` |\r\n|
`@kbn/serverless-project-switcher`
|\r\n`src/platform/packages/private/serverless/project_switcher` |\r\n|
`@kbn/serverless-common-settings`
|\r\n`src/platform/packages/private/serverless/settings/common` |\r\n|
`@kbn/serverless-observability-settings`
|\r\n`src/platform/packages/shared/serverless/settings/observability_project`\r\n|\r\n|
`@kbn/serverless-types`
|\r\n`src/platform/packages/private/serverless/types`
|\r\n\r\n\r\n<details >\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/core/packages/chrome/browser/jest.config.js:12\r\nsrc/core/packages/chrome/browser/tsconfig.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:21\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:24\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:27\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:30\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:33\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:36\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:39\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:42\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:45\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:48\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:51\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:54\r\nsrc/platform/packages/private/kbn-item-buffer/jest.config.js:12\r\nsrc/platform/packages/private/kbn-item-buffer/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/jest.config.js:12\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/jest.config.js:12\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/jest.config.js:12\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:23\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:20\r\nsrc/platform/packages/private/serverless/types/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:29\r\nsrc/platform/packages/shared/home/sample_data_tab/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_types/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_context/root/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/react/kibana_context/styled/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/theme/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/private/drilldowns/url_drilldown/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>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"64b6a1a5e7f779e61799186ff3605beaeb7227e3"}},"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/205924","number":205924,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move the rest of shared-ux modules (#205924)\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/url-drilldown-plugin`
|\r\n`x-pack/platform/plugins/private/drilldowns/url_drilldown`
|\r\n\r\n\r\n\r\n\r\n#### 21 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/core-chrome-browser` | `src/core/packages/chrome/browser` |\r\n|
`@kbn/deeplinks-shared`
|\r\n`src/platform/packages/shared/deeplinks/shared` |\r\n|
`@kbn/home-sample-data-card`
|\r\n`src/platform/packages/shared/home/sample_data_card` |\r\n|
`@kbn/home-sample-data-tab`
|\r\n`src/platform/packages/shared/home/sample_data_tab` |\r\n|
`@kbn/home-sample-data-types`
|\r\n`src/platform/packages/shared/home/sample_data_types` |\r\n|
`@kbn/guided-onboarding`
|\r\n`src/platform/packages/shared/kbn-guided-onboarding` |\r\n|
`@kbn/item-buffer` | `src/platform/packages/private/kbn-item-buffer`
|\r\n| `@kbn/management-settings-section-registry`
|\r\n`src/platform/packages/shared/kbn-management/settings/section_registry`\r\n|\r\n|
`@kbn/management-settings-ids`
|\r\n`src/platform/packages/shared/kbn-management/settings/setting_ids`
|\r\n| `@kbn/react-mute-legacy-root-warning`
|\r\n`src/platform/packages/private/kbn-react-mute-legacy-root-warning`
|\r\n| `@kbn/saved-objects-settings`
|\r\n`src/platform/packages/private/kbn-saved-objects-settings` |\r\n|
`@kbn/react-kibana-context-common`
|\r\n`src/platform/packages/shared/react/kibana_context/common` |\r\n|
`@kbn/react-kibana-context-render`
|\r\n`src/platform/packages/shared/react/kibana_context/render` |\r\n|
`@kbn/react-kibana-context-root`
|\r\n`src/platform/packages/shared/react/kibana_context/root` |\r\n|
`@kbn/react-kibana-context-styled`
|\r\n`src/platform/packages/shared/react/kibana_context/styled` |\r\n|
`@kbn/react-kibana-context-theme`
|\r\n`src/platform/packages/shared/react/kibana_context/theme` |\r\n|
`@kbn/react-kibana-mount`
|\r\n`src/platform/packages/shared/react/kibana_mount` |\r\n|
`@kbn/serverless-project-switcher`
|\r\n`src/platform/packages/private/serverless/project_switcher` |\r\n|
`@kbn/serverless-common-settings`
|\r\n`src/platform/packages/private/serverless/settings/common` |\r\n|
`@kbn/serverless-observability-settings`
|\r\n`src/platform/packages/shared/serverless/settings/observability_project`\r\n|\r\n|
`@kbn/serverless-types`
|\r\n`src/platform/packages/private/serverless/types`
|\r\n\r\n\r\n<details >\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/core/packages/chrome/browser/jest.config.js:12\r\nsrc/core/packages/chrome/browser/tsconfig.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:2\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:21\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:24\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:27\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:30\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:33\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:36\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:39\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:42\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:45\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:48\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:51\r\nsrc/core/packages/chrome/browser/tsconfig.type_check.json:54\r\nsrc/platform/packages/private/kbn-item-buffer/jest.config.js:12\r\nsrc/platform/packages/private/kbn-item-buffer/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/jest.config.js:12\r\nsrc/platform/packages/private/kbn-react-mute-legacy-root-warning/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/jest.config.js:12\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-saved-objects-settings/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/jest.config.js:12\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:23\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:20\r\nsrc/platform/packages/private/serverless/types/tsconfig.json:2\r\nsrc/platform/packages/private/serverless/types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/shared/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:29\r\nsrc/platform/packages/shared/home/sample_data_tab/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:23\r\nsrc/platform/packages/shared/home/sample_data_types/jest.config.js:12\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.json:2\r\nsrc/platform/packages/shared/home/sample_data_types/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-guided-onboarding/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/common/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_context/root/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/react/kibana_context/styled/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_context/theme/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/jest.config.js:12\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:22\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:20\r\nx-pack/platform/plugins/private/drilldowns/url_drilldown/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>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"64b6a1a5e7f779e61799186ff3605beaeb7227e3"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 14:51:47 +00:00
Dario Gieselaar
bb9d120a52
[8.x] [Streams] Dashboard linking (#204309) (#205842)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-01-07T21:04:42Z","message":"[Streams]
Dashboard linking (#204309)\n\nLinks dashboard to
Streams.\n\nChanges:\n- Introduces `IndexStorageAdapter` to manage ES
indices -
see\nhttps://github.com/dgieselaar/kibana/blob/streams-app-asset-linking/x-pack/solutions/observability/packages/utils_server/es/storage/README.md\nfor
motivation\n- Introduces `AssetClient` and `AssetService` to manage
asset links with\n`IndexStorageAdapter`\n- `RepositorySupertestClient`
to make it easier to use\n`@kbn/server-route-repository` with FTR
tests\n- refactors related to above
changes\n\n---------\n\nCo-authored-by: Chris Cowan
<chris@elastic.co>\nCo-authored-by: Joe Reuter
<johannes.reuter@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"28414ce988f604f3d0ecbb6c484d3cd25ec8408b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:version","v8.18.0","Feature:Streams"],"number":204309,"url":"https://github.com/elastic/kibana/pull/204309","mergeCommit":{"message":"[Streams]
Dashboard linking (#204309)\n\nLinks dashboard to
Streams.\n\nChanges:\n- Introduces `IndexStorageAdapter` to manage ES
indices -
see\nhttps://github.com/dgieselaar/kibana/blob/streams-app-asset-linking/x-pack/solutions/observability/packages/utils_server/es/storage/README.md\nfor
motivation\n- Introduces `AssetClient` and `AssetService` to manage
asset links with\n`IndexStorageAdapter`\n- `RepositorySupertestClient`
to make it easier to use\n`@kbn/server-route-repository` with FTR
tests\n- refactors related to above
changes\n\n---------\n\nCo-authored-by: Chris Cowan
<chris@elastic.co>\nCo-authored-by: Joe Reuter
<johannes.reuter@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"28414ce988f604f3d0ecbb6c484d3cd25ec8408b"}},"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/204309","number":204309,"mergeCommit":{"message":"[Streams]
Dashboard linking (#204309)\n\nLinks dashboard to
Streams.\n\nChanges:\n- Introduces `IndexStorageAdapter` to manage ES
indices -
see\nhttps://github.com/dgieselaar/kibana/blob/streams-app-asset-linking/x-pack/solutions/observability/packages/utils_server/es/storage/README.md\nfor
motivation\n- Introduces `AssetClient` and `AssetService` to manage
asset links with\n`IndexStorageAdapter`\n- `RepositorySupertestClient`
to make it easier to use\n`@kbn/server-route-repository` with FTR
tests\n- refactors related to above
changes\n\n---------\n\nCo-authored-by: Chris Cowan
<chris@elastic.co>\nCo-authored-by: Joe Reuter
<johannes.reuter@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"28414ce988f604f3d0ecbb6c484d3cd25ec8408b"}},{"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>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2025-01-10 14:10:40 +00:00
Anton Dosov
5cd26eef91
[8.x] Sustainable Kibana Architecture: Move CodeEditor related packages #205587 (#205738) (#205919)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move `CodeEditor` related packages
#205587 (#205738)](https://github.com/elastic/kibana/pull/205738)

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

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T14:25:47Z","message":"Sustainable
Kibana Architecture: Move `CodeEditor` related packages #205587
(#205738)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/code-editor`
|\r\n`src/platform/packages/shared/shared-ux/code_editor/impl` |\r\n|
`@kbn/code-editor-mock`
|\r\n`src/platform/packages/shared/shared-ux/code_editor/mocks` |\r\n|
`@kbn/monaco` | `src/platform/packages/shared/kbn-monaco`
|\r\n\r\n\r\n<details >\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-monaco/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/jest.config.js:12\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:25\r\n```\r\n\r\n</details>","sha":"3b2ab7b4134c05c00a74a70d7905f6b06e1364c1","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","plugin
groups"],"number":205738,"url":"https://github.com/elastic/kibana/pull/205738","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move `CodeEditor` related packages #205587
(#205738)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/code-editor`
|\r\n`src/platform/packages/shared/shared-ux/code_editor/impl` |\r\n|
`@kbn/code-editor-mock`
|\r\n`src/platform/packages/shared/shared-ux/code_editor/mocks` |\r\n|
`@kbn/monaco` | `src/platform/packages/shared/kbn-monaco`
|\r\n\r\n\r\n<details >\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-monaco/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/jest.config.js:12\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:25\r\n```\r\n\r\n</details>","sha":"3b2ab7b4134c05c00a74a70d7905f6b06e1364c1"}},"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/205738","number":205738,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move `CodeEditor` related packages #205587
(#205738)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/code-editor`
|\r\n`src/platform/packages/shared/shared-ux/code_editor/impl` |\r\n|
`@kbn/code-editor-mock`
|\r\n`src/platform/packages/shared/shared-ux/code_editor/mocks` |\r\n|
`@kbn/monaco` | `src/platform/packages/shared/kbn-monaco`
|\r\n\r\n\r\n<details >\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-monaco/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-monaco/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/jest.config.js:12\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:25\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:28\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:31\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:34\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:37\r\nsrc/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:40\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:16\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:18\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:2\r\nsrc/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:25\r\n```\r\n\r\n</details>","sha":"3b2ab7b4134c05c00a74a70d7905f6b06e1364c1"}}]}]
BACKPORT-->

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-10 11:20:26 +00:00
Gerard Soldevila
d8aefa7172
[8.x] [Cloud Experiments] Flag as private (#206121) (#206230)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Experiments] Flag as private
(#206121)](https://github.com/elastic/kibana/pull/206121)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2025-01-10T08:17:40Z","message":"[Cloud
Experiments] Flag as private
(#206121)","sha":"41a42555f9a70bfe8f083866f2f38de24c316322","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":206121,"url":"https://github.com/elastic/kibana/pull/206121","mergeCommit":{"message":"[Cloud
Experiments] Flag as private
(#206121)","sha":"41a42555f9a70bfe8f083866f2f38de24c316322"}},"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/206121","number":206121,"mergeCommit":{"message":"[Cloud
Experiments] Flag as private
(#206121)","sha":"41a42555f9a70bfe8f083866f2f38de24c316322"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2025-01-10 10:55:05 +00:00
Gerard Soldevila
da866fc6c4
[8.x] Make saved_objects_tagging plugin shared (#205695) (#205868)
# Backport

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

<!--- 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":"2025-01-07T17:15:17Z","message":"Make
`saved_objects_tagging` plugin shared (#205695)\n\n## Summary\r\n\r\nSo
that it can be used from `streams_app` (o11y).\r\nSee
https://github.com/elastic/kibana/pull/204309\r\n\r\nSteps to
relocate:\r\n\r\n1. Fetch latest `main`\r\n2. Update the `group` and/or
`visibility` in the module's manifest.\r\n3. Run `node scripts/relocate
--moveOnly\r\n@kbn/saved-objects-tagging-plugin`","sha":"a8579bb41f08ead668f0882ce8605ab8e8c07d2b","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":205695,"url":"https://github.com/elastic/kibana/pull/205695","mergeCommit":{"message":"Make
`saved_objects_tagging` plugin shared (#205695)\n\n## Summary\r\n\r\nSo
that it can be used from `streams_app` (o11y).\r\nSee
https://github.com/elastic/kibana/pull/204309\r\n\r\nSteps to
relocate:\r\n\r\n1. Fetch latest `main`\r\n2. Update the `group` and/or
`visibility` in the module's manifest.\r\n3. Run `node scripts/relocate
--moveOnly\r\n@kbn/saved-objects-tagging-plugin`","sha":"a8579bb41f08ead668f0882ce8605ab8e8c07d2b"}},"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/205695","number":205695,"mergeCommit":{"message":"Make
`saved_objects_tagging` plugin shared (#205695)\n\n## Summary\r\n\r\nSo
that it can be used from `streams_app` (o11y).\r\nSee
https://github.com/elastic/kibana/pull/204309\r\n\r\nSteps to
relocate:\r\n\r\n1. Fetch latest `main`\r\n2. Update the `group` and/or
`visibility` in the module's manifest.\r\n3. Run `node scripts/relocate
--moveOnly\r\n@kbn/saved-objects-tagging-plugin`","sha":"a8579bb41f08ead668f0882ce8605ab8e8c07d2b"}}]}]
BACKPORT-->

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-09 10:29:44 +00:00
Gerard Soldevila
935d2e1444
[8.x] SKA: Categorise remaining packages (#205875) (#205973)
# Backport

This will backport the following commits from `main` to `8.x`:
- [SKA: Categorise remaining packages
(#205875)](https://github.com/elastic/kibana/pull/205875)

<!--- 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":"2025-01-08T21:20:14Z","message":"SKA:
Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete
unused package `@kbn/formatters`\r\n* Delete unused package
`@kbn/response-ops-feature-flag-service`\r\n* Flag
`@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag
`@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as
`devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as
`devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as
`platform/shared`\r\n* Categorise `@kbn/charts-theme` as
`platform/shared`\r\n* Categorise `@kbn/saved-search-component` as
`platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as
`platform/shared`\r\n* Categorise `@kbn/charts-theme` as
`platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as
`platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22","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":205875,"url":"https://github.com/elastic/kibana/pull/205875","mergeCommit":{"message":"SKA:
Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete
unused package `@kbn/formatters`\r\n* Delete unused package
`@kbn/response-ops-feature-flag-service`\r\n* Flag
`@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag
`@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as
`devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as
`devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as
`platform/shared`\r\n* Categorise `@kbn/charts-theme` as
`platform/shared`\r\n* Categorise `@kbn/saved-search-component` as
`platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as
`platform/shared`\r\n* Categorise `@kbn/charts-theme` as
`platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as
`platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22"}},"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/205875","number":205875,"mergeCommit":{"message":"SKA:
Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete
unused package `@kbn/formatters`\r\n* Delete unused package
`@kbn/response-ops-feature-flag-service`\r\n* Flag
`@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag
`@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as
`devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as
`devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as
`platform/shared`\r\n* Categorise `@kbn/charts-theme` as
`platform/shared`\r\n* Categorise `@kbn/saved-search-component` as
`platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as
`platform/shared`\r\n* Categorise `@kbn/charts-theme` as
`platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as
`platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22"}}]}]
BACKPORT-->
2025-01-08 23:32:22 +00:00
Efe Gürkan YALAMAN
9b0302c22b
[8.x] [Synonyms UI] Synonyms UI base plugin (#203284) (#205843)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Efe Gürkan
YALAMAN","email":"efeguerkan.yalaman@elastic.co"},"sourceCommit":{"committedDate":"2025-01-06T19:15:19Z","message":"[Synonyms
UI] Synonyms UI base plugin (#203284)\n\n## Summary\r\n\r\nCreates a
plugin for Synonyms UI implementation. It is hidden under the\r\nUI flag
and config option which is off by default.\r\n```\r\nPOST
kbn:/internal/kibana/settings/searchSynonyms:synonymsEnabled\r\n{\"value\":
true}\r\n```\r\n\r\nServerless Search:\r\n<img width=\"379\"
alt=\"Screenshot 2024-12-17 at 13 18
02\"\r\nsrc=\"https://github.com/user-attachments/assets/8c2cb6f0-ce2a-4be6-8605-4f994adeefd7\"\r\n/>\r\n\r\nStack
Search\r\n<img width=\"293\" alt=\"Screenshot 2024-12-17 at 13 21
43\"\r\nsrc=\"https://github.com/user-attachments/assets/0d61de0e-2cd3-46a6-990f-1f1a70843324\"\r\n/>\r\n\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] 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- [x] 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- [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:
Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e542fd2370c8b247beb938f337602f60bb6c0573","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:EnterpriseSearch","backport:version","v8.18.0"],"number":203284,"url":"https://github.com/elastic/kibana/pull/203284","mergeCommit":{"message":"[Synonyms
UI] Synonyms UI base plugin (#203284)\n\n## Summary\r\n\r\nCreates a
plugin for Synonyms UI implementation. It is hidden under the\r\nUI flag
and config option which is off by default.\r\n```\r\nPOST
kbn:/internal/kibana/settings/searchSynonyms:synonymsEnabled\r\n{\"value\":
true}\r\n```\r\n\r\nServerless Search:\r\n<img width=\"379\"
alt=\"Screenshot 2024-12-17 at 13 18
02\"\r\nsrc=\"https://github.com/user-attachments/assets/8c2cb6f0-ce2a-4be6-8605-4f994adeefd7\"\r\n/>\r\n\r\nStack
Search\r\n<img width=\"293\" alt=\"Screenshot 2024-12-17 at 13 21
43\"\r\nsrc=\"https://github.com/user-attachments/assets/0d61de0e-2cd3-46a6-990f-1f1a70843324\"\r\n/>\r\n\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] 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- [x] 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- [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:
Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e542fd2370c8b247beb938f337602f60bb6c0573"}},"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/203284","number":203284,"mergeCommit":{"message":"[Synonyms
UI] Synonyms UI base plugin (#203284)\n\n## Summary\r\n\r\nCreates a
plugin for Synonyms UI implementation. It is hidden under the\r\nUI flag
and config option which is off by default.\r\n```\r\nPOST
kbn:/internal/kibana/settings/searchSynonyms:synonymsEnabled\r\n{\"value\":
true}\r\n```\r\n\r\nServerless Search:\r\n<img width=\"379\"
alt=\"Screenshot 2024-12-17 at 13 18
02\"\r\nsrc=\"https://github.com/user-attachments/assets/8c2cb6f0-ce2a-4be6-8605-4f994adeefd7\"\r\n/>\r\n\r\nStack
Search\r\n<img width=\"293\" alt=\"Screenshot 2024-12-17 at 13 21
43\"\r\nsrc=\"https://github.com/user-attachments/assets/0d61de0e-2cd3-46a6-990f-1f1a70843324\"\r\n/>\r\n\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] 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- [x] 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- [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:
Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e542fd2370c8b247beb938f337602f60bb6c0573"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-01-08 13:22:06 +00:00
Anton Dosov
464426883a
[8.x] Sustainable Kibana Architecture: Move content management related packages (#205593) (#205855)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move content management related
packages (#205593)](https://github.com/elastic/kibana/pull/205593)

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

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2025-01-07T21:41:31Z","message":"Sustainable
Kibana Architecture: Move content management related packages
(#205593)","sha":"72d3f7b89c46231e70e8c992df133f653d9154a1","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","plugin
groups"],"number":205593,"url":"https://github.com/elastic/kibana/pull/205593","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move content management related packages
(#205593)","sha":"72d3f7b89c46231e70e8c992df133f653d9154a1"}},"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/205593","number":205593,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move content management related packages
(#205593)","sha":"72d3f7b89c46231e70e8c992df133f653d9154a1"}}]}]
BACKPORT-->
2025-01-08 12:27:41 +00:00