Commit graph

869 commits

Author SHA1 Message Date
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
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
Kibana Machine
55e58ece0c
[8.x] [product doc] adapt for new format of semantic_text field (#206051) (#206397)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[product doc] adapt for new format of semantic_text field
(#206051)](https://github.com/elastic/kibana/pull/206051)

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

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2025-01-13T09:05:16Z","message":"[product
doc] adapt for new format of semantic_text field (#206051)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/205908\r\n\r\nAdapt the product
documentation's usages of `semantic_text` for the\r\nbreaking changes
that will be introduced in 8.18 and 9.0.\r\n\r\nThis PR introduces a new
format version (`2.0.0`) for the product\r\ndocumentation, introducing
the required changes for the incoming\r\n`semantic_text` breaking
change.\r\n- include the `_inference_fields` meta field when bundling
the doc\r\nartifacts\r\n- set the
`index.mapping.semantic_text.use_legacy_format` index setting\r\nto
`false` to force the new format\r\n- change the way we're internally
overriding the `inference_id` when\r\ningesting the data\r\n- adapt the
`search` logic to retrieve the data at the right place \r\n\r\n\r\nDoing
that with a new format version also makes the transition\r\ninvisible,
as our system will simply adapt depending on the version of\r\nthe
artifact's manifest.\r\n\r\n\r\n### How to test\r\n\r\n**1. test that
the behavior is not broken for current artifacts**\r\n\r\nRun the
branch, install the product doc from the prod repository, make\r\nsure
that the 8.17 artifacts are installed, then check if the
feature\r\nstill works using the o11y assistant.\r\n\r\n**2. test that
the behavior works with the new artifacts**\r\n\r\n**Keeping your ES
instance up**, configure your local Kibana to use the\r\ndev repository
(where the 8.18 artifacts with the new format
are\r\npresent)\r\n\r\n```yaml\r\nxpack.productDocBase.artifactRepositoryUrl:
\"https://storage.googleapis.com/kibana-ai-assistant-kb-artifacts-dev\"\r\n```\r\n\r\nThen
restart Kibana, confirms the artifacts gets updated to
8.18\r\nautomatically, and then test that the feature still works as
expected\r\nusing the o11y
assistant.","sha":"f77dc3d04351bc2f9ae6b6395dabd39c2464b442","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","Team:AI
Infra","v8.18.0","Feature:AI Product Docs"],"title":"[product doc] adapt
for new format of semantic_text
field","number":206051,"url":"https://github.com/elastic/kibana/pull/206051","mergeCommit":{"message":"[product
doc] adapt for new format of semantic_text field (#206051)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/205908\r\n\r\nAdapt the product
documentation's usages of `semantic_text` for the\r\nbreaking changes
that will be introduced in 8.18 and 9.0.\r\n\r\nThis PR introduces a new
format version (`2.0.0`) for the product\r\ndocumentation, introducing
the required changes for the incoming\r\n`semantic_text` breaking
change.\r\n- include the `_inference_fields` meta field when bundling
the doc\r\nartifacts\r\n- set the
`index.mapping.semantic_text.use_legacy_format` index setting\r\nto
`false` to force the new format\r\n- change the way we're internally
overriding the `inference_id` when\r\ningesting the data\r\n- adapt the
`search` logic to retrieve the data at the right place \r\n\r\n\r\nDoing
that with a new format version also makes the transition\r\ninvisible,
as our system will simply adapt depending on the version of\r\nthe
artifact's manifest.\r\n\r\n\r\n### How to test\r\n\r\n**1. test that
the behavior is not broken for current artifacts**\r\n\r\nRun the
branch, install the product doc from the prod repository, make\r\nsure
that the 8.17 artifacts are installed, then check if the
feature\r\nstill works using the o11y assistant.\r\n\r\n**2. test that
the behavior works with the new artifacts**\r\n\r\n**Keeping your ES
instance up**, configure your local Kibana to use the\r\ndev repository
(where the 8.18 artifacts with the new format
are\r\npresent)\r\n\r\n```yaml\r\nxpack.productDocBase.artifactRepositoryUrl:
\"https://storage.googleapis.com/kibana-ai-assistant-kb-artifacts-dev\"\r\n```\r\n\r\nThen
restart Kibana, confirms the artifacts gets updated to
8.18\r\nautomatically, and then test that the feature still works as
expected\r\nusing the o11y
assistant.","sha":"f77dc3d04351bc2f9ae6b6395dabd39c2464b442"}},"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/206051","number":206051,"mergeCommit":{"message":"[product
doc] adapt for new format of semantic_text field (#206051)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/205908\r\n\r\nAdapt the product
documentation's usages of `semantic_text` for the\r\nbreaking changes
that will be introduced in 8.18 and 9.0.\r\n\r\nThis PR introduces a new
format version (`2.0.0`) for the product\r\ndocumentation, introducing
the required changes for the incoming\r\n`semantic_text` breaking
change.\r\n- include the `_inference_fields` meta field when bundling
the doc\r\nartifacts\r\n- set the
`index.mapping.semantic_text.use_legacy_format` index setting\r\nto
`false` to force the new format\r\n- change the way we're internally
overriding the `inference_id` when\r\ningesting the data\r\n- adapt the
`search` logic to retrieve the data at the right place \r\n\r\n\r\nDoing
that with a new format version also makes the transition\r\ninvisible,
as our system will simply adapt depending on the version of\r\nthe
artifact's manifest.\r\n\r\n\r\n### How to test\r\n\r\n**1. test that
the behavior is not broken for current artifacts**\r\n\r\nRun the
branch, install the product doc from the prod repository, make\r\nsure
that the 8.17 artifacts are installed, then check if the
feature\r\nstill works using the o11y assistant.\r\n\r\n**2. test that
the behavior works with the new artifacts**\r\n\r\n**Keeping your ES
instance up**, configure your local Kibana to use the\r\ndev repository
(where the 8.18 artifacts with the new format
are\r\npresent)\r\n\r\n```yaml\r\nxpack.productDocBase.artifactRepositoryUrl:
\"https://storage.googleapis.com/kibana-ai-assistant-kb-artifacts-dev\"\r\n```\r\n\r\nThen
restart Kibana, confirms the artifacts gets updated to
8.18\r\nautomatically, and then test that the feature still works as
expected\r\nusing the o11y
assistant.","sha":"f77dc3d04351bc2f9ae6b6395dabd39c2464b442"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2025-01-13 10:51:57 +00:00
Kibana Machine
4bd76d573e
[8.x] 🌊 Streams: Show data retention on stream (#204125) (#206393)
# Backport

This will backport the following commits from `main` to `8.x`:
- [🌊 Streams: Show data retention on stream
(#204125)](https://github.com/elastic/kibana/pull/204125)

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

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

<!--BACKPORT [{"author":{"name":"Joe
Reuter","email":"johannes.reuter@elastic.co"},"sourceCommit":{"committedDate":"2025-01-09T08:25:19Z","message":"🌊
Streams: Show data retention on stream (#204125)\n\nShow data retention
on streams\r\n\r\nIn case of a policy, the name of the policy is shown
(badge is clickable\r\nand leads to the edit page of the
policy):\r\n<img width=\"524\" alt=\"Screenshot 2024-12-12 at 20 57
36\"\r\nsrc=\"https://github.com/user-attachments/assets/2664b45b-2473-49c4-b1d6-dccb8fe48d43\"\r\n/>\r\n\r\nIn
case of DLM, the effect retention is shown:\r\n<img width=\"532\"
alt=\"Screenshot 2024-12-12 at 20 58
42\"\r\nsrc=\"https://github.com/user-attachments/assets/07ca8086-75e2-45f8-9d71-17bd0a76ebe5\"\r\n/>\r\n\r\nThis
is just the display piece, editing retention will be added
later\r\non.\r\n\r\nThis PR adjusts the base streams data stream
settings to use a localized\r\ndata stream retention configuration to
make it compatible
with\r\nserverless.\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":"3515a0f7b8958b11a9065696ac154b56446f7294","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.18.0","Feature:Streams"],"title":"🌊
Streams: Show data retention on
stream","number":204125,"url":"https://github.com/elastic/kibana/pull/204125","mergeCommit":{"message":"🌊
Streams: Show data retention on stream (#204125)\n\nShow data retention
on streams\r\n\r\nIn case of a policy, the name of the policy is shown
(badge is clickable\r\nand leads to the edit page of the
policy):\r\n<img width=\"524\" alt=\"Screenshot 2024-12-12 at 20 57
36\"\r\nsrc=\"https://github.com/user-attachments/assets/2664b45b-2473-49c4-b1d6-dccb8fe48d43\"\r\n/>\r\n\r\nIn
case of DLM, the effect retention is shown:\r\n<img width=\"532\"
alt=\"Screenshot 2024-12-12 at 20 58
42\"\r\nsrc=\"https://github.com/user-attachments/assets/07ca8086-75e2-45f8-9d71-17bd0a76ebe5\"\r\n/>\r\n\r\nThis
is just the display piece, editing retention will be added
later\r\non.\r\n\r\nThis PR adjusts the base streams data stream
settings to use a localized\r\ndata stream retention configuration to
make it compatible
with\r\nserverless.\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":"3515a0f7b8958b11a9065696ac154b56446f7294"}},"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/204125","number":204125,"mergeCommit":{"message":"🌊
Streams: Show data retention on stream (#204125)\n\nShow data retention
on streams\r\n\r\nIn case of a policy, the name of the policy is shown
(badge is clickable\r\nand leads to the edit page of the
policy):\r\n<img width=\"524\" alt=\"Screenshot 2024-12-12 at 20 57
36\"\r\nsrc=\"https://github.com/user-attachments/assets/2664b45b-2473-49c4-b1d6-dccb8fe48d43\"\r\n/>\r\n\r\nIn
case of DLM, the effect retention is shown:\r\n<img width=\"532\"
alt=\"Screenshot 2024-12-12 at 20 58
42\"\r\nsrc=\"https://github.com/user-attachments/assets/07ca8086-75e2-45f8-9d71-17bd0a76ebe5\"\r\n/>\r\n\r\nThis
is just the display piece, editing retention will be added
later\r\non.\r\n\r\nThis PR adjusts the base streams data stream
settings to use a localized\r\ndata stream retention configuration to
make it compatible
with\r\nserverless.\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":"3515a0f7b8958b11a9065696ac154b56446f7294"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2025-01-13 10:07:45 +00:00
Kibana Machine
303aa4fc83
[8.x] [Streams] Make root stream selectively immutable (#205609) (#206291)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Streams] Make root stream selectively immutable
(#205609)](https://github.com/elastic/kibana/pull/205609)

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

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

<!--BACKPORT [{"author":{"name":"Kerry
Gallagher","email":"kerry.gallagher@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T12:34:52Z","message":"[Streams]
Make root stream selectively immutable (#205609)\n\n##
Summary\r\n\r\nThis closes
https://github.com/elastic/streams-program/issues/54.\r\n\r\nThe root
stream is selectively immutable (processing and fields changes\r\nare
not allowed).\r\n\r\n## UI\r\n\r\nFor the UI I've entirely disabled the
actions column for the root stream\r\nin the schema editor. All of the
information (bar the preview table for\r\nchanges) available in the
flyout for a field is already available in the\r\ntable, so this seems
easiest for now to avoid multiple logic forks\r\nwrapping buttons
etc.\r\n\r\nE.g. flyout vs table\r\n\r\n![Screenshot 2025-01-02 at 13
41\r\n55](https://github.com/user-attachments/assets/867fd67c-4acc-4457-ad5f-0eb5e9d9ce3f)","sha":"4ba5879fa932945004f0f79b55a8fdd21b559e4f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","backport:version","v8.18.0","Feature:Streams"],"title":"[Streams]
Make root stream selectively
immutable","number":205609,"url":"https://github.com/elastic/kibana/pull/205609","mergeCommit":{"message":"[Streams]
Make root stream selectively immutable (#205609)\n\n##
Summary\r\n\r\nThis closes
https://github.com/elastic/streams-program/issues/54.\r\n\r\nThe root
stream is selectively immutable (processing and fields changes\r\nare
not allowed).\r\n\r\n## UI\r\n\r\nFor the UI I've entirely disabled the
actions column for the root stream\r\nin the schema editor. All of the
information (bar the preview table for\r\nchanges) available in the
flyout for a field is already available in the\r\ntable, so this seems
easiest for now to avoid multiple logic forks\r\nwrapping buttons
etc.\r\n\r\nE.g. flyout vs table\r\n\r\n![Screenshot 2025-01-02 at 13
41\r\n55](https://github.com/user-attachments/assets/867fd67c-4acc-4457-ad5f-0eb5e9d9ce3f)","sha":"4ba5879fa932945004f0f79b55a8fdd21b559e4f"}},"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/205609","number":205609,"mergeCommit":{"message":"[Streams]
Make root stream selectively immutable (#205609)\n\n##
Summary\r\n\r\nThis closes
https://github.com/elastic/streams-program/issues/54.\r\n\r\nThe root
stream is selectively immutable (processing and fields changes\r\nare
not allowed).\r\n\r\n## UI\r\n\r\nFor the UI I've entirely disabled the
actions column for the root stream\r\nin the schema editor. All of the
information (bar the preview table for\r\nchanges) available in the
flyout for a field is already available in the\r\ntable, so this seems
easiest for now to avoid multiple logic forks\r\nwrapping buttons
etc.\r\n\r\nE.g. flyout vs table\r\n\r\n![Screenshot 2025-01-02 at 13
41\r\n55](https://github.com/user-attachments/assets/867fd67c-4acc-4457-ad5f-0eb5e9d9ce3f)","sha":"4ba5879fa932945004f0f79b55a8fdd21b559e4f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kerry Gallagher <kerry.gallagher@elastic.co>
2025-01-10 16:23:13 +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
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
Kibana Machine
1429560ae7
[8.x] Tweak product doc generation for 8.17 (#205189) (#205920)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Tweak product doc generation for 8.17
(#205189)](https://github.com/elastic/kibana/pull/205189)

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

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T15:19:45Z","message":"Tweak
product doc generation for 8.17 (#205189)\n\n## Summary\r\n\r\n- use
default elser\r\n- adapt cleaning for new markdown
format","sha":"81a5aa97f1caf715b43b369922676609c6fb56e1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Team:AI
Infra"],"title":"Tweak product doc generation for
8.17","number":205189,"url":"https://github.com/elastic/kibana/pull/205189","mergeCommit":{"message":"Tweak
product doc generation for 8.17 (#205189)\n\n## Summary\r\n\r\n- use
default elser\r\n- adapt cleaning for new markdown
format","sha":"81a5aa97f1caf715b43b369922676609c6fb56e1"}},"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/205189","number":205189,"mergeCommit":{"message":"Tweak
product doc generation for 8.17 (#205189)\n\n## Summary\r\n\r\n- use
default elser\r\n- adapt cleaning for new markdown
format","sha":"81a5aa97f1caf715b43b369922676609c6fb56e1"}}]}]
BACKPORT-->

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2025-01-08 17:24:43 +00:00
Michael Dokolin
8f66e213cf
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-security (#202748) (#205569)
# Backport

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

<!--- 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-05T11:57:01Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-security`
(#202748)\n\n## Summary\n\nThis PR aims at relocating some of the Kibana
modules (plugins and\npackages) into a new folder structure, according
to the _Sustainable\nKibana Architecture_ initiative.\n\n>
[!IMPORTANT]\n> * We kindly ask you to:\n> * Manually fix the errors in
the error section below (if there are\nany).\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\nsource code
(Babel and Eslint config files), and update them\nappropriately.\n> *
Manually review\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts`
to ensure that\nany CI pipeline customizations continue to be correctly
applied after\nthe changed path names\n> * Review all of the updated
files, specially the `.ts` and `.js` files\nlisted in the sections
below, as some of them contain relative paths\nthat have been
updated.\n> * Think of potential impact of the move, including tooling
and\nconfiguration files that can be pointing to the relocated modules.
E.g.:\n> * customised eslint rules\n> * docs pointing to source
code\n\n> [!NOTE]\n> * This PR has been auto-generated.\n> * Any manual
contributions will be lost if the 'relocate' script is\nre-run.\n> * Try
to obtain the missing reviews / approvals before applying manual\nfixes,
and/or keep your changes in a .patch / git stash.\n> * Please
use\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\nSlack
channel for feedback.\n\nAre you trying to rebase this PR to solve merge
conflicts? Please follow\nthe steps
describe\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\n\n####
4 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- |
------------- |\n| `@kbn/encrypted-saved-objects-plugin`
|\n`x-pack/platform/plugins/shared/encrypted_saved_objects` |\n|
`@kbn/interactive-setup-plugin`
|\n`src/platform/plugins/private/interactive_setup` |\n|
`@kbn/security-plugin` | `x-pack/platform/plugins/shared/security` |\n|
`@kbn/spaces-plugin` | `x-pack/platform/plugins/shared/spaces`
|\n\n\n\n\n#### 14 packages(s) are going to be relocated:\n\n| Id |
Target folder |\n| -- | ------------- |\n| `@kbn/crypto` |
`src/platform/packages/shared/kbn-crypto` |\n| `@kbn/handlebars` |
`src/platform/packages/private/kbn-handlebars` |\n|
`@kbn/safer-lodash-set`
|\n`src/platform/packages/shared/kbn-safer-lodash-set` |\n|
`@kbn/security-api-key-management`
|\n`x-pack/platform/packages/shared/security/api_key_management` |\n|
`@kbn/security-authorization-core`
|\n`x-pack/platform/packages/private/security/authorization_core` |\n|
`@kbn/security-authorization-core-common`
|\n`x-pack/platform/packages/private/security/authorization_core_common`
|\n| `@kbn/security-form-components`
|\n`x-pack/platform/packages/shared/security/form_components` |\n|
`@kbn/security-hardening`
|\n`src/platform/packages/shared/kbn-security-hardening` |\n|
`@kbn/security-plugin-types-common`
|\n`x-pack/platform/packages/shared/security/plugin_types_common` |\n|
`@kbn/security-plugin-types-public`
|\n`x-pack/platform/packages/shared/security/plugin_types_public` |\n|
`@kbn/security-plugin-types-server`
|\n`x-pack/platform/packages/shared/security/plugin_types_server` |\n|
`@kbn/security-role-management-model`
|\n`x-pack/platform/packages/private/security/role_management_model`
|\n| `@kbn/security-ui-components`
|\n`x-pack/platform/packages/private/security/ui_components` |\n|
`@kbn/user-profile-components`
|\n`src/platform/packages/shared/kbn-user-profile-components`
|\n\n\n<details open>\n<summary>Script errors</summary>\n\n```\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/dokmic/work/elastic/kibana/src/platform/packages/shared/kbn-safer-lodash-set/package.json:6\n```\n\n</details><details
>\n<summary>Updated
references</summary>\n\n```\n./.buildkite/scripts/steps/test/kbn_handlebars.sh\n./.eslintrc.js\n./.i18nrc.json\n./docs/developer/advanced/sharing-saved-objects.asciidoc\n./docs/developer/plugin-list.asciidoc\n./legacy_rfcs/text/0007_lifecycle_unblocked.md\n./legacy_rfcs/text/0016_ols_phase_1.md\n./package.json\n./packages/kbn-dependency-usage/src/dependency_graph/providers/cruiser.test.ts\n./packages/kbn-ts-projects/config-paths.json\n./packages/kbn-user-profile-components/src/user_profile.ts\n./src/core/packages/saved-objects/common/src/types.ts\n./src/core/packages/security/server/src/audit_logging/audit_logger.ts\n./src/core/packages/user-profile/common/src/user_profile.ts\n./src/dev/precommit_hook/casing_check_config.js\n./src/platform/packages/private/kbn-handlebars/README.md\n./src/platform/packages/private/kbn-handlebars/index.test.ts\n./src/platform/packages/private/kbn-handlebars/index.ts\n./src/platform/packages/private/kbn-handlebars/jest.config.js\n./src/platform/packages/private/kbn-handlebars/scripts/check_for_upstream_updates.sh\n./src/platform/packages/private/kbn-handlebars/scripts/print_ast.js\n./src/platform/packages/private/kbn-handlebars/scripts/update_upstream_git_hash.sh\n./src/platform/packages/private/kbn-handlebars/src/__jest__/test_bench.ts\n./src/platform/packages/private/kbn-handlebars/src/handlebars.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.basic.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.blocks.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.builtins.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.compiler.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.data.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.helpers.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.partials.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.security.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.strict.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.subexpressions.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.utils.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.whitespace_control.test.ts\n./src/platform/packages/private/kbn-handlebars/src/symbols.ts\n./src/platform/packages/private/kbn-handlebars/src/types.ts\n./src/platform/packages/private/kbn-handlebars/src/utils.ts\n./src/platform/packages/private/kbn-handlebars/src/visitor.ts\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel\n./src/platform/packages/shared/kbn-crypto/jest.config.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assoc.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assoc.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assocPath.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assocPath.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/index.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/index.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/set.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/setWith.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/index.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/index.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/_baseSet.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/package.json\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/_get_lodash.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/license-header.txt\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/save_state.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/update.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/set.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/setWith.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_assoc.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_assocPath.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_patch_test.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_set.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_setWith.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/index.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/patch_test.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/set.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/setWith.ts\n./src/platform/packages/shared/kbn-user-profile-components/jest.config.js\n./src/platform/plugins/private/interactive_setup/jest.config.js\n./tsconfig.base.json\n./x-pack/.i18nrc.json\n./x-pack/platform/packages/private/security/authorization_core/jest.config.js\n./x-pack/platform/packages/private/security/authorization_core_common/jest.config.js\n./x-pack/platform/packages/private/security/role_management_model/jest.config.js\n./x-pack/platform/packages/private/security/ui_components/jest.config.js\n./x-pack/platform/packages/shared/security/api_key_management/jest.config.js\n./x-pack/platform/packages/shared/security/form_components/jest.config.js\n./x-pack/platform/plugins/shared/cases/server/authorization/index.ts\n./x-pack/platform/plugins/shared/cases/server/authorization/types.ts\n./x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts\n./x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts\n./x-pack/platform/plugins/shared/encrypted_saved_objects/README.md\n./x-pack/platform/plugins/shared/encrypted_saved_objects/jest.config.js\n./x-pack/platform/plugins/shared/fleet/common/http_authorization_header.ts\n./x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.ts\n./x-pack/platform/plugins/shared/security/jest.config.js\n./x-pack/platform/plugins/shared/spaces/jest.config.js\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/routes/notes/get_notes.ts\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details
>\n<summary>Updated relative
paths</summary>\n\n```\nsrc/platform/packages/private/kbn-handlebars/jest.config.js:8\nsrc/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts:276\nsrc/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts:277\nsrc/platform/packages/private/kbn-handlebars/tsconfig.json:2\nsrc/platform/packages/shared/kbn-crypto/jest.config.js:12\nsrc/platform/packages/shared/kbn-crypto/tsconfig.json:2\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:6\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:7\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:8\nsrc/platform/packages/shared/kbn-safer-lodash-set/tsconfig.json:2\nsrc/platform/packages/shared/kbn-security-hardening/tsconfig.json:2\nsrc/platform/packages/shared/kbn-user-profile-components/jest.config.js:12\nsrc/platform/packages/shared/kbn-user-profile-components/tsconfig.json:2\nsrc/platform/plugins/private/interactive_setup/jest.config.js:12\nsrc/platform/plugins/private/interactive_setup/tsconfig.json:2\nx-pack/platform/packages/private/security/authorization_core/jest.config.js:13\nx-pack/platform/packages/private/security/authorization_core/tsconfig.json:2\nx-pack/platform/packages/private/security/authorization_core_common/jest.config.js:15\nx-pack/platform/packages/private/security/authorization_core_common/tsconfig.json:2\nx-pack/platform/packages/private/security/role_management_model/jest.config.js:14\nx-pack/platform/packages/private/security/role_management_model/tsconfig.json:2\nx-pack/platform/packages/private/security/ui_components/jest.config.js:13\nx-pack/platform/packages/private/security/ui_components/tsconfig.json:2\nx-pack/platform/packages/shared/security/api_key_management/jest.config.js:14\nx-pack/platform/packages/shared/security/api_key_management/tsconfig.json:2\nx-pack/platform/packages/shared/security/form_components/jest.config.js:14\nx-pack/platform/packages/shared/security/form_components/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_common/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_public/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_server/tsconfig.json:2\nx-pack/platform/plugins/shared/encrypted_saved_objects/README.md:8\nx-pack/platform/plugins/shared/encrypted_saved_objects/jest.config.js:10\nx-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.json:2\nx-pack/platform/plugins/shared/security/jest.config.js:10\nx-pack/platform/plugins/shared/security/tsconfig.json:2\nx-pack/platform/plugins/shared/spaces/jest.config.js:10\nx-pack/platform/plugins/shared/spaces/tsconfig.json:2\n```\n\n</details>\n\n---------\n\nCo-authored-by:
Michael Dokolin <mikhail.dokolin@elastic.co>\nCo-authored-by:
“jeramysoucy” <jeramy.soucy@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ca5a08db0029d5b9e2cd5139b23a05c5ae09ddad","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Security","release_note:skip","v9.0.0","backport:version","v8.18.0","plugin
groups"],"number":202748,"url":"https://github.com/elastic/kibana/pull/202748","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-security`
(#202748)\n\n## Summary\n\nThis PR aims at relocating some of the Kibana
modules (plugins and\npackages) into a new folder structure, according
to the _Sustainable\nKibana Architecture_ initiative.\n\n>
[!IMPORTANT]\n> * We kindly ask you to:\n> * Manually fix the errors in
the error section below (if there are\nany).\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\nsource code
(Babel and Eslint config files), and update them\nappropriately.\n> *
Manually review\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts`
to ensure that\nany CI pipeline customizations continue to be correctly
applied after\nthe changed path names\n> * Review all of the updated
files, specially the `.ts` and `.js` files\nlisted in the sections
below, as some of them contain relative paths\nthat have been
updated.\n> * Think of potential impact of the move, including tooling
and\nconfiguration files that can be pointing to the relocated modules.
E.g.:\n> * customised eslint rules\n> * docs pointing to source
code\n\n> [!NOTE]\n> * This PR has been auto-generated.\n> * Any manual
contributions will be lost if the 'relocate' script is\nre-run.\n> * Try
to obtain the missing reviews / approvals before applying manual\nfixes,
and/or keep your changes in a .patch / git stash.\n> * Please
use\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\nSlack
channel for feedback.\n\nAre you trying to rebase this PR to solve merge
conflicts? Please follow\nthe steps
describe\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\n\n####
4 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- |
------------- |\n| `@kbn/encrypted-saved-objects-plugin`
|\n`x-pack/platform/plugins/shared/encrypted_saved_objects` |\n|
`@kbn/interactive-setup-plugin`
|\n`src/platform/plugins/private/interactive_setup` |\n|
`@kbn/security-plugin` | `x-pack/platform/plugins/shared/security` |\n|
`@kbn/spaces-plugin` | `x-pack/platform/plugins/shared/spaces`
|\n\n\n\n\n#### 14 packages(s) are going to be relocated:\n\n| Id |
Target folder |\n| -- | ------------- |\n| `@kbn/crypto` |
`src/platform/packages/shared/kbn-crypto` |\n| `@kbn/handlebars` |
`src/platform/packages/private/kbn-handlebars` |\n|
`@kbn/safer-lodash-set`
|\n`src/platform/packages/shared/kbn-safer-lodash-set` |\n|
`@kbn/security-api-key-management`
|\n`x-pack/platform/packages/shared/security/api_key_management` |\n|
`@kbn/security-authorization-core`
|\n`x-pack/platform/packages/private/security/authorization_core` |\n|
`@kbn/security-authorization-core-common`
|\n`x-pack/platform/packages/private/security/authorization_core_common`
|\n| `@kbn/security-form-components`
|\n`x-pack/platform/packages/shared/security/form_components` |\n|
`@kbn/security-hardening`
|\n`src/platform/packages/shared/kbn-security-hardening` |\n|
`@kbn/security-plugin-types-common`
|\n`x-pack/platform/packages/shared/security/plugin_types_common` |\n|
`@kbn/security-plugin-types-public`
|\n`x-pack/platform/packages/shared/security/plugin_types_public` |\n|
`@kbn/security-plugin-types-server`
|\n`x-pack/platform/packages/shared/security/plugin_types_server` |\n|
`@kbn/security-role-management-model`
|\n`x-pack/platform/packages/private/security/role_management_model`
|\n| `@kbn/security-ui-components`
|\n`x-pack/platform/packages/private/security/ui_components` |\n|
`@kbn/user-profile-components`
|\n`src/platform/packages/shared/kbn-user-profile-components`
|\n\n\n<details open>\n<summary>Script errors</summary>\n\n```\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/dokmic/work/elastic/kibana/src/platform/packages/shared/kbn-safer-lodash-set/package.json:6\n```\n\n</details><details
>\n<summary>Updated
references</summary>\n\n```\n./.buildkite/scripts/steps/test/kbn_handlebars.sh\n./.eslintrc.js\n./.i18nrc.json\n./docs/developer/advanced/sharing-saved-objects.asciidoc\n./docs/developer/plugin-list.asciidoc\n./legacy_rfcs/text/0007_lifecycle_unblocked.md\n./legacy_rfcs/text/0016_ols_phase_1.md\n./package.json\n./packages/kbn-dependency-usage/src/dependency_graph/providers/cruiser.test.ts\n./packages/kbn-ts-projects/config-paths.json\n./packages/kbn-user-profile-components/src/user_profile.ts\n./src/core/packages/saved-objects/common/src/types.ts\n./src/core/packages/security/server/src/audit_logging/audit_logger.ts\n./src/core/packages/user-profile/common/src/user_profile.ts\n./src/dev/precommit_hook/casing_check_config.js\n./src/platform/packages/private/kbn-handlebars/README.md\n./src/platform/packages/private/kbn-handlebars/index.test.ts\n./src/platform/packages/private/kbn-handlebars/index.ts\n./src/platform/packages/private/kbn-handlebars/jest.config.js\n./src/platform/packages/private/kbn-handlebars/scripts/check_for_upstream_updates.sh\n./src/platform/packages/private/kbn-handlebars/scripts/print_ast.js\n./src/platform/packages/private/kbn-handlebars/scripts/update_upstream_git_hash.sh\n./src/platform/packages/private/kbn-handlebars/src/__jest__/test_bench.ts\n./src/platform/packages/private/kbn-handlebars/src/handlebars.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.basic.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.blocks.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.builtins.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.compiler.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.data.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.helpers.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.partials.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.security.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.strict.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.subexpressions.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.utils.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.whitespace_control.test.ts\n./src/platform/packages/private/kbn-handlebars/src/symbols.ts\n./src/platform/packages/private/kbn-handlebars/src/types.ts\n./src/platform/packages/private/kbn-handlebars/src/utils.ts\n./src/platform/packages/private/kbn-handlebars/src/visitor.ts\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel\n./src/platform/packages/shared/kbn-crypto/jest.config.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assoc.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assoc.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assocPath.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assocPath.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/index.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/index.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/set.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/setWith.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/index.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/index.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/_baseSet.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/package.json\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/_get_lodash.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/license-header.txt\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/save_state.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/update.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/set.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/setWith.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_assoc.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_assocPath.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_patch_test.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_set.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_setWith.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/index.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/patch_test.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/set.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/setWith.ts\n./src/platform/packages/shared/kbn-user-profile-components/jest.config.js\n./src/platform/plugins/private/interactive_setup/jest.config.js\n./tsconfig.base.json\n./x-pack/.i18nrc.json\n./x-pack/platform/packages/private/security/authorization_core/jest.config.js\n./x-pack/platform/packages/private/security/authorization_core_common/jest.config.js\n./x-pack/platform/packages/private/security/role_management_model/jest.config.js\n./x-pack/platform/packages/private/security/ui_components/jest.config.js\n./x-pack/platform/packages/shared/security/api_key_management/jest.config.js\n./x-pack/platform/packages/shared/security/form_components/jest.config.js\n./x-pack/platform/plugins/shared/cases/server/authorization/index.ts\n./x-pack/platform/plugins/shared/cases/server/authorization/types.ts\n./x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts\n./x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts\n./x-pack/platform/plugins/shared/encrypted_saved_objects/README.md\n./x-pack/platform/plugins/shared/encrypted_saved_objects/jest.config.js\n./x-pack/platform/plugins/shared/fleet/common/http_authorization_header.ts\n./x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.ts\n./x-pack/platform/plugins/shared/security/jest.config.js\n./x-pack/platform/plugins/shared/spaces/jest.config.js\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/routes/notes/get_notes.ts\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details
>\n<summary>Updated relative
paths</summary>\n\n```\nsrc/platform/packages/private/kbn-handlebars/jest.config.js:8\nsrc/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts:276\nsrc/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts:277\nsrc/platform/packages/private/kbn-handlebars/tsconfig.json:2\nsrc/platform/packages/shared/kbn-crypto/jest.config.js:12\nsrc/platform/packages/shared/kbn-crypto/tsconfig.json:2\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:6\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:7\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:8\nsrc/platform/packages/shared/kbn-safer-lodash-set/tsconfig.json:2\nsrc/platform/packages/shared/kbn-security-hardening/tsconfig.json:2\nsrc/platform/packages/shared/kbn-user-profile-components/jest.config.js:12\nsrc/platform/packages/shared/kbn-user-profile-components/tsconfig.json:2\nsrc/platform/plugins/private/interactive_setup/jest.config.js:12\nsrc/platform/plugins/private/interactive_setup/tsconfig.json:2\nx-pack/platform/packages/private/security/authorization_core/jest.config.js:13\nx-pack/platform/packages/private/security/authorization_core/tsconfig.json:2\nx-pack/platform/packages/private/security/authorization_core_common/jest.config.js:15\nx-pack/platform/packages/private/security/authorization_core_common/tsconfig.json:2\nx-pack/platform/packages/private/security/role_management_model/jest.config.js:14\nx-pack/platform/packages/private/security/role_management_model/tsconfig.json:2\nx-pack/platform/packages/private/security/ui_components/jest.config.js:13\nx-pack/platform/packages/private/security/ui_components/tsconfig.json:2\nx-pack/platform/packages/shared/security/api_key_management/jest.config.js:14\nx-pack/platform/packages/shared/security/api_key_management/tsconfig.json:2\nx-pack/platform/packages/shared/security/form_components/jest.config.js:14\nx-pack/platform/packages/shared/security/form_components/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_common/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_public/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_server/tsconfig.json:2\nx-pack/platform/plugins/shared/encrypted_saved_objects/README.md:8\nx-pack/platform/plugins/shared/encrypted_saved_objects/jest.config.js:10\nx-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.json:2\nx-pack/platform/plugins/shared/security/jest.config.js:10\nx-pack/platform/plugins/shared/security/tsconfig.json:2\nx-pack/platform/plugins/shared/spaces/jest.config.js:10\nx-pack/platform/plugins/shared/spaces/tsconfig.json:2\n```\n\n</details>\n\n---------\n\nCo-authored-by:
Michael Dokolin <mikhail.dokolin@elastic.co>\nCo-authored-by:
“jeramysoucy” <jeramy.soucy@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ca5a08db0029d5b9e2cd5139b23a05c5ae09ddad"}},"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/202748","number":202748,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-security`
(#202748)\n\n## Summary\n\nThis PR aims at relocating some of the Kibana
modules (plugins and\npackages) into a new folder structure, according
to the _Sustainable\nKibana Architecture_ initiative.\n\n>
[!IMPORTANT]\n> * We kindly ask you to:\n> * Manually fix the errors in
the error section below (if there are\nany).\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\nsource code
(Babel and Eslint config files), and update them\nappropriately.\n> *
Manually review\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts`
to ensure that\nany CI pipeline customizations continue to be correctly
applied after\nthe changed path names\n> * Review all of the updated
files, specially the `.ts` and `.js` files\nlisted in the sections
below, as some of them contain relative paths\nthat have been
updated.\n> * Think of potential impact of the move, including tooling
and\nconfiguration files that can be pointing to the relocated modules.
E.g.:\n> * customised eslint rules\n> * docs pointing to source
code\n\n> [!NOTE]\n> * This PR has been auto-generated.\n> * Any manual
contributions will be lost if the 'relocate' script is\nre-run.\n> * Try
to obtain the missing reviews / approvals before applying manual\nfixes,
and/or keep your changes in a .patch / git stash.\n> * Please
use\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\nSlack
channel for feedback.\n\nAre you trying to rebase this PR to solve merge
conflicts? Please follow\nthe steps
describe\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\n\n####
4 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- |
------------- |\n| `@kbn/encrypted-saved-objects-plugin`
|\n`x-pack/platform/plugins/shared/encrypted_saved_objects` |\n|
`@kbn/interactive-setup-plugin`
|\n`src/platform/plugins/private/interactive_setup` |\n|
`@kbn/security-plugin` | `x-pack/platform/plugins/shared/security` |\n|
`@kbn/spaces-plugin` | `x-pack/platform/plugins/shared/spaces`
|\n\n\n\n\n#### 14 packages(s) are going to be relocated:\n\n| Id |
Target folder |\n| -- | ------------- |\n| `@kbn/crypto` |
`src/platform/packages/shared/kbn-crypto` |\n| `@kbn/handlebars` |
`src/platform/packages/private/kbn-handlebars` |\n|
`@kbn/safer-lodash-set`
|\n`src/platform/packages/shared/kbn-safer-lodash-set` |\n|
`@kbn/security-api-key-management`
|\n`x-pack/platform/packages/shared/security/api_key_management` |\n|
`@kbn/security-authorization-core`
|\n`x-pack/platform/packages/private/security/authorization_core` |\n|
`@kbn/security-authorization-core-common`
|\n`x-pack/platform/packages/private/security/authorization_core_common`
|\n| `@kbn/security-form-components`
|\n`x-pack/platform/packages/shared/security/form_components` |\n|
`@kbn/security-hardening`
|\n`src/platform/packages/shared/kbn-security-hardening` |\n|
`@kbn/security-plugin-types-common`
|\n`x-pack/platform/packages/shared/security/plugin_types_common` |\n|
`@kbn/security-plugin-types-public`
|\n`x-pack/platform/packages/shared/security/plugin_types_public` |\n|
`@kbn/security-plugin-types-server`
|\n`x-pack/platform/packages/shared/security/plugin_types_server` |\n|
`@kbn/security-role-management-model`
|\n`x-pack/platform/packages/private/security/role_management_model`
|\n| `@kbn/security-ui-components`
|\n`x-pack/platform/packages/private/security/ui_components` |\n|
`@kbn/user-profile-components`
|\n`src/platform/packages/shared/kbn-user-profile-components`
|\n\n\n<details open>\n<summary>Script errors</summary>\n\n```\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/dokmic/work/elastic/kibana/src/platform/packages/shared/kbn-safer-lodash-set/package.json:6\n```\n\n</details><details
>\n<summary>Updated
references</summary>\n\n```\n./.buildkite/scripts/steps/test/kbn_handlebars.sh\n./.eslintrc.js\n./.i18nrc.json\n./docs/developer/advanced/sharing-saved-objects.asciidoc\n./docs/developer/plugin-list.asciidoc\n./legacy_rfcs/text/0007_lifecycle_unblocked.md\n./legacy_rfcs/text/0016_ols_phase_1.md\n./package.json\n./packages/kbn-dependency-usage/src/dependency_graph/providers/cruiser.test.ts\n./packages/kbn-ts-projects/config-paths.json\n./packages/kbn-user-profile-components/src/user_profile.ts\n./src/core/packages/saved-objects/common/src/types.ts\n./src/core/packages/security/server/src/audit_logging/audit_logger.ts\n./src/core/packages/user-profile/common/src/user_profile.ts\n./src/dev/precommit_hook/casing_check_config.js\n./src/platform/packages/private/kbn-handlebars/README.md\n./src/platform/packages/private/kbn-handlebars/index.test.ts\n./src/platform/packages/private/kbn-handlebars/index.ts\n./src/platform/packages/private/kbn-handlebars/jest.config.js\n./src/platform/packages/private/kbn-handlebars/scripts/check_for_upstream_updates.sh\n./src/platform/packages/private/kbn-handlebars/scripts/print_ast.js\n./src/platform/packages/private/kbn-handlebars/scripts/update_upstream_git_hash.sh\n./src/platform/packages/private/kbn-handlebars/src/__jest__/test_bench.ts\n./src/platform/packages/private/kbn-handlebars/src/handlebars.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.basic.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.blocks.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.builtins.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.compiler.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.data.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.helpers.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.partials.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.security.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.strict.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.subexpressions.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.utils.test.ts\n./src/platform/packages/private/kbn-handlebars/src/spec/index.whitespace_control.test.ts\n./src/platform/packages/private/kbn-handlebars/src/symbols.ts\n./src/platform/packages/private/kbn-handlebars/src/types.ts\n./src/platform/packages/private/kbn-handlebars/src/utils.ts\n./src/platform/packages/private/kbn-handlebars/src/visitor.ts\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel\n./src/platform/packages/shared/kbn-crypto/jest.config.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assoc.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assoc.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assocPath.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/assocPath.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/index.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/index.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/set.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/setWith.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/fp/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/index.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/index.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/_baseSet.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/lodash/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/package.json\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/_get_lodash.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/license-header.txt\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/save_state.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/scripts/update.sh\n./src/platform/packages/shared/kbn-safer-lodash-set/set.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/set.js\n./src/platform/packages/shared/kbn-safer-lodash-set/setWith.d.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/setWith.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_assoc.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_assocPath.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_patch_test.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_set.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_setWith.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/index.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/patch_test.js\n./src/platform/packages/shared/kbn-safer-lodash-set/test/set.ts\n./src/platform/packages/shared/kbn-safer-lodash-set/test/setWith.ts\n./src/platform/packages/shared/kbn-user-profile-components/jest.config.js\n./src/platform/plugins/private/interactive_setup/jest.config.js\n./tsconfig.base.json\n./x-pack/.i18nrc.json\n./x-pack/platform/packages/private/security/authorization_core/jest.config.js\n./x-pack/platform/packages/private/security/authorization_core_common/jest.config.js\n./x-pack/platform/packages/private/security/role_management_model/jest.config.js\n./x-pack/platform/packages/private/security/ui_components/jest.config.js\n./x-pack/platform/packages/shared/security/api_key_management/jest.config.js\n./x-pack/platform/packages/shared/security/form_components/jest.config.js\n./x-pack/platform/plugins/shared/cases/server/authorization/index.ts\n./x-pack/platform/plugins/shared/cases/server/authorization/types.ts\n./x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts\n./x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts\n./x-pack/platform/plugins/shared/encrypted_saved_objects/README.md\n./x-pack/platform/plugins/shared/encrypted_saved_objects/jest.config.js\n./x-pack/platform/plugins/shared/fleet/common/http_authorization_header.ts\n./x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.ts\n./x-pack/platform/plugins/shared/security/jest.config.js\n./x-pack/platform/plugins/shared/spaces/jest.config.js\n./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/routes/notes/get_notes.ts\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details
>\n<summary>Updated relative
paths</summary>\n\n```\nsrc/platform/packages/private/kbn-handlebars/jest.config.js:8\nsrc/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts:276\nsrc/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts:277\nsrc/platform/packages/private/kbn-handlebars/tsconfig.json:2\nsrc/platform/packages/shared/kbn-crypto/jest.config.js:12\nsrc/platform/packages/shared/kbn-crypto/tsconfig.json:2\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:6\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:7\nsrc/platform/packages/shared/kbn-safer-lodash-set/package.json:8\nsrc/platform/packages/shared/kbn-safer-lodash-set/tsconfig.json:2\nsrc/platform/packages/shared/kbn-security-hardening/tsconfig.json:2\nsrc/platform/packages/shared/kbn-user-profile-components/jest.config.js:12\nsrc/platform/packages/shared/kbn-user-profile-components/tsconfig.json:2\nsrc/platform/plugins/private/interactive_setup/jest.config.js:12\nsrc/platform/plugins/private/interactive_setup/tsconfig.json:2\nx-pack/platform/packages/private/security/authorization_core/jest.config.js:13\nx-pack/platform/packages/private/security/authorization_core/tsconfig.json:2\nx-pack/platform/packages/private/security/authorization_core_common/jest.config.js:15\nx-pack/platform/packages/private/security/authorization_core_common/tsconfig.json:2\nx-pack/platform/packages/private/security/role_management_model/jest.config.js:14\nx-pack/platform/packages/private/security/role_management_model/tsconfig.json:2\nx-pack/platform/packages/private/security/ui_components/jest.config.js:13\nx-pack/platform/packages/private/security/ui_components/tsconfig.json:2\nx-pack/platform/packages/shared/security/api_key_management/jest.config.js:14\nx-pack/platform/packages/shared/security/api_key_management/tsconfig.json:2\nx-pack/platform/packages/shared/security/form_components/jest.config.js:14\nx-pack/platform/packages/shared/security/form_components/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_common/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_public/tsconfig.json:2\nx-pack/platform/packages/shared/security/plugin_types_server/tsconfig.json:2\nx-pack/platform/plugins/shared/encrypted_saved_objects/README.md:8\nx-pack/platform/plugins/shared/encrypted_saved_objects/jest.config.js:10\nx-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.json:2\nx-pack/platform/plugins/shared/security/jest.config.js:10\nx-pack/platform/plugins/shared/security/tsconfig.json:2\nx-pack/platform/plugins/shared/spaces/jest.config.js:10\nx-pack/platform/plugins/shared/spaces/tsconfig.json:2\n```\n\n</details>\n\n---------\n\nCo-authored-by:
Michael Dokolin <mikhail.dokolin@elastic.co>\nCo-authored-by:
“jeramysoucy” <jeramy.soucy@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ca5a08db0029d5b9e2cd5139b23a05c5ae09ddad"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2025-01-06 16:48:09 +03:00
Michael Dokolin
861c2de3e5
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-core (#201653) (#205563)
# Backport

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

<!--- 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-04T18:47:24Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-core`
(#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and
plugins) to the new folder\nstructure, according to the _Kibana
Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to
be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n|
`@kbn/cloud-chat-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n|
`@kbn/cloud-experiments-plugin`
|\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments`
|\n| `@kbn/cloud-full-story-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story`
|\n| `@kbn/cloud-links-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n|
`@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n|
`@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n|
`@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n|
`@kbn/kibana-usage-collection-plugin`
|\n`src/platform/plugins/private/kibana_usage_collection` |\n|
`@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing`
|\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed`
|\n| `@kbn/saved-objects-management-plugin`
|\n`src/platform/plugins/shared/saved_objects_management` |\n|
`@kbn/telemetry-collection-manager-plugin`
|\n`src/platform/plugins/shared/telemetry_collection_manager` |\n|
`@kbn/telemetry-collection-xpack-plugin`
|\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n|
`@kbn/telemetry-management-section-plugin`
|\n`src/platform/plugins/shared/telemetry_management_section` |\n|
`@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n|
`@kbn/usage-collection-plugin`
|\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22
package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- |
------------- |\n| `@kbn/analytics` |
`src/platform/packages/shared/kbn-analytics` |\n|
`@kbn/analytics-collection-utils`
|\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n|
`@kbn/apm-config-loader`
|\n`src/platform/packages/private/kbn-apm-config-loader` |\n|
`@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` |
`src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` |
`src/platform/packages/private/kbn-config-mocks`\n|\n|
`@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema`
|\n| `@kbn/crypto-browser`
|\n`src/platform/packages/shared/kbn-crypto-browser` |\n|
`@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n|
`@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n|
`@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n|
`@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n|
`@kbn/health-gateway-server`
|\n`src/platform/packages/private/kbn-health-gateway-server` |\n|
`@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n|
`@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n|
`@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n|
`@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks`
|\n| `@kbn/router-to-openapispec`
|\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n|
`@kbn/server-http-tools`
|\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std`
| `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types`
|\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` |
`src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by:
Alejandro Fernández Haro <alejandro.haro@elastic.co>\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","plugin
groups"],"number":201653,"url":"https://github.com/elastic/kibana/pull/201653","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-core`
(#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and
plugins) to the new folder\nstructure, according to the _Kibana
Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to
be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n|
`@kbn/cloud-chat-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n|
`@kbn/cloud-experiments-plugin`
|\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments`
|\n| `@kbn/cloud-full-story-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story`
|\n| `@kbn/cloud-links-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n|
`@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n|
`@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n|
`@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n|
`@kbn/kibana-usage-collection-plugin`
|\n`src/platform/plugins/private/kibana_usage_collection` |\n|
`@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing`
|\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed`
|\n| `@kbn/saved-objects-management-plugin`
|\n`src/platform/plugins/shared/saved_objects_management` |\n|
`@kbn/telemetry-collection-manager-plugin`
|\n`src/platform/plugins/shared/telemetry_collection_manager` |\n|
`@kbn/telemetry-collection-xpack-plugin`
|\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n|
`@kbn/telemetry-management-section-plugin`
|\n`src/platform/plugins/shared/telemetry_management_section` |\n|
`@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n|
`@kbn/usage-collection-plugin`
|\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22
package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- |
------------- |\n| `@kbn/analytics` |
`src/platform/packages/shared/kbn-analytics` |\n|
`@kbn/analytics-collection-utils`
|\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n|
`@kbn/apm-config-loader`
|\n`src/platform/packages/private/kbn-apm-config-loader` |\n|
`@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` |
`src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` |
`src/platform/packages/private/kbn-config-mocks`\n|\n|
`@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema`
|\n| `@kbn/crypto-browser`
|\n`src/platform/packages/shared/kbn-crypto-browser` |\n|
`@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n|
`@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n|
`@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n|
`@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n|
`@kbn/health-gateway-server`
|\n`src/platform/packages/private/kbn-health-gateway-server` |\n|
`@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n|
`@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n|
`@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n|
`@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks`
|\n| `@kbn/router-to-openapispec`
|\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n|
`@kbn/server-http-tools`
|\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std`
| `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types`
|\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` |
`src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by:
Alejandro Fernández Haro <alejandro.haro@elastic.co>\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8"}},"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/201653","number":201653,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/kibana-core`
(#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and
plugins) to the new folder\nstructure, according to the _Kibana
Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to
be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n|
`@kbn/cloud-chat-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n|
`@kbn/cloud-experiments-plugin`
|\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments`
|\n| `@kbn/cloud-full-story-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story`
|\n| `@kbn/cloud-links-plugin`
|\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n|
`@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n|
`@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n|
`@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n|
`@kbn/kibana-usage-collection-plugin`
|\n`src/platform/plugins/private/kibana_usage_collection` |\n|
`@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing`
|\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed`
|\n| `@kbn/saved-objects-management-plugin`
|\n`src/platform/plugins/shared/saved_objects_management` |\n|
`@kbn/telemetry-collection-manager-plugin`
|\n`src/platform/plugins/shared/telemetry_collection_manager` |\n|
`@kbn/telemetry-collection-xpack-plugin`
|\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n|
`@kbn/telemetry-management-section-plugin`
|\n`src/platform/plugins/shared/telemetry_management_section` |\n|
`@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n|
`@kbn/usage-collection-plugin`
|\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22
package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- |
------------- |\n| `@kbn/analytics` |
`src/platform/packages/shared/kbn-analytics` |\n|
`@kbn/analytics-collection-utils`
|\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n|
`@kbn/apm-config-loader`
|\n`src/platform/packages/private/kbn-apm-config-loader` |\n|
`@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` |
`src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` |
`src/platform/packages/private/kbn-config-mocks`\n|\n|
`@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema`
|\n| `@kbn/crypto-browser`
|\n`src/platform/packages/shared/kbn-crypto-browser` |\n|
`@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n|
`@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n|
`@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n|
`@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n|
`@kbn/health-gateway-server`
|\n`src/platform/packages/private/kbn-health-gateway-server` |\n|
`@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n|
`@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n|
`@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n|
`@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks`
|\n| `@kbn/router-to-openapispec`
|\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n|
`@kbn/server-http-tools`
|\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std`
| `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types`
|\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` |
`src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by:
Alejandro Fernández Haro <alejandro.haro@elastic.co>\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2025-01-05 16:32:00 +01:00
Kibana Machine
5615d9ca38
[8.x] Gracefully disable favorites if profile is not available (#204397) (#205270)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Gracefully disable favorites if profile is not available
(#204397)](https://github.com/elastic/kibana/pull/204397)

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

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2024-12-30T15:35:51Z","message":"Gracefully
disable favorites if profile is not available (#204397)\n\n##
Summary\r\n\r\nWhen a user profile is not available, the favorites
(starred) service\r\ncan't be used. On UI user profile can be not
available if security is\r\ndisabled or for an anonymous
user.\r\n\r\nThis PR improves the handling of starred features for rare
cases when a\r\nprofile is missing:\r\n\r\n- No unnecessary `GET
favorites` requests that would fail with error and\r\nadd noise to
console/networks\r\n- No unhandled errors are thrown\r\n- Starred tab in
esql is hidden\r\n- The Dashboard Starred tab isn't flickering on each
attempt to fetch\r\nfavorites\r\n\r\nFor this needed to expose
`userProfile.enabled# Backport

This will backport the following commits from `main` to `8.x`:
- [Gracefully disable favorites if profile is not available
(#204397)](https://github.com/elastic/kibana/pull/204397)

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

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

<!--BACKPORT from core, also
created\r\nhttps://github.com/elastic/kibana/issues/204570\r\n\r\n\r\n\r\n###
Testing \r\n\r\n```\r\nnode scripts/functional_tests_server.js --config
test/functional/apps/dashboard/group4/config.ts\r\n\r\nlocalhost:5620\r\n```\r\n\r\nanother
way is by configuring an anonymous
user\r\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/anonymous-access.html","sha":"70cf414f42c3e7b0974cb8a3e508308f4206047e","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"],"title":"Gracefully
disable favorites if profile is not
available","number":204397,"url":"https://github.com/elastic/kibana/pull/204397","mergeCommit":{"message":"Gracefully
disable favorites if profile is not available (#204397)\n\n##
Summary\r\n\r\nWhen a user profile is not available, the favorites
(starred) service\r\ncan't be used. On UI user profile can be not
available if security is\r\ndisabled or for an anonymous
user.\r\n\r\nThis PR improves the handling of starred features for rare
cases when a\r\nprofile is missing:\r\n\r\n- No unnecessary `GET
favorites` requests that would fail with error and\r\nadd noise to
console/networks\r\n- No unhandled errors are thrown\r\n- Starred tab in
esql is hidden\r\n- The Dashboard Starred tab isn't flickering on each
attempt to fetch\r\nfavorites\r\n\r\nFor this needed to expose
`userProfile.enabled# Backport

This will backport the following commits from `main` to `8.x`:
- [Gracefully disable favorites if profile is not available
(#204397)](https://github.com/elastic/kibana/pull/204397)

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

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

<!--BACKPORT from core, also
created\r\nhttps://github.com/elastic/kibana/issues/204570\r\n\r\n\r\n\r\n###
Testing \r\n\r\n```\r\nnode scripts/functional_tests_server.js --config
test/functional/apps/dashboard/group4/config.ts\r\n\r\nlocalhost:5620\r\n```\r\n\r\nanother
way is by configuring an anonymous
user\r\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/anonymous-access.html","sha":"70cf414f42c3e7b0974cb8a3e508308f4206047e"}},"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/204397","number":204397,"mergeCommit":{"message":"Gracefully
disable favorites if profile is not available (#204397)\n\n##
Summary\r\n\r\nWhen a user profile is not available, the favorites
(starred) service\r\ncan't be used. On UI user profile can be not
available if security is\r\ndisabled or for an anonymous
user.\r\n\r\nThis PR improves the handling of starred features for rare
cases when a\r\nprofile is missing:\r\n\r\n- No unnecessary `GET
favorites` requests that would fail with error and\r\nadd noise to
console/networks\r\n- No unhandled errors are thrown\r\n- Starred tab in
esql is hidden\r\n- The Dashboard Starred tab isn't flickering on each
attempt to fetch\r\nfavorites\r\n\r\nFor this needed to expose
`userProfile.enabled# Backport

This will backport the following commits from `main` to `8.x`:
- [Gracefully disable favorites if profile is not available
(#204397)](https://github.com/elastic/kibana/pull/204397)

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

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

<!--BACKPORT from core, also
created\r\nhttps://github.com/elastic/kibana/issues/204570\r\n\r\n\r\n\r\n###
Testing \r\n\r\n```\r\nnode scripts/functional_tests_server.js --config
test/functional/apps/dashboard/group4/config.ts\r\n\r\nlocalhost:5620\r\n```\r\n\r\nanother
way is by configuring an anonymous
user\r\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/anonymous-access.html","sha":"70cf414f42c3e7b0974cb8a3e508308f4206047e"}}]}]
BACKPORT-->

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2024-12-30 11:29:12 -06:00
Pierre Gayvallet
5d84355295
[8.x] backport "Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-logs-team" (#205234)
*Manual backport of https://github.com/elastic/kibana/pull/202831 by
rerunning the script against 8.x*


## Summary

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

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

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

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

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

| Id | Target folder |
| -- | ------------- |
| `@kbn/data-quality-plugin` |
`x-pack/platform/plugins/shared/data_quality` |
| `@kbn/dataset-quality-plugin` |
`x-pack/platform/plugins/shared/observability_solution/dataset_quality`
|
| `@kbn/fields-metadata-plugin` |
`x-pack/platform/plugins/shared/fields_metadata` |
| `@kbn/infra-plugin` | `x-pack/solutions/observability/plugins/infra` |
| `@kbn/logs-data-access-plugin` |
`x-pack/platform/plugins/shared/observability_solution/logs_data_access`
|
| `@kbn/logs-explorer-plugin` |
`x-pack/solutions/observability/plugins/logs_explorer` |
| `@kbn/logs-shared-plugin` |
`x-pack/platform/plugins/shared/observability_solution/logs_shared` |
| `@kbn/observability-logs-explorer-plugin` |
`x-pack/solutions/observability/plugins/observability_logs_explorer` |
| `@kbn/observability-onboarding-plugin` |
`x-pack/solutions/observability/plugins/observability_onboarding` |




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/custom-icons` | `src/platform/packages/shared/kbn-custom-icons`
|
| `@kbn/custom-integrations` |
`x-pack/solutions/observability/packages/kbn-custom-integrations` |
| `@kbn/discover-contextual-components` |
`src/platform/packages/shared/kbn-discover-contextual-components` |
| `@kbn/elastic-agent-utils` |
`src/platform/packages/shared/kbn-elastic-agent-utils` |
| `@kbn/observability-logs-overview` |
`x-pack/platform/packages/shared/observability/logs_overview` |
| `@kbn/react-hooks` | `src/platform/packages/shared/kbn-react-hooks` |
| `@kbn/router-utils` | `src/platform/packages/shared/kbn-router-utils`
|
| `@kbn/timerange` | `src/platform/packages/shared/kbn-timerange` |
| `@kbn/xstate-utils` | `src/platform/packages/shared/kbn-xstate-utils`
|


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

```
src/platform/packages/shared/kbn-custom-icons/jest.config.js:12
src/platform/packages/shared/kbn-custom-icons/tsconfig.json:2
src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js:12
src/platform/packages/shared/kbn-discover-contextual-components/tsconfig.json:2
src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js:12
src/platform/packages/shared/kbn-elastic-agent-utils/tsconfig.json:2
src/platform/packages/shared/kbn-react-hooks/jest.config.js:12
src/platform/packages/shared/kbn-react-hooks/tsconfig.json:2
src/platform/packages/shared/kbn-router-utils/jest.config.js:12
src/platform/packages/shared/kbn-router-utils/tsconfig.json:2
src/platform/packages/shared/kbn-timerange/jest.config.js:12
src/platform/packages/shared/kbn-timerange/tsconfig.json:2
src/platform/packages/shared/kbn-xstate-utils/jest.config.js:12
src/platform/packages/shared/kbn-xstate-utils/tsconfig.json:2
x-pack/platform/packages/shared/observability/logs_overview/jest.config.js:10
x-pack/platform/packages/shared/observability/logs_overview/tsconfig.json:2
x-pack/platform/plugins/shared/data_quality/jest.config.js:10
x-pack/platform/plugins/shared/data_quality/tsconfig.json:11
x-pack/platform/plugins/shared/data_quality/tsconfig.json:2
x-pack/platform/plugins/shared/fields_metadata/jest.config.js:10
x-pack/platform/plugins/shared/fields_metadata/tsconfig.json:2
x-pack/platform/plugins/shared/fields_metadata/tsconfig.json:7
x-pack/platform/plugins/shared/observability_solution/dataset_quality/jest.config.js:10
x-pack/platform/plugins/shared/observability_solution/dataset_quality/tsconfig.json:10
x-pack/platform/plugins/shared/observability_solution/dataset_quality/tsconfig.json:2
x-pack/platform/plugins/shared/observability_solution/logs_data_access/jest.config.js:12
x-pack/platform/plugins/shared/observability_solution/logs_data_access/tsconfig.json:2
x-pack/platform/plugins/shared/observability_solution/logs_shared/jest.config.js:10
x-pack/platform/plugins/shared/observability_solution/logs_shared/public/components/log_stream/log_stream.stories.mdx:12
x-pack/platform/plugins/shared/observability_solution/logs_shared/tsconfig.json:2
x-pack/platform/plugins/shared/observability_solution/logs_shared/tsconfig.json:7
x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js:12
x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.json:2
x-pack/solutions/observability/plugins/infra/README.md:121
x-pack/solutions/observability/plugins/infra/README.md:29
x-pack/solutions/observability/plugins/infra/docs/telemetry/define_custom_events.md:18
x-pack/solutions/observability/plugins/infra/jest.config.js:10
x-pack/solutions/observability/plugins/infra/tsconfig.json:2
x-pack/solutions/observability/plugins/infra/tsconfig.json:7
x-pack/solutions/observability/plugins/logs_explorer/jest.config.js:10
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json:2
x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json:7
x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js:10
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json:7
x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md:3
x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json:11
x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js:12
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json:2
x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json:7
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-30 13:05:58 +01:00
Kibana Machine
70b1beeff5
[8.x] [Theme] configure appearance color mode (#203406) (#205239)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Theme] configure appearance color mode
(#203406)](https://github.com/elastic/kibana/pull/203406)

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

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

<!--BACKPORT [{"author":{"name":"Sébastien
Loix","email":"sebastien.loix@elastic.co"},"sourceCommit":{"committedDate":"2024-12-30T09:43:48Z","message":"[Theme]
configure appearance color mode
(#203406)","sha":"20d37000ef1e8014199a44b7b4a1e308dd4c2e52","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","Team:SharedUX","Feature:Security/User
Profile","backport:prev-minor"],"title":"[Theme] configure appearance
color
mode","number":203406,"url":"https://github.com/elastic/kibana/pull/203406","mergeCommit":{"message":"[Theme]
configure appearance color mode
(#203406)","sha":"20d37000ef1e8014199a44b7b4a1e308dd4c2e52"}},"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/203406","number":203406,"mergeCommit":{"message":"[Theme]
configure appearance color mode
(#203406)","sha":"20d37000ef1e8014199a44b7b4a1e308dd4c2e52"}}]}]
BACKPORT-->

Co-authored-by: Sébastien Loix <sebastien.loix@elastic.co>
2024-12-30 05:35:23 -06:00
Pierre Gayvallet
d7c2caf486
backport [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/search-kibana (#202837) (#205215)
Backport #202837 to 8.x

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-28 08:46:23 +01:00
Pierre Gayvallet
86b3ea99d8
[8.x] Backport: Sustainable Kibana Architecture: Move modules owned by @elastic/response-ops (#205166)
Backport https://github.com/elastic/kibana/pull/202836

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-26 21:47:26 +01:00
Pierre Gayvallet
8f425e1b67
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/observability-ui (#202834) (#205162)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-25T21:14:06Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/observability-ui`
(#202834)\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/observability-shared-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_shared`
|\r\n\r\n\r\n\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./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./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/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/plugins/observability_shared/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\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/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:102\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:105\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:108\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:111\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:114\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:14\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:42\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:57\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:63\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:66\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:69\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:72\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:75\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:78\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:81\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:84\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:87\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:90\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:93\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:96\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:99\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:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"1e98a368188aab5b120db7f012754af386db77bd","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","Team:Unified
observability","backport:prev-minor","ci:project-deploy-observability","plugin
groups"],"number":202834,"url":"https://github.com/elastic/kibana/pull/202834","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/observability-ui`
(#202834)\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/observability-shared-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_shared`
|\r\n\r\n\r\n\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./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./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/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/plugins/observability_shared/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\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/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:102\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:105\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:108\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:111\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:114\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:14\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:42\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:57\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:63\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:66\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:69\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:72\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:75\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:78\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:81\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:84\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:87\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:90\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:93\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:96\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:99\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:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"1e98a368188aab5b120db7f012754af386db77bd"}},"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/202834","number":202834,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/observability-ui`
(#202834)\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/observability-shared-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability_shared`
|\r\n\r\n\r\n\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./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./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/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/plugins/observability_shared/jest.config.js\r\n./x-pack/test/tsconfig.type_check.json\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\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/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:102\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:105\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:108\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:111\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:114\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:14\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:2\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:21\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:24\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:27\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:30\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:33\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:36\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:39\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:42\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:45\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:48\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:51\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:54\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:57\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:60\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:63\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:66\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:69\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:72\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:75\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:78\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:81\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:84\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:87\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:90\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:93\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:96\r\nx-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:99\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:
pgayvallet
<pierre.gayvallet@elastic.co>","sha":"1e98a368188aab5b120db7f012754af386db77bd"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-26 05:12:39 -06:00
Joe Reuter
6b28e0be55
[8.x] 🌊 Refactor APIs to follow Elasticsearch conventions (#204671) (#205121)
# Backport

This will backport the following commits from `main` to `8.x`:
- [🌊 Refactor APIs to follow Elasticsearch conventions
(#204671)](https://github.com/elastic/kibana/pull/204671)

Co-authored-by: Chris Cowan <chris@elastic.co>
2024-12-25 08:18:14 +01:00
Kibana Machine
a08a128c99
[8.x] [inference] Add support for inference connectors (#204541) (#205078)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2024-12-23T09:20:42Z","message":"[inference]
Add support for inference connectors (#204541)\n\n##
Summary\r\n\r\n~Depends on~
https://github.com/elastic/kibana/pull/200249 merged!\r\n\r\nFix
https://github.com/elastic/kibana/issues/199082\r\n\r\n- Add support for
the `inference` stack connectors to the `inference`\r\nplugin
(everything is inference)\r\n- Adapt the o11y assistant to use the
`inference-common` utilities for\r\nconnector filtering / compat
checking\r\n\r\n## How to test\r\n\r\n**1. Starts ES with the unified
completion feature flag**\r\n\r\n```sh\r\nyarn es snapshot --license
trial
ES_JAVA_OPTS=\"-Des.inference_unified_feature_flag_enabled=true\"\r\n```\r\n\r\n**2.
Enable the inference connector for Kibana**\r\n\r\nIn the Kibana config
file:\r\n```yaml\r\nxpack.stack_connectors.enableExperimental:
['inferenceConnectorOn']\r\n```\r\n\r\n**3. Start Dev
Kibana**\r\n\r\n```sh\r\nnode scripts/kibana --dev
--no-base-path\r\n```\r\n\r\n**4. Create an inference
connector**\r\n\r\nGo
to\r\n`http://localhost:5601/app/management/insightsAndAlerting/triggersActionsConnectors/connectors`,\r\ncreate
an inference connector\r\n\r\n- Type: `AI
connector`\r\n\r\nthen\r\n\r\n- Service: `OpenAI`\r\n- API Key: Gwzk...
Kidding, please ping someone\r\n- Model ID: `gpt-4o`\r\n- Task type:
`completion`\r\n\r\n-> save\r\n\r\n**5. test the o11y
assistant**\r\n\r\nUse the assistant as you would do for any other
connector (just make\r\nsure the inference connector is selected as the
one being used) and do\r\nyour
testing.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3dcae5144034a146068566e920ade2e57d9abd08","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","backport:version","Team:AI
Infra","v8.18.0"],"title":"[inference] Add support for inference
connectors","number":204541,"url":"https://github.com/elastic/kibana/pull/204541","mergeCommit":{"message":"[inference]
Add support for inference connectors (#204541)\n\n##
Summary\r\n\r\n~Depends on~
https://github.com/elastic/kibana/pull/200249 merged!\r\n\r\nFix
https://github.com/elastic/kibana/issues/199082\r\n\r\n- Add support for
the `inference` stack connectors to the `inference`\r\nplugin
(everything is inference)\r\n- Adapt the o11y assistant to use the
`inference-common` utilities for\r\nconnector filtering / compat
checking\r\n\r\n## How to test\r\n\r\n**1. Starts ES with the unified
completion feature flag**\r\n\r\n```sh\r\nyarn es snapshot --license
trial
ES_JAVA_OPTS=\"-Des.inference_unified_feature_flag_enabled=true\"\r\n```\r\n\r\n**2.
Enable the inference connector for Kibana**\r\n\r\nIn the Kibana config
file:\r\n```yaml\r\nxpack.stack_connectors.enableExperimental:
['inferenceConnectorOn']\r\n```\r\n\r\n**3. Start Dev
Kibana**\r\n\r\n```sh\r\nnode scripts/kibana --dev
--no-base-path\r\n```\r\n\r\n**4. Create an inference
connector**\r\n\r\nGo
to\r\n`http://localhost:5601/app/management/insightsAndAlerting/triggersActionsConnectors/connectors`,\r\ncreate
an inference connector\r\n\r\n- Type: `AI
connector`\r\n\r\nthen\r\n\r\n- Service: `OpenAI`\r\n- API Key: Gwzk...
Kidding, please ping someone\r\n- Model ID: `gpt-4o`\r\n- Task type:
`completion`\r\n\r\n-> save\r\n\r\n**5. test the o11y
assistant**\r\n\r\nUse the assistant as you would do for any other
connector (just make\r\nsure the inference connector is selected as the
one being used) and do\r\nyour
testing.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3dcae5144034a146068566e920ade2e57d9abd08"}},"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/204541","number":204541,"mergeCommit":{"message":"[inference]
Add support for inference connectors (#204541)\n\n##
Summary\r\n\r\n~Depends on~
https://github.com/elastic/kibana/pull/200249 merged!\r\n\r\nFix
https://github.com/elastic/kibana/issues/199082\r\n\r\n- Add support for
the `inference` stack connectors to the `inference`\r\nplugin
(everything is inference)\r\n- Adapt the o11y assistant to use the
`inference-common` utilities for\r\nconnector filtering / compat
checking\r\n\r\n## How to test\r\n\r\n**1. Starts ES with the unified
completion feature flag**\r\n\r\n```sh\r\nyarn es snapshot --license
trial
ES_JAVA_OPTS=\"-Des.inference_unified_feature_flag_enabled=true\"\r\n```\r\n\r\n**2.
Enable the inference connector for Kibana**\r\n\r\nIn the Kibana config
file:\r\n```yaml\r\nxpack.stack_connectors.enableExperimental:
['inferenceConnectorOn']\r\n```\r\n\r\n**3. Start Dev
Kibana**\r\n\r\n```sh\r\nnode scripts/kibana --dev
--no-base-path\r\n```\r\n\r\n**4. Create an inference
connector**\r\n\r\nGo
to\r\n`http://localhost:5601/app/management/insightsAndAlerting/triggersActionsConnectors/connectors`,\r\ncreate
an inference connector\r\n\r\n- Type: `AI
connector`\r\n\r\nthen\r\n\r\n- Service: `OpenAI`\r\n- API Key: Gwzk...
Kidding, please ping someone\r\n- Model ID: `gpt-4o`\r\n- Task type:
`completion`\r\n\r\n-> save\r\n\r\n**5. test the o11y
assistant**\r\n\r\nUse the assistant as you would do for any other
connector (just make\r\nsure the inference connector is selected as the
one being used) and do\r\nyour
testing.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3dcae5144034a146068566e920ade2e57d9abd08"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2024-12-23 08:05:47 -06:00
Clint Andrew Hall
8c436c2a81
[8.x] [ai][assistant] Refactor search to use new Assistant logo and beacon (#204287) (#204772)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ai][assistant] Refactor search to use new Assistant logo and beacon
(#204287)](https://github.com/elastic/kibana/pull/204287)

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

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

<!--BACKPORT [{"author":{"name":"Clint Andrew
Hall","email":"clint.hall@elastic.co"},"sourceCommit":{"committedDate":"2024-12-18T14:51:45Z","message":"[ai][assistant]
Refactor search to use new Assistant logo and beacon (#204287)\n\n> A
follow-up to #203879 \r\n\r\n## Summary\r\n\r\nThis PR integrates the
new Assistant Icon, Beacon, and Avatar into\r\nsolutions and packages
owned by Search. In most cases this was a 1:1\r\nreplacement, but in a
few, Icon was replaced with Beacon or Beacon was\r\nadded for
consistency, (e.g. welcome screens, upsells, etc), .\r\n\r\nNote: the
scaling of the icon/avatar _before_ was one different from\r\nEUI. The
new components match EUI directly and represent a 2x scale\r\nchange
(e.g. 's' becomes 'l', 'm' becomes 'xl',
etc).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e0786738c950870c49b4899937cc3904a1b8ef97","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","v9.0.0","backport:version","v8.18.0"],"number":204287,"url":"https://github.com/elastic/kibana/pull/204287","mergeCommit":{"message":"[ai][assistant]
Refactor search to use new Assistant logo and beacon (#204287)\n\n> A
follow-up to #203879 \r\n\r\n## Summary\r\n\r\nThis PR integrates the
new Assistant Icon, Beacon, and Avatar into\r\nsolutions and packages
owned by Search. In most cases this was a 1:1\r\nreplacement, but in a
few, Icon was replaced with Beacon or Beacon was\r\nadded for
consistency, (e.g. welcome screens, upsells, etc), .\r\n\r\nNote: the
scaling of the icon/avatar _before_ was one different from\r\nEUI. The
new components match EUI directly and represent a 2x scale\r\nchange
(e.g. 's' becomes 'l', 'm' becomes 'xl',
etc).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e0786738c950870c49b4899937cc3904a1b8ef97"}},"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/204287","number":204287,"mergeCommit":{"message":"[ai][assistant]
Refactor search to use new Assistant logo and beacon (#204287)\n\n> A
follow-up to #203879 \r\n\r\n## Summary\r\n\r\nThis PR integrates the
new Assistant Icon, Beacon, and Avatar into\r\nsolutions and packages
owned by Search. In most cases this was a 1:1\r\nreplacement, but in a
few, Icon was replaced with Beacon or Beacon was\r\nadded for
consistency, (e.g. welcome screens, upsells, etc), .\r\n\r\nNote: the
scaling of the icon/avatar _before_ was one different from\r\nEUI. The
new components match EUI directly and represent a 2x scale\r\nchange
(e.g. 's' becomes 'l', 'm' becomes 'xl',
etc).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e0786738c950870c49b4899937cc3904a1b8ef97"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-18 16:46:39 -05:00
Clint Andrew Hall
8e17323459
[8.x] [ai][assistant] Create AI Assistant Icon, Avatar, Beacon (#203879) (#204745)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Clint Andrew
Hall","email":"clint.hall@elastic.co"},"sourceCommit":{"committedDate":"2024-12-13T21:18:35Z","message":"[ai][assistant]
Create AI Assistant Icon, Avatar, Beacon
(#203879)","sha":"666a0cf9719a0af7c868a36f49b9d478b59a39a2","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","v9.0.0","Team:Obs
AI
Assistant","ci:project-deploy-observability","v8.18.0"],"number":203879,"url":"https://github.com/elastic/kibana/pull/203879","mergeCommit":{"message":"[ai][assistant]
Create AI Assistant Icon, Avatar, Beacon
(#203879)","sha":"666a0cf9719a0af7c868a36f49b9d478b59a39a2"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203879","number":203879,"mergeCommit":{"message":"[ai][assistant]
Create AI Assistant Icon, Avatar, Beacon
(#203879)","sha":"666a0cf9719a0af7c868a36f49b9d478b59a39a2"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-18 16:03:52 +01:00
Kibana Machine
7cd2ace06e
[8.x] [Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability (#204500) (#204736)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Security] Move @kbn/cloud-security-posture-storybook-config
for Kibana sustainability
(#204500)](https://github.com/elastic/kibana/pull/204500)

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

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

<!--BACKPORT
[{"author":{"name":"seanrathier","email":"sean.rathier@gmail.com"},"sourceCommit":{"committedDate":"2024-12-18T12:09:38Z","message":"[Cloud
Security] Move @kbn/cloud-security-posture-storybook-config for Kibana
sustainability (#204500)\n\n## Summary\r\n\r\nMove
@kbn/cloud-security-posture-storybook-config package
to\r\n`x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook`\r\n\r\nRenamed
removed the `config` folder to align with the
`.storybook`\r\n[naming\r\nconvention](https://github.com/elastic/kibana/pull/204500/files#diff-91918a63f6365a8f40f674ab54a8df7ce9aeb313f77fe8eda76284d712ef5425R21).\r\n\r\n![Screenshot
2024-12-16 at 5
50\r\n53 PM](https://github.com/user-attachments/assets/de1d0a81-353f-434c-bb2d-989210b35b43)\r\n\r\n###
Related Issues\r\n-
https://github.com/elastic/kibana/pull/202862\r\n\r\n---------\r\n\r\nCo-authored-by:
Brad White
<Ikuni17@users.noreply.github.com>","sha":"d6cb398d1ab09af93369e84f0aa13f0688357082","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor","ci:build-storybooks"],"title":"[Cloud
Security] Move @kbn/cloud-security-posture-storybook-config for Kibana
sustainability
","number":204500,"url":"https://github.com/elastic/kibana/pull/204500","mergeCommit":{"message":"[Cloud
Security] Move @kbn/cloud-security-posture-storybook-config for Kibana
sustainability (#204500)\n\n## Summary\r\n\r\nMove
@kbn/cloud-security-posture-storybook-config package
to\r\n`x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook`\r\n\r\nRenamed
removed the `config` folder to align with the
`.storybook`\r\n[naming\r\nconvention](https://github.com/elastic/kibana/pull/204500/files#diff-91918a63f6365a8f40f674ab54a8df7ce9aeb313f77fe8eda76284d712ef5425R21).\r\n\r\n![Screenshot
2024-12-16 at 5
50\r\n53 PM](https://github.com/user-attachments/assets/de1d0a81-353f-434c-bb2d-989210b35b43)\r\n\r\n###
Related Issues\r\n-
https://github.com/elastic/kibana/pull/202862\r\n\r\n---------\r\n\r\nCo-authored-by:
Brad White
<Ikuni17@users.noreply.github.com>","sha":"d6cb398d1ab09af93369e84f0aa13f0688357082"}},"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/204500","number":204500,"mergeCommit":{"message":"[Cloud
Security] Move @kbn/cloud-security-posture-storybook-config for Kibana
sustainability (#204500)\n\n## Summary\r\n\r\nMove
@kbn/cloud-security-posture-storybook-config package
to\r\n`x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook`\r\n\r\nRenamed
removed the `config` folder to align with the
`.storybook`\r\n[naming\r\nconvention](https://github.com/elastic/kibana/pull/204500/files#diff-91918a63f6365a8f40f674ab54a8df7ce9aeb313f77fe8eda76284d712ef5425R21).\r\n\r\n![Screenshot
2024-12-16 at 5
50\r\n53 PM](https://github.com/user-attachments/assets/de1d0a81-353f-434c-bb2d-989210b35b43)\r\n\r\n###
Related Issues\r\n-
https://github.com/elastic/kibana/pull/202862\r\n\r\n---------\r\n\r\nCo-authored-by:
Brad White
<Ikuni17@users.noreply.github.com>","sha":"d6cb398d1ab09af93369e84f0aa13f0688357082"}}]}]
BACKPORT-->

Co-authored-by: seanrathier <sean.rathier@gmail.com>
2024-12-18 08:04:57 -06:00
seanrathier
1e6a6caa5f
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-cloud-security-posture (#202862) (#204474)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-16T17:56:03Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-cloud-security-posture`
(#202862)","sha":"f508ad2bf69745a020cf325089087b29b2d97625","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","Team:
SecuritySolution","Team:Cloud
Security","backport:prev-minor","ci:cloud-deploy"],"number":202862,"url":"https://github.com/elastic/kibana/pull/202862","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-cloud-security-posture`
(#202862)","sha":"f508ad2bf69745a020cf325089087b29b2d97625"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202862","number":202862,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/kibana-cloud-security-posture`
(#202862)","sha":"f508ad2bf69745a020cf325089087b29b2d97625"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-18 09:14:02 +01:00
Alex Szabo
ab2ed04ed3
Revert "[8.x] [Cloud Security] Bug fix - show origin event&#x27;s with primary color instead of danger (#204425) (#204611)"
This reverts commit bed0eaa8ea.
2024-12-17 20:07:43 +01:00
Kibana Machine
bed0eaa8ea
[8.x] [Cloud Security] Bug fix - show origin event&#x27;s with primary color instead of danger (#204425) (#204611)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Security] Bug fix - show origin event&#x27;s with primary
color instead of danger
(#204425)](https://github.com/elastic/kibana/pull/204425)

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

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

<!--BACKPORT [{"author":{"name":"Kfir
Peled","email":"61654899+kfirpeled@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-17T16:17:05Z","message":"[Cloud
Security] Bug fix - show origin event's with primary color instead of
danger (#204425)\n\n## Summary\r\n\r\nBug
description:\r\n\r\n**Actual:** The node's color is red when exploring
events through\r\nExplore or Timeline.\r\n**The expected** color of
events is
blue.\r\n\r\nBefore:\r\n\r\n\r\n![385007418-f0a6bd7e-dbc9-43ad-99b8-a07bcad85075](223534f4-09a2-4b41-85bc-c2195dd153ba\r\n\r\n**How
to test this PR:**\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use
Last\r\nyear)\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"2c5544cfc87cfa11800e4ab687ab39ec445b2d74","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor"],"title":"[Cloud Security] Bug fix -
show origin event's with primary color instead of
danger","number":204425,"url":"https://github.com/elastic/kibana/pull/204425","mergeCommit":{"message":"[Cloud
Security] Bug fix - show origin event's with primary color instead of
danger (#204425)\n\n## Summary\r\n\r\nBug
description:\r\n\r\n**Actual:** The node's color is red when exploring
events through\r\nExplore or Timeline.\r\n**The expected** color of
events is
blue.\r\n\r\nBefore:\r\n\r\n\r\n![385007418-f0a6bd7e-dbc9-43ad-99b8-a07bcad85075](223534f4-09a2-4b41-85bc-c2195dd153ba\r\n\r\n**How
to test this PR:**\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use
Last\r\nyear)\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"2c5544cfc87cfa11800e4ab687ab39ec445b2d74"}},"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/204425","number":204425,"mergeCommit":{"message":"[Cloud
Security] Bug fix - show origin event's with primary color instead of
danger (#204425)\n\n## Summary\r\n\r\nBug
description:\r\n\r\n**Actual:** The node's color is red when exploring
events through\r\nExplore or Timeline.\r\n**The expected** color of
events is
blue.\r\n\r\nBefore:\r\n\r\n\r\n![385007418-f0a6bd7e-dbc9-43ad-99b8-a07bcad85075](223534f4-09a2-4b41-85bc-c2195dd153ba\r\n\r\n**How
to test this PR:**\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use
Last\r\nyear)\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"2c5544cfc87cfa11800e4ab687ab39ec445b2d74"}}]}]
BACKPORT-->

Co-authored-by: Kfir Peled <61654899+kfirpeled@users.noreply.github.com>
2024-12-17 18:39:16 +00:00
Felix Stürmer
719342892d
[8.x] [Logs UX] Classify logs-data-access and logs-shared as platform plugins (#201263) (#204546)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Logs UX] Classify logs-data-access and logs-shared as platform
plugins (#201263)](https://github.com/elastic/kibana/pull/201263)

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

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

<!--BACKPORT [{"author":{"name":"Felix
Stürmer","email":"weltenwort@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-17T10:48:35Z","message":"[Logs
UX] Classify logs-data-access and logs-shared as platform plugins
(#201263)\n\nThis classifies
`@kbn/logs-data-access-plugin`,\r\n`@kbn/logs-shared-plugin` and
`@kbn/observability-logs-overview`
as\r\n\"platform/shared\".\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":"d5e0d3a2f6cd7b9158950c7151d2aaba674214ca","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","ci:project-deploy-observability","Team:obs-ux-logs"],"number":201263,"url":"https://github.com/elastic/kibana/pull/201263","mergeCommit":{"message":"[Logs
UX] Classify logs-data-access and logs-shared as platform plugins
(#201263)\n\nThis classifies
`@kbn/logs-data-access-plugin`,\r\n`@kbn/logs-shared-plugin` and
`@kbn/observability-logs-overview`
as\r\n\"platform/shared\".\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":"d5e0d3a2f6cd7b9158950c7151d2aaba674214ca"}},"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/201263","number":201263,"mergeCommit":{"message":"[Logs
UX] Classify logs-data-access and logs-shared as platform plugins
(#201263)\n\nThis classifies
`@kbn/logs-data-access-plugin`,\r\n`@kbn/logs-shared-plugin` and
`@kbn/observability-logs-overview`
as\r\n\"platform/shared\".\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":"d5e0d3a2f6cd7b9158950c7151d2aaba674214ca"}}]}]
BACKPORT-->
2024-12-17 06:53:50 -06:00
Kenneth Kreindler
49f8fddee7
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/security-generative-ai (#202848) (#204468)
## Summary

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


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

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

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

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

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-12-16 16:54:32 -06:00
Kibana Machine
ebef2c084f
[8.x] Update dependency @elastic/elasticsearch to ^8.15.1 (main) (#196478) (#204416)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Update dependency @elastic/elasticsearch to ^8.15.1 (main)
(#196478)](https://github.com/elastic/kibana/pull/196478)

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

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

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-11T20:08:40Z","message":"Update
dependency @elastic/elasticsearch to ^8.15.1 (main)
(#196478)","sha":"4f53a1134724c7ee5c9387b05d748076c103ce75","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Operations",":ml","release_note:skip","💝community","v9.0.0","Team:ML","backport:prev-minor","Team:Detection
Engine","ci:project-deploy-observability","Team:obs-ux-logs","Team:obs-ux-infra_services","Team:AI
Infra"],"title":"Update dependency @elastic/elasticsearch to ^8.15.1
(main)","number":196478,"url":"https://github.com/elastic/kibana/pull/196478","mergeCommit":{"message":"Update
dependency @elastic/elasticsearch to ^8.15.1 (main)
(#196478)","sha":"4f53a1134724c7ee5c9387b05d748076c103ce75"}},"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/196478","number":196478,"mergeCommit":{"message":"Update
dependency @elastic/elasticsearch to ^8.15.1 (main)
(#196478)","sha":"4f53a1134724c7ee5c9387b05d748076c103ce75"}}]}]
BACKPORT-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2024-12-16 11:59:34 -06:00
Shahzad
87f9d773fd
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-management-team (#202832) (#204256)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T20:28:21Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\r\n| `@kbn/observability-alerting-test-data`
|\r\n`x-pack/solutions/observability/packages/alerting_test_data` |\r\n|
`@kbn/observability-get-padded-alert-time-range-util`
|\r\n`x-pack/solutions/observability/packages/get_padded_alert_time_range_util`\r\n|\r\n|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\r\n./x-pack/solutions/observability/packages/alert_details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting_test_data/jest.config.js\r\n./x-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js\r\n./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert_details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert_details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-management"],"number":202832,"url":"https://github.com/elastic/kibana/pull/202832","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\r\n| `@kbn/observability-alerting-test-data`
|\r\n`x-pack/solutions/observability/packages/alerting_test_data` |\r\n|
`@kbn/observability-get-padded-alert-time-range-util`
|\r\n`x-pack/solutions/observability/packages/get_padded_alert_time_range_util`\r\n|\r\n|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\r\n./x-pack/solutions/observability/packages/alert_details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting_test_data/jest.config.js\r\n./x-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js\r\n./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert_details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert_details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202832","number":202832,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\r\n| `@kbn/observability-alerting-test-data`
|\r\n`x-pack/solutions/observability/packages/alerting_test_data` |\r\n|
`@kbn/observability-get-padded-alert-time-range-util`
|\r\n`x-pack/solutions/observability/packages/get_padded_alert_time_range_util`\r\n|\r\n|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\r\n./x-pack/solutions/observability/packages/alert_details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting_test_data/jest.config.js\r\n./x-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js\r\n./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert_details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert_details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get_padded_alert_time_range_util/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Justin Kambic <jk@elastic.co>
2024-12-16 10:49:47 -06:00
Kibana Machine
e1438df8c7
[8.x] [React18] Migrate test suites to account for testing library upgrades search-kibana (#201157) (#204360)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[React18] Migrate test suites to account for testing library upgrades
search-kibana (#201157)](https://github.com/elastic/kibana/pull/201157)

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

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

<!--BACKPORT [{"author":{"name":"Eyo O.
Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-16T10:48:13Z","message":"[React18]
Migrate test suites to account for testing library upgrades
search-kibana (#201157)\n\nThis PR migrates test suites that use
`renderHook` from the library\r\n`@testing-library/react-hooks` to adopt
the equivalent and replacement\r\nof `renderHook` from the export that
is now available from\r\n`@testing-library/react`. This work is required
for the planned\r\nmigration to react18.\r\n\r\n## Context\r\n\r\nIn
this PR, usages of `waitForNextUpdate` that previously could
have\r\nbeen destructured from `renderHook` are now been replaced with
`waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"90b77c6ab3c6fb5d2a2824aca5e91970a623460c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:prev-minor","React@18"],"title":"[React18]
Migrate test suites to account for testing library upgrades
search-kibana","number":201157,"url":"https://github.com/elastic/kibana/pull/201157","mergeCommit":{"message":"[React18]
Migrate test suites to account for testing library upgrades
search-kibana (#201157)\n\nThis PR migrates test suites that use
`renderHook` from the library\r\n`@testing-library/react-hooks` to adopt
the equivalent and replacement\r\nof `renderHook` from the export that
is now available from\r\n`@testing-library/react`. This work is required
for the planned\r\nmigration to react18.\r\n\r\n## Context\r\n\r\nIn
this PR, usages of `waitForNextUpdate` that previously could
have\r\nbeen destructured from `renderHook` are now been replaced with
`waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"90b77c6ab3c6fb5d2a2824aca5e91970a623460c"}},"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/201157","number":201157,"mergeCommit":{"message":"[React18]
Migrate test suites to account for testing library upgrades
search-kibana (#201157)\n\nThis PR migrates test suites that use
`renderHook` from the library\r\n`@testing-library/react-hooks` to adopt
the equivalent and replacement\r\nof `renderHook` from the export that
is now available from\r\n`@testing-library/react`. This work is required
for the planned\r\nmigration to react18.\r\n\r\n## Context\r\n\r\nIn
this PR, usages of `waitForNextUpdate` that previously could
have\r\nbeen destructured from `renderHook` are now been replaced with
`waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"90b77c6ab3c6fb5d2a2824aca5e91970a623460c"}}]}]
BACKPORT-->

Co-authored-by: Eyo O. Eyo <7893459+eokoneyo@users.noreply.github.com>
2024-12-16 06:34:33 -06:00
Kibana Machine
3e3c937498
[8.x] [Security Solution] AI Assistant: LLM Connector model chooser bug. New chat does not use connector&#x27;s model (#199303) (#204014) (#204308)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] AI Assistant: LLM Connector model chooser bug.
New chat does not use connector&#x27;s model (#199303)
(#204014)](https://github.com/elastic/kibana/pull/204014)

<!--- 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":"2024-12-14T08:54:54Z","message":"[Security
Solution] AI Assistant: LLM Connector model chooser bug. New chat does
not use connector's model (#199303) (#204014)\n\n## Summary\r\n\r\nThe
PR fixes [this
bug](https://github.com/elastic/kibana/issues/199303)\r\n\r\nThe issue
happens with some of the locally setup LLMs
(like\r\n[Ollama](https://github.com/ollama/ollama)) which requires the
correct\r\n`model` to be passed as part of the [chat
completions\r\nAPI](https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-chat-completion).\r\n\r\nWe
had a bug in our code when on new conversation creation we would
not\r\npass all the connectors configuration and only `connectorId`
and\r\n`actionTypeId` would be passed. Here is the old code
implementation:\r\n\r\n```\r\nconst newConversation = await
createConversation({\r\n title: NEW_CHAT,\r\n
...(currentConversation?.apiConfig != null &&\r\n
currentConversation?.apiConfig?.actionTypeId != null\r\n ? {\r\n
apiConfig: {\r\n connectorId:
currentConversation.apiConfig.connectorId,\r\n actionTypeId:
currentConversation.apiConfig.actionTypeId,\r\n ...(newSystemPrompt?.id
!= null ? { defaultSystemPromptId: newSystemPrompt.id } : {}),\r\n
},\r\n }\r\n : {}),\r\n});\r\n```\r\n\r\nand thus the new conversation
would not have the complete connector\r\nconfiguration which would cause
to use default model (`gpt-4o`) as a\r\nmodel we pass to the
LLM.\r\n\r\nAlso, I updated the default body that we use on the Test
connector page,\r\nto make sure that we send a model parameter to the
LLM in case of `Open\r\nAI > Other (OpenAI Compatible Service)` kind of
connectors.\r\n\r\n### Testing notes\r\n\r\nSteps to reproduce:\r\n1.
Install\r\n[Ollama](https://github.com/ollama/ollama?tab=readme-ov-file#ollama)\r\nlocally\r\n2.
Setup an OpenAI connector using Other (OpenAI Compatible
Service)\r\nprovider\r\n3. Open AI Assistant and select created Ollama
connector to chat\r\n4. Create a \"New Chat\"\r\n5. The Ollama connector
should be selected\r\n6. Send a message to LLM (for example \"hello
world\")\r\n\r\nExpected: there should be no errors saying
`ActionsClientChatOpenAI: an\r\nerror occurred while running the action
- Unexpected API Error: - 404\r\nmodel \"gpt-4o\" not found, try pulling
it
first`","sha":"7e4e8592f45ceca822c4f34d18e9f047cfe3cde0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v8.18.0","v8.16.3","v8.17.1"],"title":"[Security
Solution] AI Assistant: LLM Connector model chooser bug. New chat does
not use connector's model
(#199303)","number":204014,"url":"https://github.com/elastic/kibana/pull/204014","mergeCommit":{"message":"[Security
Solution] AI Assistant: LLM Connector model chooser bug. New chat does
not use connector's model (#199303) (#204014)\n\n## Summary\r\n\r\nThe
PR fixes [this
bug](https://github.com/elastic/kibana/issues/199303)\r\n\r\nThe issue
happens with some of the locally setup LLMs
(like\r\n[Ollama](https://github.com/ollama/ollama)) which requires the
correct\r\n`model` to be passed as part of the [chat
completions\r\nAPI](https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-chat-completion).\r\n\r\nWe
had a bug in our code when on new conversation creation we would
not\r\npass all the connectors configuration and only `connectorId`
and\r\n`actionTypeId` would be passed. Here is the old code
implementation:\r\n\r\n```\r\nconst newConversation = await
createConversation({\r\n title: NEW_CHAT,\r\n
...(currentConversation?.apiConfig != null &&\r\n
currentConversation?.apiConfig?.actionTypeId != null\r\n ? {\r\n
apiConfig: {\r\n connectorId:
currentConversation.apiConfig.connectorId,\r\n actionTypeId:
currentConversation.apiConfig.actionTypeId,\r\n ...(newSystemPrompt?.id
!= null ? { defaultSystemPromptId: newSystemPrompt.id } : {}),\r\n
},\r\n }\r\n : {}),\r\n});\r\n```\r\n\r\nand thus the new conversation
would not have the complete connector\r\nconfiguration which would cause
to use default model (`gpt-4o`) as a\r\nmodel we pass to the
LLM.\r\n\r\nAlso, I updated the default body that we use on the Test
connector page,\r\nto make sure that we send a model parameter to the
LLM in case of `Open\r\nAI > Other (OpenAI Compatible Service)` kind of
connectors.\r\n\r\n### Testing notes\r\n\r\nSteps to reproduce:\r\n1.
Install\r\n[Ollama](https://github.com/ollama/ollama?tab=readme-ov-file#ollama)\r\nlocally\r\n2.
Setup an OpenAI connector using Other (OpenAI Compatible
Service)\r\nprovider\r\n3. Open AI Assistant and select created Ollama
connector to chat\r\n4. Create a \"New Chat\"\r\n5. The Ollama connector
should be selected\r\n6. Send a message to LLM (for example \"hello
world\")\r\n\r\nExpected: there should be no errors saying
`ActionsClientChatOpenAI: an\r\nerror occurred while running the action
- Unexpected API Error: - 404\r\nmodel \"gpt-4o\" not found, try pulling
it
first`","sha":"7e4e8592f45ceca822c4f34d18e9f047cfe3cde0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204014","number":204014,"mergeCommit":{"message":"[Security
Solution] AI Assistant: LLM Connector model chooser bug. New chat does
not use connector's model (#199303) (#204014)\n\n## Summary\r\n\r\nThe
PR fixes [this
bug](https://github.com/elastic/kibana/issues/199303)\r\n\r\nThe issue
happens with some of the locally setup LLMs
(like\r\n[Ollama](https://github.com/ollama/ollama)) which requires the
correct\r\n`model` to be passed as part of the [chat
completions\r\nAPI](https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-chat-completion).\r\n\r\nWe
had a bug in our code when on new conversation creation we would
not\r\npass all the connectors configuration and only `connectorId`
and\r\n`actionTypeId` would be passed. Here is the old code
implementation:\r\n\r\n```\r\nconst newConversation = await
createConversation({\r\n title: NEW_CHAT,\r\n
...(currentConversation?.apiConfig != null &&\r\n
currentConversation?.apiConfig?.actionTypeId != null\r\n ? {\r\n
apiConfig: {\r\n connectorId:
currentConversation.apiConfig.connectorId,\r\n actionTypeId:
currentConversation.apiConfig.actionTypeId,\r\n ...(newSystemPrompt?.id
!= null ? { defaultSystemPromptId: newSystemPrompt.id } : {}),\r\n
},\r\n }\r\n : {}),\r\n});\r\n```\r\n\r\nand thus the new conversation
would not have the complete connector\r\nconfiguration which would cause
to use default model (`gpt-4o`) as a\r\nmodel we pass to the
LLM.\r\n\r\nAlso, I updated the default body that we use on the Test
connector page,\r\nto make sure that we send a model parameter to the
LLM in case of `Open\r\nAI > Other (OpenAI Compatible Service)` kind of
connectors.\r\n\r\n### Testing notes\r\n\r\nSteps to reproduce:\r\n1.
Install\r\n[Ollama](https://github.com/ollama/ollama?tab=readme-ov-file#ollama)\r\nlocally\r\n2.
Setup an OpenAI connector using Other (OpenAI Compatible
Service)\r\nprovider\r\n3. Open AI Assistant and select created Ollama
connector to chat\r\n4. Create a \"New Chat\"\r\n5. The Ollama connector
should be selected\r\n6. Send a message to LLM (for example \"hello
world\")\r\n\r\nExpected: there should be no errors saying
`ActionsClientChatOpenAI: an\r\nerror occurred while running the action
- Unexpected API Error: - 404\r\nmodel \"gpt-4o\" not found, try pulling
it
first`","sha":"7e4e8592f45ceca822c4f34d18e9f047cfe3cde0"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2024-12-14 04:41:24 -06:00
Matthew Kime
e6c9e20ae9
[8.x] kibana-management team module move (#203883) (#204274)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2024-12-13T18:29:30Z","message":"kibana-management
team module move (#203883)\n\n## Summary\r\n\r\nThis PR aims at
relocating some of the Kibana modules (plugins and\r\npackages) into a
new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 17 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cloud-data-migration-plugin`
|\r\n`x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration`\r\n|\r\n|
`@kbn/console-plugin` | `src/platform/plugins/shared/console` |\r\n|
`@kbn/cross-cluster-replication-plugin`
|\r\n`x-pack/platform/plugins/private/cross_cluster_replication` |\r\n|
`@kbn/dev-tools-plugin` | `src/platform/plugins/shared/dev_tools` |\r\n|
`@kbn/es-ui-shared-plugin`
|\r\n`src/platform/plugins/shared/es_ui_shared` |\r\n|
`@kbn/grokdebugger-plugin`
|\r\n`x-pack/platform/plugins/private/grokdebugger` |\r\n|
`@kbn/index-lifecycle-management-plugin`
|\r\n`x-pack/platform/plugins/private/index_lifecycle_management` |\r\n|
`@kbn/license-api-guard-plugin`
|\r\n`x-pack/platform/plugins/private/license_api_guard` |\r\n|
`@kbn/license-management-plugin`
|\r\n`x-pack/platform/plugins/shared/license_management` |\r\n|
`@kbn/management-plugin` | `src/platform/plugins/shared/management`
|\r\n| `@kbn/painless-lab-plugin`
|\r\n`x-pack/platform/plugins/private/painless_lab` |\r\n|
`@kbn/remote-clusters-plugin`
|\r\n`x-pack/platform/plugins/private/remote_clusters` |\r\n|
`@kbn/rollup-plugin` | `x-pack/platform/plugins/private/rollup` |\r\n|
`@kbn/runtime-fields-plugin`
|\r\n`x-pack/platform/plugins/private/runtime_fields` |\r\n|
`@kbn/searchprofiler-plugin`
|\r\n`x-pack/platform/plugins/shared/searchprofiler` |\r\n|
`@kbn/snapshot-restore-plugin`
|\r\n`x-pack/platform/plugins/private/snapshot_restore` |\r\n|
`@kbn/watcher-plugin` | `x-pack/platform/plugins/private/watcher`
|\r\n\r\n\r\n\r\n\r\n#### 17 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-devtools`
|\r\n`src/platform/packages/shared/deeplinks/devtools` |\r\n|
`@kbn/deeplinks-management`
|\r\n`src/platform/packages/shared/deeplinks/management` |\r\n|
`@kbn/default-nav-devtools`
|\r\n`src/platform/packages/private/default-nav/devtools` |\r\n|
`@kbn/default-nav-management`
|\r\n`src/platform/packages/private/default-nav/management` |\r\n|
`@kbn/index-lifecycle-management-common-shared`
|\r\n`x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared`\r\n|\r\n|
`@kbn/index-management-shared-types`
|\r\n`x-pack/platform/packages/shared/index-management/index_management_shared_types`\r\n|\r\n|
`@kbn/management-cards-navigation`
|\r\n`src/platform/packages/shared/kbn-management/cards_navigation`
|\r\n| `@kbn/management-settings-application`
|\r\n`src/platform/packages/private/kbn-management/settings/application`
|\r\n| `@kbn/management-settings-components-field-category`
|\r\n`src/platform/packages/private/kbn-management/settings/components/field_category`\r\n|\r\n|
`@kbn/management-settings-components-field-input`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_input`\r\n|\r\n|
`@kbn/management-settings-components-field-row`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_row`\r\n|\r\n|
`@kbn/management-settings-components-form`
|\r\n`src/platform/packages/private/kbn-management/settings/components/form`\r\n|\r\n|
`@kbn/management-settings-field-definition`
|\r\n`src/platform/packages/shared/kbn-management/settings/field_definition`\r\n|\r\n|
`@kbn/management-settings-types`
|\r\n`src/platform/packages/shared/kbn-management/settings/types` |\r\n|
`@kbn/management-settings-utilities`
|\r\n`src/platform/packages/shared/kbn-management/settings/utilities`
|\r\n| `@kbn/rollup` | `x-pack/platform/packages/private/rollup` |\r\n|
`@kbn/unsaved-changes-prompt`
|\r\n`src/platform/packages/shared/kbn-unsaved-changes-prompt`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/console_definitions_sync.sh\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/contributing/development-tests.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-generate-console-definitions/README.md\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-search-connectors/components/cron_editor/readme.md\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/default-nav/devtools/jest.config.js\r\n./src/platform/packages/private/default-nav/management/jest.config.js\r\n./src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js\r\n./src/platform/packages/shared/deeplinks/devtools/jest.config.js\r\n./src/platform/packages/shared/deeplinks/management/jest.config.js\r\n./src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js\r\n./src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js\r\n./src/platform/plugins/shared/console/README.md\r\n./src/platform/plugins/shared/console/jest.config.js\r\n./src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js\r\n./src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md\r\n./src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts\r\n./src/platform/plugins/shared/es_ui_shared/jest.config.js\r\n./src/platform/plugins/shared/es_ui_shared/static/forms/README.md\r\n./src/platform/plugins/shared/management/jest.config.js\r\n./src/plugins/advanced_settings/README.md\r\n./src/plugins/management/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/rollup/jest.config.js\r\n./x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js\r\n./x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js\r\n./x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js\r\n./x-pack/platform/plugins/private/grokdebugger/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js\r\n./x-pack/platform/plugins/private/license_api_guard/jest.config.js\r\n./x-pack/platform/plugins/private/painless_lab/jest.config.js\r\n./x-pack/platform/plugins/private/remote_clusters/jest.config.js\r\n./x-pack/platform/plugins/private/rollup/jest.config.js\r\n./x-pack/platform/plugins/private/runtime_fields/jest.config.js\r\n./x-pack/platform/plugins/private/snapshot_restore/jest.config.js\r\n./x-pack/platform/plugins/private/watcher/jest.config.js\r\n./x-pack/platform/plugins/shared/license_management/jest.config.js\r\n./x-pack/platform/plugins/shared/searchprofiler/jest.config.js\r\n./x-pack/plugins/index_management/README.md\r\n./x-pack/plugins/triggers_actions_ui/README.md\r\n./x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts\r\n./x-pack/solutions/security/packages/navigation/src/constants.ts\r\n./x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/default-nav/devtools/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/devtools/tsconfig.json:2\r\nsrc/platform/packages/private/default-nav/management/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/management/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/application/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js:12\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/form/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/devtools/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/devtools/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/management/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/management/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/types/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json:2\r\nsrc/platform/plugins/shared/console/jest.config.js:12\r\nsrc/platform/plugins/shared/console/tsconfig.json:2\r\nsrc/platform/plugins/shared/dev_tools/tsconfig.json:2\r\nsrc/platform/plugins/shared/es_ui_shared/jest.config.js:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:2\r\nsrc/platform/plugins/shared/management/jest.config.js:12\r\nsrc/platform/plugins/shared/management/tsconfig.json:10\r\nsrc/platform/plugins/shared/management/tsconfig.json:2\r\nx-pack/platform/packages/private/rollup/jest.config.js:10\r\nx-pack/platform/packages/private/rollup/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js:10\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json:2\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:2\r\nx-pack/platform/plugins/private/cross_cluster_replication/jest.config.js:10\r\nx-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json:2\r\nx-pack/platform/plugins/private/grokdebugger/jest.config.js:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:2\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:12\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:2\r\nx-pack/platform/plugins/private/license_api_guard/jest.config.js:10\r\nx-pack/platform/plugins/private/license_api_guard/tsconfig.json:2\r\nx-pack/platform/plugins/private/painless_lab/jest.config.js:10\r\nx-pack/platform/plugins/private/painless_lab/public/styles/_index.scss:1\r\nx-pack/platform/plugins/private/painless_lab/tsconfig.json:2\r\nx-pack/platform/plugins/private/remote_clusters/jest.config.js:10\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:12\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:2\r\nx-pack/platform/plugins/private/rollup/jest.config.js:10\r\nx-pack/platform/plugins/private/rollup/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/README.md:155\r\nx-pack/platform/plugins/private/runtime_fields/jest.config.js:10\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:8\r\nx-pack/platform/plugins/private/snapshot_restore/jest.config.js:10\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:12\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:2\r\nx-pack/platform/plugins/private/watcher/jest.config.js:10\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:12\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:2\r\nx-pack/platform/plugins/shared/license_management/jest.config.js:10\r\nx-pack/platform/plugins/shared/license_management/tsconfig.json:2\r\nx-pack/platform/plugins/shared/searchprofiler/jest.config.js:10\r\nx-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss:1\r\nx-pack/platform/plugins/shared/searchprofiler/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2fd89943c52bb9850cfd515975b0eeb080af608c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Kibana
Management","Team:Kibana
Management","release_note:skip","v9.0.0","backport:prev-minor"],"number":203883,"url":"https://github.com/elastic/kibana/pull/203883","mergeCommit":{"message":"kibana-management
team module move (#203883)\n\n## Summary\r\n\r\nThis PR aims at
relocating some of the Kibana modules (plugins and\r\npackages) into a
new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 17 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cloud-data-migration-plugin`
|\r\n`x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration`\r\n|\r\n|
`@kbn/console-plugin` | `src/platform/plugins/shared/console` |\r\n|
`@kbn/cross-cluster-replication-plugin`
|\r\n`x-pack/platform/plugins/private/cross_cluster_replication` |\r\n|
`@kbn/dev-tools-plugin` | `src/platform/plugins/shared/dev_tools` |\r\n|
`@kbn/es-ui-shared-plugin`
|\r\n`src/platform/plugins/shared/es_ui_shared` |\r\n|
`@kbn/grokdebugger-plugin`
|\r\n`x-pack/platform/plugins/private/grokdebugger` |\r\n|
`@kbn/index-lifecycle-management-plugin`
|\r\n`x-pack/platform/plugins/private/index_lifecycle_management` |\r\n|
`@kbn/license-api-guard-plugin`
|\r\n`x-pack/platform/plugins/private/license_api_guard` |\r\n|
`@kbn/license-management-plugin`
|\r\n`x-pack/platform/plugins/shared/license_management` |\r\n|
`@kbn/management-plugin` | `src/platform/plugins/shared/management`
|\r\n| `@kbn/painless-lab-plugin`
|\r\n`x-pack/platform/plugins/private/painless_lab` |\r\n|
`@kbn/remote-clusters-plugin`
|\r\n`x-pack/platform/plugins/private/remote_clusters` |\r\n|
`@kbn/rollup-plugin` | `x-pack/platform/plugins/private/rollup` |\r\n|
`@kbn/runtime-fields-plugin`
|\r\n`x-pack/platform/plugins/private/runtime_fields` |\r\n|
`@kbn/searchprofiler-plugin`
|\r\n`x-pack/platform/plugins/shared/searchprofiler` |\r\n|
`@kbn/snapshot-restore-plugin`
|\r\n`x-pack/platform/plugins/private/snapshot_restore` |\r\n|
`@kbn/watcher-plugin` | `x-pack/platform/plugins/private/watcher`
|\r\n\r\n\r\n\r\n\r\n#### 17 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-devtools`
|\r\n`src/platform/packages/shared/deeplinks/devtools` |\r\n|
`@kbn/deeplinks-management`
|\r\n`src/platform/packages/shared/deeplinks/management` |\r\n|
`@kbn/default-nav-devtools`
|\r\n`src/platform/packages/private/default-nav/devtools` |\r\n|
`@kbn/default-nav-management`
|\r\n`src/platform/packages/private/default-nav/management` |\r\n|
`@kbn/index-lifecycle-management-common-shared`
|\r\n`x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared`\r\n|\r\n|
`@kbn/index-management-shared-types`
|\r\n`x-pack/platform/packages/shared/index-management/index_management_shared_types`\r\n|\r\n|
`@kbn/management-cards-navigation`
|\r\n`src/platform/packages/shared/kbn-management/cards_navigation`
|\r\n| `@kbn/management-settings-application`
|\r\n`src/platform/packages/private/kbn-management/settings/application`
|\r\n| `@kbn/management-settings-components-field-category`
|\r\n`src/platform/packages/private/kbn-management/settings/components/field_category`\r\n|\r\n|
`@kbn/management-settings-components-field-input`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_input`\r\n|\r\n|
`@kbn/management-settings-components-field-row`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_row`\r\n|\r\n|
`@kbn/management-settings-components-form`
|\r\n`src/platform/packages/private/kbn-management/settings/components/form`\r\n|\r\n|
`@kbn/management-settings-field-definition`
|\r\n`src/platform/packages/shared/kbn-management/settings/field_definition`\r\n|\r\n|
`@kbn/management-settings-types`
|\r\n`src/platform/packages/shared/kbn-management/settings/types` |\r\n|
`@kbn/management-settings-utilities`
|\r\n`src/platform/packages/shared/kbn-management/settings/utilities`
|\r\n| `@kbn/rollup` | `x-pack/platform/packages/private/rollup` |\r\n|
`@kbn/unsaved-changes-prompt`
|\r\n`src/platform/packages/shared/kbn-unsaved-changes-prompt`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/console_definitions_sync.sh\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/contributing/development-tests.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-generate-console-definitions/README.md\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-search-connectors/components/cron_editor/readme.md\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/default-nav/devtools/jest.config.js\r\n./src/platform/packages/private/default-nav/management/jest.config.js\r\n./src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js\r\n./src/platform/packages/shared/deeplinks/devtools/jest.config.js\r\n./src/platform/packages/shared/deeplinks/management/jest.config.js\r\n./src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js\r\n./src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js\r\n./src/platform/plugins/shared/console/README.md\r\n./src/platform/plugins/shared/console/jest.config.js\r\n./src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js\r\n./src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md\r\n./src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts\r\n./src/platform/plugins/shared/es_ui_shared/jest.config.js\r\n./src/platform/plugins/shared/es_ui_shared/static/forms/README.md\r\n./src/platform/plugins/shared/management/jest.config.js\r\n./src/plugins/advanced_settings/README.md\r\n./src/plugins/management/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/rollup/jest.config.js\r\n./x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js\r\n./x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js\r\n./x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js\r\n./x-pack/platform/plugins/private/grokdebugger/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js\r\n./x-pack/platform/plugins/private/license_api_guard/jest.config.js\r\n./x-pack/platform/plugins/private/painless_lab/jest.config.js\r\n./x-pack/platform/plugins/private/remote_clusters/jest.config.js\r\n./x-pack/platform/plugins/private/rollup/jest.config.js\r\n./x-pack/platform/plugins/private/runtime_fields/jest.config.js\r\n./x-pack/platform/plugins/private/snapshot_restore/jest.config.js\r\n./x-pack/platform/plugins/private/watcher/jest.config.js\r\n./x-pack/platform/plugins/shared/license_management/jest.config.js\r\n./x-pack/platform/plugins/shared/searchprofiler/jest.config.js\r\n./x-pack/plugins/index_management/README.md\r\n./x-pack/plugins/triggers_actions_ui/README.md\r\n./x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts\r\n./x-pack/solutions/security/packages/navigation/src/constants.ts\r\n./x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/default-nav/devtools/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/devtools/tsconfig.json:2\r\nsrc/platform/packages/private/default-nav/management/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/management/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/application/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js:12\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/form/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/devtools/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/devtools/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/management/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/management/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/types/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json:2\r\nsrc/platform/plugins/shared/console/jest.config.js:12\r\nsrc/platform/plugins/shared/console/tsconfig.json:2\r\nsrc/platform/plugins/shared/dev_tools/tsconfig.json:2\r\nsrc/platform/plugins/shared/es_ui_shared/jest.config.js:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:2\r\nsrc/platform/plugins/shared/management/jest.config.js:12\r\nsrc/platform/plugins/shared/management/tsconfig.json:10\r\nsrc/platform/plugins/shared/management/tsconfig.json:2\r\nx-pack/platform/packages/private/rollup/jest.config.js:10\r\nx-pack/platform/packages/private/rollup/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js:10\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json:2\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:2\r\nx-pack/platform/plugins/private/cross_cluster_replication/jest.config.js:10\r\nx-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json:2\r\nx-pack/platform/plugins/private/grokdebugger/jest.config.js:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:2\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:12\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:2\r\nx-pack/platform/plugins/private/license_api_guard/jest.config.js:10\r\nx-pack/platform/plugins/private/license_api_guard/tsconfig.json:2\r\nx-pack/platform/plugins/private/painless_lab/jest.config.js:10\r\nx-pack/platform/plugins/private/painless_lab/public/styles/_index.scss:1\r\nx-pack/platform/plugins/private/painless_lab/tsconfig.json:2\r\nx-pack/platform/plugins/private/remote_clusters/jest.config.js:10\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:12\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:2\r\nx-pack/platform/plugins/private/rollup/jest.config.js:10\r\nx-pack/platform/plugins/private/rollup/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/README.md:155\r\nx-pack/platform/plugins/private/runtime_fields/jest.config.js:10\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:8\r\nx-pack/platform/plugins/private/snapshot_restore/jest.config.js:10\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:12\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:2\r\nx-pack/platform/plugins/private/watcher/jest.config.js:10\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:12\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:2\r\nx-pack/platform/plugins/shared/license_management/jest.config.js:10\r\nx-pack/platform/plugins/shared/license_management/tsconfig.json:2\r\nx-pack/platform/plugins/shared/searchprofiler/jest.config.js:10\r\nx-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss:1\r\nx-pack/platform/plugins/shared/searchprofiler/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2fd89943c52bb9850cfd515975b0eeb080af608c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203883","number":203883,"mergeCommit":{"message":"kibana-management
team module move (#203883)\n\n## Summary\r\n\r\nThis PR aims at
relocating some of the Kibana modules (plugins and\r\npackages) into a
new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n#### 17 plugin(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/cloud-data-migration-plugin`
|\r\n`x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration`\r\n|\r\n|
`@kbn/console-plugin` | `src/platform/plugins/shared/console` |\r\n|
`@kbn/cross-cluster-replication-plugin`
|\r\n`x-pack/platform/plugins/private/cross_cluster_replication` |\r\n|
`@kbn/dev-tools-plugin` | `src/platform/plugins/shared/dev_tools` |\r\n|
`@kbn/es-ui-shared-plugin`
|\r\n`src/platform/plugins/shared/es_ui_shared` |\r\n|
`@kbn/grokdebugger-plugin`
|\r\n`x-pack/platform/plugins/private/grokdebugger` |\r\n|
`@kbn/index-lifecycle-management-plugin`
|\r\n`x-pack/platform/plugins/private/index_lifecycle_management` |\r\n|
`@kbn/license-api-guard-plugin`
|\r\n`x-pack/platform/plugins/private/license_api_guard` |\r\n|
`@kbn/license-management-plugin`
|\r\n`x-pack/platform/plugins/shared/license_management` |\r\n|
`@kbn/management-plugin` | `src/platform/plugins/shared/management`
|\r\n| `@kbn/painless-lab-plugin`
|\r\n`x-pack/platform/plugins/private/painless_lab` |\r\n|
`@kbn/remote-clusters-plugin`
|\r\n`x-pack/platform/plugins/private/remote_clusters` |\r\n|
`@kbn/rollup-plugin` | `x-pack/platform/plugins/private/rollup` |\r\n|
`@kbn/runtime-fields-plugin`
|\r\n`x-pack/platform/plugins/private/runtime_fields` |\r\n|
`@kbn/searchprofiler-plugin`
|\r\n`x-pack/platform/plugins/shared/searchprofiler` |\r\n|
`@kbn/snapshot-restore-plugin`
|\r\n`x-pack/platform/plugins/private/snapshot_restore` |\r\n|
`@kbn/watcher-plugin` | `x-pack/platform/plugins/private/watcher`
|\r\n\r\n\r\n\r\n\r\n#### 17 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-devtools`
|\r\n`src/platform/packages/shared/deeplinks/devtools` |\r\n|
`@kbn/deeplinks-management`
|\r\n`src/platform/packages/shared/deeplinks/management` |\r\n|
`@kbn/default-nav-devtools`
|\r\n`src/platform/packages/private/default-nav/devtools` |\r\n|
`@kbn/default-nav-management`
|\r\n`src/platform/packages/private/default-nav/management` |\r\n|
`@kbn/index-lifecycle-management-common-shared`
|\r\n`x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared`\r\n|\r\n|
`@kbn/index-management-shared-types`
|\r\n`x-pack/platform/packages/shared/index-management/index_management_shared_types`\r\n|\r\n|
`@kbn/management-cards-navigation`
|\r\n`src/platform/packages/shared/kbn-management/cards_navigation`
|\r\n| `@kbn/management-settings-application`
|\r\n`src/platform/packages/private/kbn-management/settings/application`
|\r\n| `@kbn/management-settings-components-field-category`
|\r\n`src/platform/packages/private/kbn-management/settings/components/field_category`\r\n|\r\n|
`@kbn/management-settings-components-field-input`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_input`\r\n|\r\n|
`@kbn/management-settings-components-field-row`
|\r\n`src/platform/packages/shared/kbn-management/settings/components/field_row`\r\n|\r\n|
`@kbn/management-settings-components-form`
|\r\n`src/platform/packages/private/kbn-management/settings/components/form`\r\n|\r\n|
`@kbn/management-settings-field-definition`
|\r\n`src/platform/packages/shared/kbn-management/settings/field_definition`\r\n|\r\n|
`@kbn/management-settings-types`
|\r\n`src/platform/packages/shared/kbn-management/settings/types` |\r\n|
`@kbn/management-settings-utilities`
|\r\n`src/platform/packages/shared/kbn-management/settings/utilities`
|\r\n| `@kbn/rollup` | `x-pack/platform/packages/private/rollup` |\r\n|
`@kbn/unsaved-changes-prompt`
|\r\n`src/platform/packages/shared/kbn-unsaved-changes-prompt`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/scripts/steps/console_definitions_sync.sh\r\n./.eslintrc.js\r\n./.i18nrc.json\r\n./docs/developer/contributing/development-tests.asciidoc\r\n./docs/developer/plugin-list.asciidoc\r\n./package.json\r\n./packages/kbn-generate-console-definitions/README.md\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-search-connectors/components/cron_editor/readme.md\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/private/default-nav/devtools/jest.config.js\r\n./src/platform/packages/private/default-nav/management/jest.config.js\r\n./src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js\r\n./src/platform/packages/shared/deeplinks/devtools/jest.config.js\r\n./src/platform/packages/shared/deeplinks/management/jest.config.js\r\n./src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js\r\n./src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js\r\n./src/platform/plugins/shared/console/README.md\r\n./src/platform/plugins/shared/console/jest.config.js\r\n./src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js\r\n./src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md\r\n./src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts\r\n./src/platform/plugins/shared/es_ui_shared/jest.config.js\r\n./src/platform/plugins/shared/es_ui_shared/static/forms/README.md\r\n./src/platform/plugins/shared/management/jest.config.js\r\n./src/plugins/advanced_settings/README.md\r\n./src/plugins/management/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/rollup/jest.config.js\r\n./x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js\r\n./x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js\r\n./x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js\r\n./x-pack/platform/plugins/private/grokdebugger/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js\r\n./x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js\r\n./x-pack/platform/plugins/private/license_api_guard/jest.config.js\r\n./x-pack/platform/plugins/private/painless_lab/jest.config.js\r\n./x-pack/platform/plugins/private/remote_clusters/jest.config.js\r\n./x-pack/platform/plugins/private/rollup/jest.config.js\r\n./x-pack/platform/plugins/private/runtime_fields/jest.config.js\r\n./x-pack/platform/plugins/private/snapshot_restore/jest.config.js\r\n./x-pack/platform/plugins/private/watcher/jest.config.js\r\n./x-pack/platform/plugins/shared/license_management/jest.config.js\r\n./x-pack/platform/plugins/shared/searchprofiler/jest.config.js\r\n./x-pack/plugins/index_management/README.md\r\n./x-pack/plugins/triggers_actions_ui/README.md\r\n./x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts\r\n./x-pack/solutions/security/packages/navigation/src/constants.ts\r\n./x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts\r\n./yarn.lock\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/default-nav/devtools/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/devtools/tsconfig.json:2\r\nsrc/platform/packages/private/default-nav/management/jest.config.js:12\r\nsrc/platform/packages/private/default-nav/management/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/application/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js:12\r\nsrc/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json:2\r\nsrc/platform/packages/private/kbn-management/settings/components/form/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/devtools/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/devtools/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/management/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/management/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/types/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json:2\r\nsrc/platform/plugins/shared/console/jest.config.js:12\r\nsrc/platform/plugins/shared/console/tsconfig.json:2\r\nsrc/platform/plugins/shared/dev_tools/tsconfig.json:2\r\nsrc/platform/plugins/shared/es_ui_shared/jest.config.js:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:12\r\nsrc/platform/plugins/shared/es_ui_shared/tsconfig.json:2\r\nsrc/platform/plugins/shared/management/jest.config.js:12\r\nsrc/platform/plugins/shared/management/tsconfig.json:10\r\nsrc/platform/plugins/shared/management/tsconfig.json:2\r\nx-pack/platform/packages/private/rollup/jest.config.js:10\r\nx-pack/platform/packages/private/rollup/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json:2\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js:10\r\nx-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json:2\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:10\r\nx-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:2\r\nx-pack/platform/plugins/private/cross_cluster_replication/jest.config.js:10\r\nx-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json:2\r\nx-pack/platform/plugins/private/grokdebugger/jest.config.js:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:10\r\nx-pack/platform/plugins/private/grokdebugger/tsconfig.json:2\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js:10\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:12\r\nx-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:2\r\nx-pack/platform/plugins/private/license_api_guard/jest.config.js:10\r\nx-pack/platform/plugins/private/license_api_guard/tsconfig.json:2\r\nx-pack/platform/plugins/private/painless_lab/jest.config.js:10\r\nx-pack/platform/plugins/private/painless_lab/public/styles/_index.scss:1\r\nx-pack/platform/plugins/private/painless_lab/tsconfig.json:2\r\nx-pack/platform/plugins/private/remote_clusters/jest.config.js:10\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:12\r\nx-pack/platform/plugins/private/remote_clusters/tsconfig.json:2\r\nx-pack/platform/plugins/private/rollup/jest.config.js:10\r\nx-pack/platform/plugins/private/rollup/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/README.md:155\r\nx-pack/platform/plugins/private/runtime_fields/jest.config.js:10\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:2\r\nx-pack/platform/plugins/private/runtime_fields/tsconfig.json:8\r\nx-pack/platform/plugins/private/snapshot_restore/jest.config.js:10\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:12\r\nx-pack/platform/plugins/private/snapshot_restore/tsconfig.json:2\r\nx-pack/platform/plugins/private/watcher/jest.config.js:10\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:12\r\nx-pack/platform/plugins/private/watcher/tsconfig.json:2\r\nx-pack/platform/plugins/shared/license_management/jest.config.js:10\r\nx-pack/platform/plugins/shared/license_management/tsconfig.json:2\r\nx-pack/platform/plugins/shared/searchprofiler/jest.config.js:10\r\nx-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss:1\r\nx-pack/platform/plugins/shared/searchprofiler/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2fd89943c52bb9850cfd515975b0eeb080af608c"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-13 17:31:11 -06:00
Kibana Machine
8d8e985c3d
[8.x] [Authz] Types cleanup for AuthorizationServiceSetup (#204208) (#204252)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Authz] Types cleanup for AuthorizationServiceSetup
(#204208)](https://github.com/elastic/kibana/pull/204208)

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

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

<!--BACKPORT [{"author":{"name":"Elena
Shostak","email":"165678770+elena-shostak@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-13T16:09:34Z","message":"[Authz]
Types cleanup for AuthorizationServiceSetup (#204208)\n\n##
Summary\r\n\r\nTypes cleanup for
AuthorizationServiceSetup.\r\n\r\n__Relates:
https://github.com/elastic/kibana/issues/196271__","sha":"bf40e560e793457eed0eb9cd72f2308a4028c5bd","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","Feature:Security/Authorization","v9.0.0","backport:prev-minor"],"title":"[Authz]
Types cleanup for
AuthorizationServiceSetup","number":204208,"url":"https://github.com/elastic/kibana/pull/204208","mergeCommit":{"message":"[Authz]
Types cleanup for AuthorizationServiceSetup (#204208)\n\n##
Summary\r\n\r\nTypes cleanup for
AuthorizationServiceSetup.\r\n\r\n__Relates:
https://github.com/elastic/kibana/issues/196271__","sha":"bf40e560e793457eed0eb9cd72f2308a4028c5bd"}},"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/204208","number":204208,"mergeCommit":{"message":"[Authz]
Types cleanup for AuthorizationServiceSetup (#204208)\n\n##
Summary\r\n\r\nTypes cleanup for
AuthorizationServiceSetup.\r\n\r\n__Relates:
https://github.com/elastic/kibana/issues/196271__","sha":"bf40e560e793457eed0eb9cd72f2308a4028c5bd"}}]}]
BACKPORT-->

Co-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com>
2024-12-13 12:04:07 -06:00
Kevin Delemme
513a9c67f3
[8.x] feat(slo): allow configuration of advanced settings from UI (#200822) (#203575)
# Backport

This will backport the following commits from `main` to `8.x`:
- [feat(slo): allow configuration of advanced settings from UI
(#200822)](https://github.com/elastic/kibana/pull/200822)

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

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

<!--BACKPORT [{"author":{"name":"Kevin
Delemme","email":"kevin.delemme@elastic.co"},"sourceCommit":{"committedDate":"2024-12-02T21:19:17Z","message":"feat(slo):
allow configuration of advanced settings from UI
(#200822)","sha":"8fe4c4419222f346bb6c953ca97422bd977e12f7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport
missing","v9.0.0","release_note:feature","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.18.0"],"number":200822,"url":"https://github.com/elastic/kibana/pull/200822","mergeCommit":{"message":"feat(slo):
allow configuration of advanced settings from UI
(#200822)","sha":"8fe4c4419222f346bb6c953ca97422bd977e12f7"}},"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/200822","number":200822,"mergeCommit":{"message":"feat(slo):
allow configuration of advanced settings from UI
(#200822)","sha":"8fe4c4419222f346bb6c953ca97422bd977e12f7"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-13 14:40:03 +01:00
Kibana Machine
4b0adecb0f
[8.x] [React18] Migrate test suites to account for testing library upgrades security-generative-ai (#201160) (#203960)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[React18] Migrate test suites to account for testing library upgrades
security-generative-ai
(#201160)](https://github.com/elastic/kibana/pull/201160)

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

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

<!--BACKPORT [{"author":{"name":"Eyo O.
Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-12T05:21:20Z","message":"[React18]
Migrate test suites to account for testing library upgrades
security-generative-ai (#201160)\n\nThis PR migrates test suites that
use `renderHook` from the library\r\n`@testing-library/react-hooks` to
adopt the equivalent and replacement\r\nof `renderHook` from the export
that is now available from\r\n`@testing-library/react`. This work is
required for the planned\r\nmigration to react18.\r\n\r\n##
Context\r\n\r\nIn this PR, usages of `waitForNextUpdate` that previously
could have\r\nbeen destructured from `renderHook` are now been replaced
with `waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"6ece92e9e121d6c90950ff7d2f2f5195aafdbfb9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Team:Security
Generative AI","React@18"],"title":"[React18] Migrate test suites to
account for testing library upgrades
security-generative-ai","number":201160,"url":"https://github.com/elastic/kibana/pull/201160","mergeCommit":{"message":"[React18]
Migrate test suites to account for testing library upgrades
security-generative-ai (#201160)\n\nThis PR migrates test suites that
use `renderHook` from the library\r\n`@testing-library/react-hooks` to
adopt the equivalent and replacement\r\nof `renderHook` from the export
that is now available from\r\n`@testing-library/react`. This work is
required for the planned\r\nmigration to react18.\r\n\r\n##
Context\r\n\r\nIn this PR, usages of `waitForNextUpdate` that previously
could have\r\nbeen destructured from `renderHook` are now been replaced
with `waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"6ece92e9e121d6c90950ff7d2f2f5195aafdbfb9"}},"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/201160","number":201160,"mergeCommit":{"message":"[React18]
Migrate test suites to account for testing library upgrades
security-generative-ai (#201160)\n\nThis PR migrates test suites that
use `renderHook` from the library\r\n`@testing-library/react-hooks` to
adopt the equivalent and replacement\r\nof `renderHook` from the export
that is now available from\r\n`@testing-library/react`. This work is
required for the planned\r\nmigration to react18.\r\n\r\n##
Context\r\n\r\nIn this PR, usages of `waitForNextUpdate` that previously
could have\r\nbeen destructured from `renderHook` are now been replaced
with `waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"6ece92e9e121d6c90950ff7d2f2f5195aafdbfb9"}}]}]
BACKPORT-->

Co-authored-by: Eyo O. Eyo <7893459+eokoneyo@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-12-13 06:38:37 -06:00
Kibana Machine
efdca2db51
[8.x] [Authz] Operator privileges (#196583) (#204149)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Authz] Operator privileges
(#196583)](https://github.com/elastic/kibana/pull/196583)

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

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

<!--BACKPORT [{"author":{"name":"Elena
Shostak","email":"165678770+elena-shostak@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-12T22:55:04Z","message":"[Authz]
Operator privileges (#196583)\n\n## Summary\r\n\r\nThis PR adds support
for explicit indication whether endpoint is\r\nrestricted to operator
only users.\r\n\r\n### Context\r\n1. If user has [all
operator\r\nprivileges](https://github.com/elastic/elasticsearch/blob/main/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/DefaultOperatorOnlyRegistry.java#L35-#L53)\r\ngranted,
but is not listed as operator in `operator_users.yml`, ES would\r\nthrow
an unauthorized error.\r\n2. If user is listed as operator in
`operator_users.yml`, but doesn't\r\nhave necessary privileges granted,
ES would throw an unauthorized error.\r\n3. It’s not possible to
determine if a user is operator via any ES API,\r\ni.e.
`_has_privileges`.\r\n4. If operator privileges are disabled we skip the
the check for it,\r\nthat's why we require to explicitly specify
additional privileges to\r\nensure that the route is protected even when
operator privileges are\r\ndisabled.\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n__Relates:
https://github.com/elastic/kibana/issues/196271__\r\n\r\n### How to
test\r\n\r\n1. Add your user to the operators
list\r\n1bd8144924/packages/kbn-es/src/serverless_resources/operator_users.yml (L4)\r\nor
use existing user from the list to log in.\r\n2. Run ES and Kibana
serverless\r\n3. Change any endpoint or create a new one with the
following security\r\nconfig\r\n```\r\n security: {\r\n authz: {\r\n
requiredPrivileges: [ReservedPrivilegesSet.operator],\r\n },\r\n
},\r\n```\r\n4. Check with enabled and disabled operator privileges
(set\r\n`xpack.security.operator_privileges.enabled`)\r\n\r\n## Release
Note\r\nAdded support for explicit indication whether endpoint is
restricted to\r\noperator only users at the route definition
level.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"52dd7e17c4ee1bcada352b142532ca534002e8d5","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Security","Feature:Security/Authorization","v9.0.0","backport:prev-minor"],"title":"[Authz]
Operator
privileges","number":196583,"url":"https://github.com/elastic/kibana/pull/196583","mergeCommit":{"message":"[Authz]
Operator privileges (#196583)\n\n## Summary\r\n\r\nThis PR adds support
for explicit indication whether endpoint is\r\nrestricted to operator
only users.\r\n\r\n### Context\r\n1. If user has [all
operator\r\nprivileges](https://github.com/elastic/elasticsearch/blob/main/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/DefaultOperatorOnlyRegistry.java#L35-#L53)\r\ngranted,
but is not listed as operator in `operator_users.yml`, ES would\r\nthrow
an unauthorized error.\r\n2. If user is listed as operator in
`operator_users.yml`, but doesn't\r\nhave necessary privileges granted,
ES would throw an unauthorized error.\r\n3. It’s not possible to
determine if a user is operator via any ES API,\r\ni.e.
`_has_privileges`.\r\n4. If operator privileges are disabled we skip the
the check for it,\r\nthat's why we require to explicitly specify
additional privileges to\r\nensure that the route is protected even when
operator privileges are\r\ndisabled.\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n__Relates:
https://github.com/elastic/kibana/issues/196271__\r\n\r\n### How to
test\r\n\r\n1. Add your user to the operators
list\r\n1bd8144924/packages/kbn-es/src/serverless_resources/operator_users.yml (L4)\r\nor
use existing user from the list to log in.\r\n2. Run ES and Kibana
serverless\r\n3. Change any endpoint or create a new one with the
following security\r\nconfig\r\n```\r\n security: {\r\n authz: {\r\n
requiredPrivileges: [ReservedPrivilegesSet.operator],\r\n },\r\n
},\r\n```\r\n4. Check with enabled and disabled operator privileges
(set\r\n`xpack.security.operator_privileges.enabled`)\r\n\r\n## Release
Note\r\nAdded support for explicit indication whether endpoint is
restricted to\r\noperator only users at the route definition
level.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"52dd7e17c4ee1bcada352b142532ca534002e8d5"}},"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/196583","number":196583,"mergeCommit":{"message":"[Authz]
Operator privileges (#196583)\n\n## Summary\r\n\r\nThis PR adds support
for explicit indication whether endpoint is\r\nrestricted to operator
only users.\r\n\r\n### Context\r\n1. If user has [all
operator\r\nprivileges](https://github.com/elastic/elasticsearch/blob/main/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/DefaultOperatorOnlyRegistry.java#L35-#L53)\r\ngranted,
but is not listed as operator in `operator_users.yml`, ES would\r\nthrow
an unauthorized error.\r\n2. If user is listed as operator in
`operator_users.yml`, but doesn't\r\nhave necessary privileges granted,
ES would throw an unauthorized error.\r\n3. It’s not possible to
determine if a user is operator via any ES API,\r\ni.e.
`_has_privileges`.\r\n4. If operator privileges are disabled we skip the
the check for it,\r\nthat's why we require to explicitly specify
additional privileges to\r\nensure that the route is protected even when
operator privileges are\r\ndisabled.\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n__Relates:
https://github.com/elastic/kibana/issues/196271__\r\n\r\n### How to
test\r\n\r\n1. Add your user to the operators
list\r\n1bd8144924/packages/kbn-es/src/serverless_resources/operator_users.yml (L4)\r\nor
use existing user from the list to log in.\r\n2. Run ES and Kibana
serverless\r\n3. Change any endpoint or create a new one with the
following security\r\nconfig\r\n```\r\n security: {\r\n authz: {\r\n
requiredPrivileges: [ReservedPrivilegesSet.operator],\r\n },\r\n
},\r\n```\r\n4. Check with enabled and disabled operator privileges
(set\r\n`xpack.security.operator_privileges.enabled`)\r\n\r\n## Release
Note\r\nAdded support for explicit indication whether endpoint is
restricted to\r\noperator only users at the route definition
level.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"52dd7e17c4ee1bcada352b142532ca534002e8d5"}}]}]
BACKPORT-->

Co-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com>
2024-12-12 18:43:51 -06:00
Kibana Machine
ddacf2734f
[8.x] [Cloud Security] Show graph visualization in expanded flyout (#198240) (#204143)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Security] Show graph visualization in expanded flyout
(#198240)](https://github.com/elastic/kibana/pull/198240)

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

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

<!--BACKPORT [{"author":{"name":"Kfir
Peled","email":"61654899+kfirpeled@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-12T22:14:44Z","message":"[Cloud
Security] Show graph visualization in expanded flyout (#198240)\n\n##
Summary\r\n\r\nAdded graph tab to the flyout visualization of alerts and
events.\r\n\r\n**A couple of included changes:**\r\n- Added technical
preview badge\r\n- ~Feature is now toggled
using\r\n`securitySolution:enableVisualizationsInFlyout` advanced
setting~\r\nreverted back to use the experimental feature flag\r\n-
Added node popover to expand the graph\r\n- Expanding a graph adds
relevant filters\r\n- Added e2e tests for both alerts flyout and events
flyout (through\r\nnetwork page)\r\n\r\n**List of known issues:**\r\n-
The graph API works queries `logs-*` while the filters bar works
with\r\nsourcerer current dataview Id\r\n- I'm not sure how to write a
UT for GraphVisualization / Popover which\r\nuses ReactPortal that makes
it tricky to test (I covered most scenarios\r\nusing E2E test)\r\n-
Expanding graph more than once adds another filter\r\n\r\n\r\n**How to
test this PR:**\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use Last\r\n90
days)\r\n\r\n\r\nhttps://github.com/user-attachments/assets/12e19ac7-0f61-4c0a-ac11-e304dfcc83d4\r\n\r\n\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/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- [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] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"749eeec4ccd50391c6050a9142c1b4fcfccf56d4","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Cloud
Security] Show graph visualization in expanded
flyout","number":198240,"url":"https://github.com/elastic/kibana/pull/198240","mergeCommit":{"message":"[Cloud
Security] Show graph visualization in expanded flyout (#198240)\n\n##
Summary\r\n\r\nAdded graph tab to the flyout visualization of alerts and
events.\r\n\r\n**A couple of included changes:**\r\n- Added technical
preview badge\r\n- ~Feature is now toggled
using\r\n`securitySolution:enableVisualizationsInFlyout` advanced
setting~\r\nreverted back to use the experimental feature flag\r\n-
Added node popover to expand the graph\r\n- Expanding a graph adds
relevant filters\r\n- Added e2e tests for both alerts flyout and events
flyout (through\r\nnetwork page)\r\n\r\n**List of known issues:**\r\n-
The graph API works queries `logs-*` while the filters bar works
with\r\nsourcerer current dataview Id\r\n- I'm not sure how to write a
UT for GraphVisualization / Popover which\r\nuses ReactPortal that makes
it tricky to test (I covered most scenarios\r\nusing E2E test)\r\n-
Expanding graph more than once adds another filter\r\n\r\n\r\n**How to
test this PR:**\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use Last\r\n90
days)\r\n\r\n\r\nhttps://github.com/user-attachments/assets/12e19ac7-0f61-4c0a-ac11-e304dfcc83d4\r\n\r\n\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/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- [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] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"749eeec4ccd50391c6050a9142c1b4fcfccf56d4"}},"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/198240","number":198240,"mergeCommit":{"message":"[Cloud
Security] Show graph visualization in expanded flyout (#198240)\n\n##
Summary\r\n\r\nAdded graph tab to the flyout visualization of alerts and
events.\r\n\r\n**A couple of included changes:**\r\n- Added technical
preview badge\r\n- ~Feature is now toggled
using\r\n`securitySolution:enableVisualizationsInFlyout` advanced
setting~\r\nreverted back to use the experimental feature flag\r\n-
Added node popover to expand the graph\r\n- Expanding a graph adds
relevant filters\r\n- Added e2e tests for both alerts flyout and events
flyout (through\r\nnetwork page)\r\n\r\n**List of known issues:**\r\n-
The graph API works queries `logs-*` while the filters bar works
with\r\nsourcerer current dataview Id\r\n- I'm not sure how to write a
UT for GraphVisualization / Popover which\r\nuses ReactPortal that makes
it tricky to test (I covered most scenarios\r\nusing E2E test)\r\n-
Expanding graph more than once adds another filter\r\n\r\n\r\n**How to
test this PR:**\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use Last\r\n90
days)\r\n\r\n\r\nhttps://github.com/user-attachments/assets/12e19ac7-0f61-4c0a-ac11-e304dfcc83d4\r\n\r\n\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/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- [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] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"749eeec4ccd50391c6050a9142c1b4fcfccf56d4"}}]}]
BACKPORT-->

Co-authored-by: Kfir Peled <61654899+kfirpeled@users.noreply.github.com>
2024-12-12 18:00:34 -06:00
Kibana Machine
0b9976ae41
[8.x] [Cloud Security] CDR Graph - fix labels overlap when there are multiple labels (#204020) (#204098)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Security] CDR Graph - fix labels overlap when there are
multiple labels
(#204020)](https://github.com/elastic/kibana/pull/204020)

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

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

<!--BACKPORT [{"author":{"name":"Kfir
Peled","email":"61654899+kfirpeled@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-12T17:45:00Z","message":"[Cloud
Security] CDR Graph - fix labels overlap when there are multiple labels
(#204020)","sha":"231f1b3fca277d947ff8de23fbceac3e28ea88eb","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Cloud
Security] CDR Graph - fix labels overlap when there are multiple
labels","number":204020,"url":"https://github.com/elastic/kibana/pull/204020","mergeCommit":{"message":"[Cloud
Security] CDR Graph - fix labels overlap when there are multiple labels
(#204020)","sha":"231f1b3fca277d947ff8de23fbceac3e28ea88eb"}},"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/204020","number":204020,"mergeCommit":{"message":"[Cloud
Security] CDR Graph - fix labels overlap when there are multiple labels
(#204020)","sha":"231f1b3fca277d947ff8de23fbceac3e28ea88eb"}}]}]
BACKPORT-->

Co-authored-by: Kfir Peled <61654899+kfirpeled@users.noreply.github.com>
2024-12-12 13:52:44 -06:00
Gerard Soldevila
24447a49e2
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ai-assistant (#202763) (#204032)
# Backport

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

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

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

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

This will backport the following commits from `main` to `8.x`:
- [[Synthetics] Clean up e2e test helpers !!
(#203812)](https://github.com/elastic/kibana/pull/203812)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-12-12T09:52:19Z","message":"[Synthetics]
Clean up e2e test helpers !! (#203812)\n\n## Summary\r\n\r\nClean up e2e
test
helpers","sha":"0203bba44f9dcac037f23a23e4945298ef6b5912","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","ci:project-deploy-observability","Team:obs-ux-infra_services","Team:obs-ux-management"],"number":203812,"url":"https://github.com/elastic/kibana/pull/203812","mergeCommit":{"message":"[Synthetics]
Clean up e2e test helpers !! (#203812)\n\n## Summary\r\n\r\nClean up e2e
test
helpers","sha":"0203bba44f9dcac037f23a23e4945298ef6b5912"}},"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/203812","number":203812,"mergeCommit":{"message":"[Synthetics]
Clean up e2e test helpers !! (#203812)\n\n## Summary\r\n\r\nClean up e2e
test helpers","sha":"0203bba44f9dcac037f23a23e4945298ef6b5912"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-12 11:44:21 -05:00
Gerard Soldevila
1bad1ec5de
[8.x] Sustainable Kibana Architecture: Move modules under x-pack/packages/security-solution (#203522) (#204006)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T11:18:10Z","message":"Sustainable
Kibana Architecture: Move modules under
`x-pack/packages/security-solution` (#203522)\n\n## Summary\r\n\r\nThis
PR aims at relocating some of the Kibana modules (plugins
and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n#### 7 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-distribution-bar`
|\r\n`x-pack/solutions/security/packages/distribution_bar` |\r\n|
`@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data_table/jest.config.js\r\n./x-pack/solutions/security/packages/distribution_bar/jest.config.js\r\n./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/features/jest.config.js\r\n./x-pack/solutions/security/packages/navigation/jest.config.js\r\n./x-pack/solutions/security/packages/side_nav/jest.config.js\r\n./x-pack/solutions/security/packages/upselling/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/security/packages/data_table/jest.config.js:11\r\nx-pack/solutions/security/packages/data_table/tsconfig.json:2\r\nx-pack/solutions/security/packages/distribution_bar/jest.config.js:11\r\nx-pack/solutions/security/packages/distribution_bar/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/features/jest.config.js:10\r\nx-pack/solutions/security/packages/features/tsconfig.json:2\r\nx-pack/solutions/security/packages/navigation/jest.config.js:10\r\nx-pack/solutions/security/packages/navigation/tsconfig.json:2\r\nx-pack/solutions/security/packages/side_nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11\r\nx-pack/solutions/security/packages/side_nav/tsconfig.json:2\r\nx-pack/solutions/security/packages/upselling/jest.config.js:10\r\nx-pack/solutions/security/packages/upselling/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Angela Chuang <yi-chun.chuang@elastic.co>\r\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"50068fd9bae6791594bd9d25cfef1f07d2b5ceab","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","Team:
SecuritySolution","backport:prev-minor"],"number":203522,"url":"https://github.com/elastic/kibana/pull/203522","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules under
`x-pack/packages/security-solution` (#203522)\n\n## Summary\r\n\r\nThis
PR aims at relocating some of the Kibana modules (plugins
and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n#### 7 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-distribution-bar`
|\r\n`x-pack/solutions/security/packages/distribution_bar` |\r\n|
`@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data_table/jest.config.js\r\n./x-pack/solutions/security/packages/distribution_bar/jest.config.js\r\n./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/features/jest.config.js\r\n./x-pack/solutions/security/packages/navigation/jest.config.js\r\n./x-pack/solutions/security/packages/side_nav/jest.config.js\r\n./x-pack/solutions/security/packages/upselling/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/security/packages/data_table/jest.config.js:11\r\nx-pack/solutions/security/packages/data_table/tsconfig.json:2\r\nx-pack/solutions/security/packages/distribution_bar/jest.config.js:11\r\nx-pack/solutions/security/packages/distribution_bar/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/features/jest.config.js:10\r\nx-pack/solutions/security/packages/features/tsconfig.json:2\r\nx-pack/solutions/security/packages/navigation/jest.config.js:10\r\nx-pack/solutions/security/packages/navigation/tsconfig.json:2\r\nx-pack/solutions/security/packages/side_nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11\r\nx-pack/solutions/security/packages/side_nav/tsconfig.json:2\r\nx-pack/solutions/security/packages/upselling/jest.config.js:10\r\nx-pack/solutions/security/packages/upselling/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Angela Chuang <yi-chun.chuang@elastic.co>\r\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"50068fd9bae6791594bd9d25cfef1f07d2b5ceab"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203522","number":203522,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules under
`x-pack/packages/security-solution` (#203522)\n\n## Summary\r\n\r\nThis
PR aims at relocating some of the Kibana modules (plugins
and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n#### 7 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/ecs-data-quality-dashboard`
|\r\n`x-pack/solutions/security/packages/ecs_data_quality_dashboard`
|\r\n| `@kbn/security-solution-distribution-bar`
|\r\n`x-pack/solutions/security/packages/distribution_bar` |\r\n|
`@kbn/security-solution-features`
|\r\n`x-pack/solutions/security/packages/features` |\r\n|
`@kbn/security-solution-navigation`
|\r\n`x-pack/solutions/security/packages/navigation` |\r\n|
`@kbn/security-solution-side-nav`
|\r\n`x-pack/solutions/security/packages/side_nav` |\r\n|
`@kbn/security-solution-upselling`
|\r\n`x-pack/solutions/security/packages/upselling` |\r\n|
`@kbn/securitysolution-data-table`
|\r\n`x-pack/solutions/security/packages/data_table`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.eslintrc.js\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data_table/jest.config.js\r\n./x-pack/solutions/security/packages/distribution_bar/jest.config.js\r\n./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/features/jest.config.js\r\n./x-pack/solutions/security/packages/navigation/jest.config.js\r\n./x-pack/solutions/security/packages/side_nav/jest.config.js\r\n./x-pack/solutions/security/packages/upselling/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/security/packages/data_table/jest.config.js:11\r\nx-pack/solutions/security/packages/data_table/tsconfig.json:2\r\nx-pack/solutions/security/packages/distribution_bar/jest.config.js:11\r\nx-pack/solutions/security/packages/distribution_bar/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21\r\nx-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/features/jest.config.js:10\r\nx-pack/solutions/security/packages/features/tsconfig.json:2\r\nx-pack/solutions/security/packages/navigation/jest.config.js:10\r\nx-pack/solutions/security/packages/navigation/tsconfig.json:2\r\nx-pack/solutions/security/packages/side_nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11\r\nx-pack/solutions/security/packages/side_nav/tsconfig.json:2\r\nx-pack/solutions/security/packages/upselling/jest.config.js:10\r\nx-pack/solutions/security/packages/upselling/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Angela Chuang <yi-chun.chuang@elastic.co>\r\nCo-authored-by: Karen
Grigoryan
<karen.grigoryan@elastic.co>","sha":"50068fd9bae6791594bd9d25cfef1f07d2b5ceab"}}]}]
BACKPORT-->
2024-12-12 09:25:16 -06:00
Kibana Machine
d13e80d1e2
[8.x] [Synthetics] Improve overview page performance !! (#201275) (#203892)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Synthetics] Improve overview page performance !!
(#201275)](https://github.com/elastic/kibana/pull/201275)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-12-11T19:33:33Z","message":"[Synthetics]
Improve overview page performance !! (#201275)\n\n##
Summary\r\n\r\nImprove overview page performance !!\r\n\r\nRight now UI
works for few hundred to 1000 monitors, but it starts\r\ndegrading after
that, this PR makes sure, we refactor queries in such a\r\nway that it
scale up to 10k-20k monitors easily.\r\n\r\n\r\n### Queries
before\r\nBefore this PR, we were doing 2 steps queries, first fetch all
saved\r\nobjects and the fetch all summary documents by passings all ids
from\r\nfirst phase. This meant that let's say if we have 20k saved
objects,\r\nfirst we will need to page through all of them to even start
fetching\r\nsummaries. To fetch summary documents, we were using
`top_hits` query\r\nwhich can be memory expensive.\r\n\r\n\r\n###
Queries now\r\nIn this PR we fetch summaries and saved objects in
parallel, since we\r\nhave space id on documents as well, there was no
need to do 2 step\r\nqueries. Now we fetch both things in parallel and
then we hydrate saved\r\nobject data from summary data. In this PR now
we are using top_metrics\r\nquery to fetch each monitor status instead
of `top_hits`\r\n\r\n\r\nI tested on about 20k monitors, app performs
reasoably well after the PR\r\n<img width=\"1920\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c143e196-59a4-45b4-86b7-bd22ac4c5d4b\">\r\n\r\n\r\nOn
a very slow cluster on which kibana is local against a remote
cluster\r\n\r\n### After\r\n<img width=\"1920\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/540d0cdf-2f8c-44d1-af76-81953d9ca0ff\">\r\n\r\n\r\n###
Before\r\n<img width=\"1918\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/5fdc314d-bb59-4137-9397-d8aee6bd4806\">\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b4ccb0c205b2df4312edfe7a087e0bca25242d05","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","ci:project-deploy-observability","Team:obs-ux-management"],"title":"[Synthetics]
Improve overview page performance
!!","number":201275,"url":"https://github.com/elastic/kibana/pull/201275","mergeCommit":{"message":"[Synthetics]
Improve overview page performance !! (#201275)\n\n##
Summary\r\n\r\nImprove overview page performance !!\r\n\r\nRight now UI
works for few hundred to 1000 monitors, but it starts\r\ndegrading after
that, this PR makes sure, we refactor queries in such a\r\nway that it
scale up to 10k-20k monitors easily.\r\n\r\n\r\n### Queries
before\r\nBefore this PR, we were doing 2 steps queries, first fetch all
saved\r\nobjects and the fetch all summary documents by passings all ids
from\r\nfirst phase. This meant that let's say if we have 20k saved
objects,\r\nfirst we will need to page through all of them to even start
fetching\r\nsummaries. To fetch summary documents, we were using
`top_hits` query\r\nwhich can be memory expensive.\r\n\r\n\r\n###
Queries now\r\nIn this PR we fetch summaries and saved objects in
parallel, since we\r\nhave space id on documents as well, there was no
need to do 2 step\r\nqueries. Now we fetch both things in parallel and
then we hydrate saved\r\nobject data from summary data. In this PR now
we are using top_metrics\r\nquery to fetch each monitor status instead
of `top_hits`\r\n\r\n\r\nI tested on about 20k monitors, app performs
reasoably well after the PR\r\n<img width=\"1920\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c143e196-59a4-45b4-86b7-bd22ac4c5d4b\">\r\n\r\n\r\nOn
a very slow cluster on which kibana is local against a remote
cluster\r\n\r\n### After\r\n<img width=\"1920\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/540d0cdf-2f8c-44d1-af76-81953d9ca0ff\">\r\n\r\n\r\n###
Before\r\n<img width=\"1918\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/5fdc314d-bb59-4137-9397-d8aee6bd4806\">\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b4ccb0c205b2df4312edfe7a087e0bca25242d05"}},"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/201275","number":201275,"mergeCommit":{"message":"[Synthetics]
Improve overview page performance !! (#201275)\n\n##
Summary\r\n\r\nImprove overview page performance !!\r\n\r\nRight now UI
works for few hundred to 1000 monitors, but it starts\r\ndegrading after
that, this PR makes sure, we refactor queries in such a\r\nway that it
scale up to 10k-20k monitors easily.\r\n\r\n\r\n### Queries
before\r\nBefore this PR, we were doing 2 steps queries, first fetch all
saved\r\nobjects and the fetch all summary documents by passings all ids
from\r\nfirst phase. This meant that let's say if we have 20k saved
objects,\r\nfirst we will need to page through all of them to even start
fetching\r\nsummaries. To fetch summary documents, we were using
`top_hits` query\r\nwhich can be memory expensive.\r\n\r\n\r\n###
Queries now\r\nIn this PR we fetch summaries and saved objects in
parallel, since we\r\nhave space id on documents as well, there was no
need to do 2 step\r\nqueries. Now we fetch both things in parallel and
then we hydrate saved\r\nobject data from summary data. In this PR now
we are using top_metrics\r\nquery to fetch each monitor status instead
of `top_hits`\r\n\r\n\r\nI tested on about 20k monitors, app performs
reasoably well after the PR\r\n<img width=\"1920\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c143e196-59a4-45b4-86b7-bd22ac4c5d4b\">\r\n\r\n\r\nOn
a very slow cluster on which kibana is local against a remote
cluster\r\n\r\n### After\r\n<img width=\"1920\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/540d0cdf-2f8c-44d1-af76-81953d9ca0ff\">\r\n\r\n\r\n###
Before\r\n<img width=\"1918\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/5fdc314d-bb59-4137-9397-d8aee6bd4806\">\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b4ccb0c205b2df4312edfe7a087e0bca25242d05"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2024-12-12 08:32:09 -06:00
Dario Gieselaar
b3ba62a972
[8.x] [RCA] AI-assisted root cause analysis (#197200) (#203767)
# Backport

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

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

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

<!--BACKPORT {commits} BACKPORT-->
2024-12-12 09:00:12 -05:00
Kibana Machine
3720840dc3
[8.x] [React18] Migrate test suites to account for testing library upgrades obs-ux-management-team (#201164) (#203414)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[React18] Migrate test suites to account for testing library upgrades
obs-ux-management-team
(#201164)](https://github.com/elastic/kibana/pull/201164)

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

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

<!--BACKPORT [{"author":{"name":"Eyo O.
Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-09T13:15:29Z","message":"[React18]
Migrate test suites to account for testing library upgrades
obs-ux-management-team (#201164)\n\nThis PR migrates test suites that
use `renderHook` from the library\r\n`@testing-library/react-hooks` to
adopt the equivalent and replacement\r\nof `renderHook` from the export
that is now available from\r\n`@testing-library/react`. This work is
required for the planned\r\nmigration to react18.\r\n\r\n##
Context\r\n\r\nIn this PR, usages of `waitForNextUpdate` that previously
could have\r\nbeen destructured from `renderHook` are now been replaced
with `waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\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":"7f1d43668106e662dc06bda67d33266a0e35da62","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","ci:project-deploy-observability","Team:obs-ux-management","React@18"],"title":"[React18]
Migrate test suites to account for testing library upgrades
obs-ux-management-team","number":201164,"url":"https://github.com/elastic/kibana/pull/201164","mergeCommit":{"message":"[React18]
Migrate test suites to account for testing library upgrades
obs-ux-management-team (#201164)\n\nThis PR migrates test suites that
use `renderHook` from the library\r\n`@testing-library/react-hooks` to
adopt the equivalent and replacement\r\nof `renderHook` from the export
that is now available from\r\n`@testing-library/react`. This work is
required for the planned\r\nmigration to react18.\r\n\r\n##
Context\r\n\r\nIn this PR, usages of `waitForNextUpdate` that previously
could have\r\nbeen destructured from `renderHook` are now been replaced
with `waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\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":"7f1d43668106e662dc06bda67d33266a0e35da62"}},"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/201164","number":201164,"mergeCommit":{"message":"[React18]
Migrate test suites to account for testing library upgrades
obs-ux-management-team (#201164)\n\nThis PR migrates test suites that
use `renderHook` from the library\r\n`@testing-library/react-hooks` to
adopt the equivalent and replacement\r\nof `renderHook` from the export
that is now available from\r\n`@testing-library/react`. This work is
required for the planned\r\nmigration to react18.\r\n\r\n##
Context\r\n\r\nIn this PR, usages of `waitForNextUpdate` that previously
could have\r\nbeen destructured from `renderHook` are now been replaced
with `waitFor`\r\nexported from `@testing-library/react`, furthermore
`waitFor`\r\nthat would also have been destructured from the same
renderHook result\r\nis now been replaced with `waitFor` from the export
of\r\n`@testing-library/react`.\r\n\r\n***Why is `waitFor` a sufficient
enough replacement for\r\n`waitForNextUpdate`, and better for testing
values subject to async\r\ncomputations?***\r\n\r\nWaitFor will retry
the provided callback if an error is returned, till\r\nthe configured
timeout elapses. By default the retry interval is `50ms`\r\nwith a
timeout value of `1000ms` that\r\neffectively translates to at least 20
retries for assertions placed\r\nwithin waitFor.
See\r\nhttps://testing-library.com/docs/dom-testing-library/api-async/#waitfor\r\nfor
more information.\r\nThis however means that for person's writing tests,
said person has to\r\nbe explicit about expectations that describe the
internal state of the\r\nhook being tested.\r\nThis implies checking for
instance when a react query hook is being\r\nrendered, there's an
assertion that said hook isn't loading anymore.\r\n\r\nIn this PR you'd
notice that this pattern has been adopted, with most\r\nexisting
assertions following an invocation of `waitForNextUpdate`
being\r\nplaced within a `waitFor`\r\ninvocation. In some cases the
replacement is simply a `waitFor(() => new\r\nPromise((resolve) =>
resolve(null)))` (many thanks to @kapral18, for\r\npoint out exactly why
this works),\r\nwhere this suffices the assertions that follow aren't
placed within a\r\nwaitFor so this PR doesn't get larger than it needs
to be.\r\n\r\nIt's also worth pointing out this PR might also contain
changes to test\r\nand application code to improve said existing
test.\r\n\r\n### What to do next?\r\n1. Review the changes in this
PR.\r\n2. If you think the changes are correct, approve the
PR.\r\n\r\n## Any questions?\r\nIf you have any questions or need help
with this PR, please leave\r\ncomments in this
PR.\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":"7f1d43668106e662dc06bda67d33266a0e35da62"}}]}]
BACKPORT-->

Co-authored-by: Eyo O. Eyo <7893459+eokoneyo@users.noreply.github.com>
2024-12-11 09:54:28 -06:00
Devin W. Hurley
cdc6954e49
[8.x] [Security Solution] Fixes exception item comment validation on newline chars \n (#202063) (#203707)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Fixes exception item comment validation on
newline chars `\n`
(#202063)](https://github.com/elastic/kibana/pull/202063)

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

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

<!--BACKPORT [{"author":{"name":"Devin W.
Hurley","email":"devin.hurley@elastic.co"},"sourceCommit":{"committedDate":"2024-12-10T22:19:32Z","message":"[Security
Solution] Fixes exception item comment validation on newline chars `\\n`
(#202063)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/201820\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"35aeac104359eae81a233d0b8a9acaa97119d006","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","review","release_note:fix","v9.0.0","Team:Detections
and Resp","Feature:Rule
Exceptions","backport:version","v8.18.0","v8.16.2","v8.17.1"],"number":202063,"url":"https://github.com/elastic/kibana/pull/202063","mergeCommit":{"message":"[Security
Solution] Fixes exception item comment validation on newline chars `\\n`
(#202063)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/201820\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"35aeac104359eae81a233d0b8a9acaa97119d006"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202063","number":202063,"mergeCommit":{"message":"[Security
Solution] Fixes exception item comment validation on newline chars `\\n`
(#202063)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/201820\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"35aeac104359eae81a233d0b8a9acaa97119d006"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-11 07:13:45 -08:00
Kibana Machine
e0f9cf7442
[8.x] Fix Custom Threshold Rule &#x60;ViewInAppUrl&#x60; does not honor space (#201793) (#203736)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Fix Custom Threshold Rule &#x60;ViewInAppUrl&#x60; does not honor
space (#201793)](https://github.com/elastic/kibana/pull/201793)

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

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2024-12-11T09:39:01Z","message":"Fix
Custom Threshold Rule `ViewInAppUrl` does not honor space
(#201793)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/201378\r\nFix
https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow
to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific
`spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor
Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:SharedUX","ci:project-deploy-observability","Team:obs-ux-management","backport:version","v8.18.0","v8.17.1"],"title":"Fix
Custom Threshold Rule `ViewInAppUrl` does not honor
space","number":201793,"url":"https://github.com/elastic/kibana/pull/201793","mergeCommit":{"message":"Fix
Custom Threshold Rule `ViewInAppUrl` does not honor space
(#201793)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/201378\r\nFix
https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow
to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific
`spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor
Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201793","number":201793,"mergeCommit":{"message":"Fix
Custom Threshold Rule `ViewInAppUrl` does not honor space
(#201793)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/201378\r\nFix
https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow
to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific
`spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor
Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2024-12-11 05:34:53 -06:00
Gerard Soldevila
e2c0e91d10
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/appex-ai-infra (#202410) (#203541)
# Backport

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

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

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

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

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

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

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

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

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

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

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

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

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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-09 12:25:21 -06:00
Kibana Machine
c57075e148
[8.x] [Obs AI Assistant] Fix null pointer in function definition (#203344) (#203436)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs AI Assistant] Fix null pointer in function definition
(#203344)](https://github.com/elastic/kibana/pull/203344)

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

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

<!--BACKPORT [{"author":{"name":"Søren
Louv-Jansen","email":"soren.louv@elastic.co"},"sourceCommit":{"committedDate":"2024-12-09T14:00:05Z","message":"[Obs
AI Assistant] Fix null pointer in function definition
(#203344)\n\nCloses
#201713","sha":"1d9ca1ebf66f4cb8a367de8a8854d40dd4789ec8","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","backport:prev-minor","Team:Obs
AI
Assistant","ci:project-deploy-observability","v8.16.0","v8.17.0"],"title":"[Obs
AI Assistant] Fix null pointer in function
definition","number":203344,"url":"https://github.com/elastic/kibana/pull/203344","mergeCommit":{"message":"[Obs
AI Assistant] Fix null pointer in function definition
(#203344)\n\nCloses
#201713","sha":"1d9ca1ebf66f4cb8a367de8a8854d40dd4789ec8"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203344","number":203344,"mergeCommit":{"message":"[Obs
AI Assistant] Fix null pointer in function definition
(#203344)\n\nCloses
#201713","sha":"1d9ca1ebf66f4cb8a367de8a8854d40dd4789ec8"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
2024-12-09 09:58:24 -06:00