mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 17:04:01 -04:00
884 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
52ab19db2d
|
Upgrade ES client to 9.0.0-alpha.3 (#208776)
## Summary Updating the ES client to 9.0. Resolves #116102 ## What changes? **Breaking change**: `body` has been removed. Most of the changes are about bringing all the content inside the body as a root attribute to the API params: ```diff const response = await client.search({ index: 'test', - body: { query: { match_all: {} } - } }) ``` For this reason, enabling the "Hide whitespace changes" option when reviewing is recommended. Some exceptions to this rule: * Bulk APIs replace the `body` array with `operations` array (direct replacement) * Index Put Settings API replace `body` array with `settings` (direct replacement) * Msearch replaces the `body` array with `searches` array (direct replacement) * Document Index API replaces `body` with `document` (direct replacement) * Create Repository replaces `body` with `repository` (direct replacement) Because of a known issue in the client (https://github.com/elastic/elasticsearch-js/issues/2584), there's still an escape hatch to send data in the body in case the specific use case requires it via `// @ts-expect-error elasticsearch@9.0.0 https://github.com/elastic/elasticsearch-js/issues/2584`, but it shouldn't be abused because we lose types. In this PR we've used it in those scenarios where we reuse the response of a GET as the body of a PUT/POST. ### Other changes * `estypes` can be imported from the root of the library as `import type { estypes } from '@elastic/elasticsearch';` * `estypesWithBody` have been removed * `requestTimeout`'s 30s default has been removed in the client. This PR explicitly adds the setting in all client usages. ### Identify risks - [x] The client places unknown properties as querystring, risking body params leaking there, and causing 400 errors from ES => Solved by forcing `body` usage there via `// @ts-expect-error elasticsearch@9.0.0 https://github.com/elastic/elasticsearch-js/issues/2584`. The next version of the client will address this. - [x] We need to run the MKI tests to make sure that we're not breaking anything there => https://elastic.slack.com/archives/C04HT4P1YS3/p1739528112482629?thread_ts=1739480136.231439&cid=C04HT4P1YS3 --------- Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co> |
||
|
6df81592ea
|
[Fleet] Fix elastic-agent docker image path (#210008)
## Summary Starting in 9.1-SNAPSHOT, the Elastic Agent image has moved from the `beats` namespace to its own `elastic-agent` namespace in docker.elastic.co. This PR updates a few places where the old path is in use. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### 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. - [ ] This was done with a generic find/replace across the Kibana codebase. I did not test the changes extensively and made a few changes outside of the Fleet codebase. Codeowners please be aware. |
||
|
f77dc3d043
|
[product doc] adapt for new format of semantic_text field (#206051)
## Summary fix https://github.com/elastic/kibana/issues/205908 Adapt the product documentation's usages of `semantic_text` for the breaking changes that will be introduced in 8.18 and 9.0. This PR introduces a new format version (`2.0.0`) for the product documentation, introducing the required changes for the incoming `semantic_text` breaking change. - include the `_inference_fields` meta field when bundling the doc artifacts - set the `index.mapping.semantic_text.use_legacy_format` index setting to `false` to force the new format - change the way we're internally overriding the `inference_id` when ingesting the data - adapt the `search` logic to retrieve the data at the right place Doing that with a new format version also makes the transition invisible, as our system will simply adapt depending on the version of the artifact's manifest. ### How to test **1. test that the behavior is not broken for current artifacts** Run the branch, install the product doc from the prod repository, make sure that the 8.17 artifacts are installed, then check if the feature still works using the o11y assistant. **2. test that the behavior works with the new artifacts** **Keeping your ES instance up**, configure your local Kibana to use the dev repository (where the 8.18 artifacts with the new format are present) ```yaml xpack.productDocBase.artifactRepositoryUrl: "https://storage.googleapis.com/kibana-ai-assistant-kb-artifacts-dev" ``` Then restart Kibana, confirms the artifacts gets updated to 8.18 automatically, and then test that the feature still works as expected using the o11y assistant. |
||
|
683a768941
|
SKA: Relocate remaining modules (#206103)
## 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). #### 2 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/entities-data-access-plugin` | `x-pack/solutions/observability/plugins/entities_data_access` | | `@kbn/entityManager-app-plugin` | `x-pack/solutions/observability/plugins/entity_manager_app` | #### 10 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/core-user-settings-server` | `src/core/packages/user-settings/server` | | `@kbn/core-user-settings-server-internal` | `src/core/packages/user-settings/server-internal` | | `@kbn/core-user-settings-server-mocks` | `src/core/packages/user-settings/server-mocks` | | `@kbn/calculate-auto` | `src/platform/packages/shared/kbn-calculate-auto` | | `@kbn/charts-theme` | `src/platform/packages/shared/kbn-charts-theme` | | `@kbn/palettes` | `src/platform/packages/shared/kbn-palettes` | | `@kbn/saved-search-component` | `src/platform/packages/shared/kbn-saved-search-component` | | `@kbn/use-tracked-promise` | `src/platform/packages/shared/kbn-use-tracked-promise` | | `@kbn/response-ops-rule-form` | `src/platform/packages/shared/response-ops/rule_form` | | `@kbn/streams-schema` | `x-pack/solutions/observability/packages/kbn-streams-schema` | <details > <summary>Updated references</summary> ``` ./.i18nrc.json ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/core/packages/user-settings/server-internal/jest.config.js ./src/core/packages/user-settings/server-mocks/jest.config.js ./src/platform/packages/private/kbn-repo-packages/package-map.json ./src/platform/packages/shared/kbn-calculate-auto/jest.config.js ./src/platform/packages/shared/kbn-charts-theme/jest.config.js ./src/platform/packages/shared/kbn-palettes/jest.config.js ./src/platform/packages/shared/kbn-saved-search-component/jest.config.js ./src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js ./src/platform/packages/shared/response-ops/rule_form/jest.config.js ./tsconfig.base.json ./x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js ./x-pack/solutions/observability/plugins/entities_data_access/jest.config.js ./x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` src/core/packages/user-settings/server-internal/jest.config.js:12 src/core/packages/user-settings/server-internal/tsconfig.json:2 src/core/packages/user-settings/server-mocks/jest.config.js:12 src/core/packages/user-settings/server-mocks/tsconfig.json:2 src/core/packages/user-settings/server/tsconfig.json:2 src/platform/packages/shared/kbn-calculate-auto/jest.config.js:12 src/platform/packages/shared/kbn-calculate-auto/tsconfig.json:2 src/platform/packages/shared/kbn-charts-theme/jest.config.js:12 src/platform/packages/shared/kbn-charts-theme/tsconfig.json:2 src/platform/packages/shared/kbn-palettes/jest.config.js:12 src/platform/packages/shared/kbn-palettes/tsconfig.json:2 src/platform/packages/shared/kbn-saved-search-component/jest.config.js:12 src/platform/packages/shared/kbn-saved-search-component/tsconfig.json:2 src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js:12 src/platform/packages/shared/kbn-use-tracked-promise/tsconfig.json:2 src/platform/packages/shared/response-ops/rule_form/jest.config.js:12 src/platform/packages/shared/response-ops/rule_form/tsconfig.json:2 x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js:10 x-pack/solutions/observability/packages/kbn-streams-schema/tsconfig.json:2 x-pack/solutions/observability/plugins/entities_data_access/jest.config.js:12 x-pack/solutions/observability/plugins/entities_data_access/tsconfig.json:2 x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js:12 x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json:2 x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json:7 ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
abf00ee777
|
[Streams 🌊] Stream enrichment processors management (#204793)
## 📓 Summary Part of #https://github.com/elastic/streams-program/issues/32 This work implements a UI for basic stream enrichment, supporting grok and dissect processor + detected fields mapping. The main features implemented in this PR consist of: - **Sortable processors list** - **Add new processor - Grok, Dissect** - Ad-hoc forms for each processor - Simulated document outcome with extracted fields - Filter matching documents with parsed fields - Mapping detected fields (only available for wired streams) - **Edit processor** - Change configuration only - Delete processor CTA As a side quest, I added a small package for object utils as @simianhacker suggested. `@kbn/object-utils` exposes `calculateObjectDiff` and `flattenObject` to detect the changed fields in a simulation. ## 🔜 Follow-up work I'll work on minor updates on top of this MVP to make this available for further testing from the team. The next steps will be: - **Tests** for features that consolidate on the functional pov. - Better field mapping detection and UI feedback (infer the type of the detected field, currently always unmapped) - Add better form validation and feedback for processor configuration. As discussed offline, state management is purely based on the built-in react APIs + react-hook-form. It could be improved with different approaches, including a more solid state management library to make it easier to maintain and bulletproof to race conditions. No state syncs with the URL currently. ## 🎥 Demo https://github.com/user-attachments/assets/a48fade9-f5aa-4270-bb19-d91d1eed822b --------- Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
3515a0f7b8
|
🌊 Streams: Show data retention on stream (#204125)
Show data retention on streams In case of a policy, the name of the policy is shown (badge is clickable and leads to the edit page of the policy): <img width="524" alt="Screenshot 2024-12-12 at 20 57 36" src="https://github.com/user-attachments/assets/2664b45b-2473-49c4-b1d6-dccb8fe48d43" /> In case of DLM, the effect retention is shown: <img width="532" alt="Screenshot 2024-12-12 at 20 58 42" src="https://github.com/user-attachments/assets/07ca8086-75e2-45f8-9d71-17bd0a76ebe5" /> This is just the display piece, editing retention will be added later on. This PR adjusts the base streams data stream settings to use a localized data stream retention configuration to make it compatible with serverless. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
2be928c489
|
SKA: Categorise remaining packages (#205875)
## Summary * Delete unused package `@kbn/formatters` * Delete unused package `@kbn/response-ops-feature-flag-service` * Flag `@kbn/generate-console-definitions` as `devOnly: true` * Flag `@kbn/plugin-check` as `devOnly: true` * Flag `@kbn/set-map` as `devOnly: true` * Flag `@kbn/synthetics-private-location` as `devOnly: true` * Categorise `@kbn/calculate-auto` as `platform/shared` * Categorise `@kbn/charts-theme` as `platform/shared` * Categorise `@kbn/saved-search-component` as `platform/shared` * Categorise `@kbn/use-tracked-promise` as `platform/shared` * Categorise `@kbn/charts-theme` as `platform/shared` * Categorise `@kbn/response-ops-rule-form` as `platform/shared` |
||
|
81a5aa97f1
|
Tweak product doc generation for 8.17 (#205189)
## Summary - use default elser - adapt cleaning for new markdown format |
||
|
4ba5879fa9
|
[Streams] Make root stream selectively immutable (#205609)
## Summary This closes https://github.com/elastic/streams-program/issues/54. The root stream is selectively immutable (processing and fields changes are not allowed). ## UI For the UI I've entirely disabled the actions column for the root stream in the schema editor. All of the information (bar the preview table for changes) available in the flyout for a field is already available in the table, so this seems easiest for now to avoid multiple logic forks wrapping buttons etc. E.g. flyout vs table  |
||
|
a382d35dd2
|
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-visualizations (#202754)
## 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). #### 29 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/charts-plugin` | `src/platform/plugins/shared/charts` | | `@kbn/data-plugin` | `src/platform/plugins/shared/data` | | `@kbn/event-annotation-listing-plugin` | `src/platform/plugins/private/event_annotation_listing` | | `@kbn/event-annotation-plugin` | `src/platform/plugins/private/event_annotation` | | `@kbn/expression-gauge-plugin` | `src/platform/plugins/shared/chart_expressions/expression_gauge` | | `@kbn/expression-heatmap-plugin` | `src/platform/plugins/shared/chart_expressions/expression_heatmap` | | `@kbn/expression-legacy-metric-vis-plugin` | `src/platform/plugins/shared/chart_expressions/expression_legacy_metric` | | `@kbn/expression-metric-vis-plugin` | `src/platform/plugins/shared/chart_expressions/expression_metric` | | `@kbn/expression-partition-vis-plugin` | `src/platform/plugins/shared/chart_expressions/expression_partition_vis` | | `@kbn/expression-tagcloud-plugin` | `src/platform/plugins/shared/chart_expressions/expression_tagcloud` | | `@kbn/expression-xy-plugin` | `src/platform/plugins/shared/chart_expressions/expression_xy` | | `@kbn/expressions-plugin` | `src/platform/plugins/shared/expressions` | | `@kbn/graph-plugin` | `x-pack/platform/plugins/private/graph` | | `@kbn/lens-plugin` | `x-pack/platform/plugins/shared/lens` | | `@kbn/unified-search-plugin` | `src/platform/plugins/shared/unified_search` | | `@kbn/url-forwarding-plugin` | `src/platform/plugins/private/url_forwarding` | | `@kbn/vis-default-editor-plugin` | `src/platform/plugins/private/vis_default_editor` | | `@kbn/vis-type-gauge-plugin` | `src/platform/plugins/private/vis_types/gauge` | | `@kbn/vis-type-heatmap-plugin` | `src/platform/plugins/private/vis_types/heatmap` | | `@kbn/vis-type-metric-plugin` | `src/platform/plugins/private/vis_types/metric` | | `@kbn/vis-type-pie-plugin` | `src/platform/plugins/private/vis_types/pie` | | `@kbn/vis-type-table-plugin` | `src/platform/plugins/private/vis_types/table` | | `@kbn/vis-type-tagcloud-plugin` | `src/platform/plugins/private/vis_types/tagcloud` | | `@kbn/vis-type-timelion-plugin` | `src/platform/plugins/private/vis_types/timelion` | | `@kbn/vis-type-timeseries-plugin` | `src/platform/plugins/shared/vis_types/timeseries` | | `@kbn/vis-type-vega-plugin` | `src/platform/plugins/private/vis_types/vega` | | `@kbn/vis-type-vislib-plugin` | `src/platform/plugins/private/vis_types/vislib` | | `@kbn/vis-type-xy-plugin` | `src/platform/plugins/private/vis_types/xy` | | `@kbn/visualizations-plugin` | `src/platform/plugins/shared/visualizations` | #### 18 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/calculate-width-from-char-count` | `src/platform/packages/shared/kbn-calculate-width-from-char-count` | | `@kbn/chart-expressions-common` | `src/platform/packages/shared/chart-expressions-common` | | `@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons` | | `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring` | | `@kbn/data-service` | `src/platform/packages/shared/kbn-data-service` | | `@kbn/dom-drag-drop` | `src/platform/packages/shared/kbn-dom-drag-drop` | | `@kbn/event-annotation-common` | `src/platform/packages/shared/kbn-event-annotation-common` | | `@kbn/event-annotation-components` | `src/platform/packages/shared/kbn-event-annotation-components` | | `@kbn/interpreter` | `src/platform/packages/shared/kbn-interpreter` | | `@kbn/lens-formula-docs` | `src/platform/packages/private/kbn-lens-formula-docs` | | `@kbn/managed-content-badge` | `src/platform/packages/private/kbn-managed-content-badge` | | `@kbn/random-sampling` | `x-pack/platform/packages/private/kbn-random-sampling` | | `@kbn/sort-predicates` | `src/platform/packages/shared/kbn-sort-predicates` | | `@kbn/timelion-grammar` | `src/platform/packages/private/kbn-timelion-grammar` | | `@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` | | `@kbn/transpose-utils` | `src/platform/packages/private/kbn-transpose-utils` | | `@kbn/visualization-ui-components` | `src/platform/packages/shared/kbn-visualization-ui-components` | | `@kbn/visualization-utils` | `src/platform/packages/shared/kbn-visualization-utils` | <details > <summary>Updated references</summary> ``` ./.eslintignore ./.eslintrc.js ./.github/paths-labeller.yml ./.i18nrc.json ./docs/developer/architecture/core/elasticsearch-service.asciidoc ./docs/developer/architecture/development-visualize-index.asciidoc ./docs/developer/best-practices/index.asciidoc ./docs/developer/plugin-list.asciidoc ./examples/search_examples/public/plugin.ts ./package.json ./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts ./packages/kbn-docs-utils/src/utils.ts ./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts ./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts ./packages/kbn-ts-projects/config-paths.json ./src/dev/build/tasks/package_json/find_used_dependencies.ts ./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js ./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt ./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js ./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json ./src/dev/storybook/aliases.ts ./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js ./src/platform/packages/private/kbn-managed-content-badge/jest.config.js ./src/platform/packages/private/kbn-repo-packages/package-map.json ./src/platform/packages/private/kbn-tinymath/README.md ./src/platform/packages/private/kbn-tinymath/jest.config.js ./src/platform/packages/private/kbn-transpose-utils/jest.config.js ./src/platform/packages/shared/chart-expressions-common/jest.config.js ./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js ./src/platform/packages/shared/kbn-chart-icons/jest.config.js ./src/platform/packages/shared/kbn-coloring/jest.config.js ./src/platform/packages/shared/kbn-data-service/jest.config.js ./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js ./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js ./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js ./src/platform/packages/shared/kbn-interpreter/jest.config.js ./src/platform/packages/shared/kbn-sort-predicates/jest.config.js ./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js ./src/platform/packages/shared/kbn-visualization-utils/jest.config.js ./src/platform/plugins/private/event_annotation/jest.config.js ./src/platform/plugins/private/event_annotation_listing/jest.config.js ./src/platform/plugins/private/url_forwarding/jest.config.js ./src/platform/plugins/private/vis_default_editor/jest.config.js ./src/platform/plugins/private/vis_types/gauge/jest.config.js ./src/platform/plugins/private/vis_types/heatmap/jest.config.js ./src/platform/plugins/private/vis_types/metric/jest.config.js ./src/platform/plugins/private/vis_types/pie/jest.config.js ./src/platform/plugins/private/vis_types/table/jest.config.js ./src/platform/plugins/private/vis_types/tagcloud/jest.config.js ./src/platform/plugins/private/vis_types/timelion/jest.config.js ./src/platform/plugins/private/vis_types/vega/jest.config.js ./src/platform/plugins/private/vis_types/vislib/jest.config.js ./src/platform/plugins/private/vis_types/xy/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js ./src/platform/plugins/shared/charts/jest.config.js ./src/platform/plugins/shared/custom_integrations/jest.config.js ./src/platform/plugins/shared/data/jest.config.js ./src/platform/plugins/shared/expressions/README.asciidoc ./src/platform/plugins/shared/expressions/jest.config.js ./src/platform/plugins/shared/unified_search/jest.config.js ./src/platform/plugins/shared/vis_types/timeseries/jest.config.js ./src/platform/plugins/shared/visualizations/jest.config.js ./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/private/kbn-random-sampling/jest.config.js ./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts ./x-pack/platform/plugins/private/graph/README.md ./x-pack/platform/plugins/private/graph/jest.config.js ./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts ./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js ./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts ./x-pack/platform/plugins/shared/lens/jest.config.js ./x-pack/platform/plugins/shared/lens/readme.md ./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts ./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts ./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json ./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js ./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts ./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js ./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts ./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts ./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts ./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts ./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts ./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/private/kbn-lens-formula-docs/jest.config.js:12 src/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2 src/platform/packages/private/kbn-managed-content-badge/jest.config.js:12 src/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2 src/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2 src/platform/packages/private/kbn-tinymath/jest.config.js:12 src/platform/packages/private/kbn-tinymath/tsconfig.json:2 src/platform/packages/private/kbn-transpose-utils/jest.config.js:12 src/platform/packages/private/kbn-transpose-utils/tsconfig.json:2 src/platform/packages/shared/chart-expressions-common/jest.config.js:12 src/platform/packages/shared/chart-expressions-common/tsconfig.json:2 src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12 src/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2 src/platform/packages/shared/kbn-chart-icons/jest.config.js:12 src/platform/packages/shared/kbn-chart-icons/tsconfig.json:2 src/platform/packages/shared/kbn-coloring/jest.config.js:12 src/platform/packages/shared/kbn-coloring/tsconfig.json:2 src/platform/packages/shared/kbn-data-service/jest.config.js:12 src/platform/packages/shared/kbn-data-service/tsconfig.json:2 src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12 src/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2 src/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12 src/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2 src/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12 src/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2 src/platform/packages/shared/kbn-interpreter/jest.config.js:12 src/platform/packages/shared/kbn-interpreter/tsconfig.json:2 src/platform/packages/shared/kbn-sort-predicates/jest.config.js:12 src/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2 src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12 src/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2 src/platform/packages/shared/kbn-visualization-utils/jest.config.js:12 src/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2 src/platform/plugins/private/event_annotation/jest.config.js:12 src/platform/plugins/private/event_annotation/tsconfig.json:2 src/platform/plugins/private/event_annotation_listing/jest.config.js:12 src/platform/plugins/private/event_annotation_listing/tsconfig.json:2 src/platform/plugins/private/url_forwarding/jest.config.js:12 src/platform/plugins/private/url_forwarding/tsconfig.json:2 src/platform/plugins/private/vis_default_editor/README.md:8 src/platform/plugins/private/vis_default_editor/jest.config.js:12 src/platform/plugins/private/vis_default_editor/tsconfig.json:2 src/platform/plugins/private/vis_types/gauge/jest.config.js:12 src/platform/plugins/private/vis_types/gauge/tsconfig.json:2 src/platform/plugins/private/vis_types/heatmap/jest.config.js:12 src/platform/plugins/private/vis_types/heatmap/tsconfig.json:2 src/platform/plugins/private/vis_types/metric/jest.config.js:12 src/platform/plugins/private/vis_types/metric/tsconfig.json:2 src/platform/plugins/private/vis_types/pie/jest.config.js:12 src/platform/plugins/private/vis_types/pie/tsconfig.json:2 src/platform/plugins/private/vis_types/table/jest.config.js:12 src/platform/plugins/private/vis_types/table/tsconfig.json:2 src/platform/plugins/private/vis_types/tagcloud/jest.config.js:12 src/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2 src/platform/plugins/private/vis_types/timelion/jest.config.js:12 src/platform/plugins/private/vis_types/timelion/tsconfig.json:2 src/platform/plugins/private/vis_types/vega/jest.config.js:12 src/platform/plugins/private/vis_types/vega/tsconfig.json:2 src/platform/plugins/private/vis_types/vislib/jest.config.js:12 src/platform/plugins/private/vis_types/vislib/tsconfig.json:2 src/platform/plugins/private/vis_types/xy/jest.config.js:12 src/platform/plugins/private/vis_types/xy/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17 src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17 src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2 src/platform/plugins/shared/charts/jest.config.js:12 src/platform/plugins/shared/charts/tsconfig.json:2 src/platform/plugins/shared/data/jest.config.js:12 src/platform/plugins/shared/data/tsconfig.json:13 src/platform/plugins/shared/data/tsconfig.json:2 src/platform/plugins/shared/expressions/jest.config.js:12 src/platform/plugins/shared/expressions/tsconfig.json:2 src/platform/plugins/shared/unified_search/jest.config.js:12 src/platform/plugins/shared/unified_search/tsconfig.json:2 src/platform/plugins/shared/vis_types/timeseries/jest.config.js:12 src/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11 src/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2 src/platform/plugins/shared/visualizations/jest.config.js:12 src/platform/plugins/shared/visualizations/tsconfig.json:2 src/platform/plugins/shared/visualizations/tsconfig.json:6 x-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10 x-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2 x-pack/platform/plugins/private/graph/jest.config.js:10 x-pack/platform/plugins/private/graph/tsconfig.json:13 x-pack/platform/plugins/private/graph/tsconfig.json:3 x-pack/platform/plugins/shared/lens/jest.config.js:10 x-pack/platform/plugins/shared/lens/tsconfig.json:2 x-pack/platform/plugins/shared/lens/tsconfig.json:6 ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
28414ce988
|
[Streams] Dashboard linking (#204309)
Links dashboard to Streams. Changes: - Introduces `IndexStorageAdapter` to manage ES indices - see https://github.com/dgieselaar/kibana/blob/streams-app-asset-linking/x-pack/solutions/observability/packages/utils_server/es/storage/README.md for motivation - Introduces `AssetClient` and `AssetService` to manage asset links with `IndexStorageAdapter` - `RepositorySupertestClient` to make it easier to use `@kbn/server-route-repository` with FTR tests - refactors related to above changes --------- Co-authored-by: Chris Cowan <chris@elastic.co> Co-authored-by: Joe Reuter <johannes.reuter@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
ca5a08db00
|
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-security (#202748)
## 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). #### 4 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/encrypted-saved-objects-plugin` | `x-pack/platform/plugins/shared/encrypted_saved_objects` | | `@kbn/interactive-setup-plugin` | `src/platform/plugins/private/interactive_setup` | | `@kbn/security-plugin` | `x-pack/platform/plugins/shared/security` | | `@kbn/spaces-plugin` | `x-pack/platform/plugins/shared/spaces` | #### 14 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/crypto` | `src/platform/packages/shared/kbn-crypto` | | `@kbn/handlebars` | `src/platform/packages/private/kbn-handlebars` | | `@kbn/safer-lodash-set` | `src/platform/packages/shared/kbn-safer-lodash-set` | | `@kbn/security-api-key-management` | `x-pack/platform/packages/shared/security/api_key_management` | | `@kbn/security-authorization-core` | `x-pack/platform/packages/private/security/authorization_core` | | `@kbn/security-authorization-core-common` | `x-pack/platform/packages/private/security/authorization_core_common` | | `@kbn/security-form-components` | `x-pack/platform/packages/shared/security/form_components` | | `@kbn/security-hardening` | `src/platform/packages/shared/kbn-security-hardening` | | `@kbn/security-plugin-types-common` | `x-pack/platform/packages/shared/security/plugin_types_common` | | `@kbn/security-plugin-types-public` | `x-pack/platform/packages/shared/security/plugin_types_public` | | `@kbn/security-plugin-types-server` | `x-pack/platform/packages/shared/security/plugin_types_server` | | `@kbn/security-role-management-model` | `x-pack/platform/packages/private/security/role_management_model` | | `@kbn/security-ui-components` | `x-pack/platform/packages/private/security/ui_components` | | `@kbn/user-profile-components` | `src/platform/packages/shared/kbn-user-profile-components` | <details open> <summary>Script errors</summary> ``` Cannot replace multiple occurrences of "../.." in the same line, please fix manually: /Users/dokmic/work/elastic/kibana/src/platform/packages/shared/kbn-safer-lodash-set/package.json:6 ``` </details><details > <summary>Updated references</summary> ``` ./.buildkite/scripts/steps/test/kbn_handlebars.sh ./.eslintrc.js ./.i18nrc.json ./docs/developer/advanced/sharing-saved-objects.asciidoc ./docs/developer/plugin-list.asciidoc ./legacy_rfcs/text/0007_lifecycle_unblocked.md ./legacy_rfcs/text/0016_ols_phase_1.md ./package.json ./packages/kbn-dependency-usage/src/dependency_graph/providers/cruiser.test.ts ./packages/kbn-ts-projects/config-paths.json ./packages/kbn-user-profile-components/src/user_profile.ts ./src/core/packages/saved-objects/common/src/types.ts ./src/core/packages/security/server/src/audit_logging/audit_logger.ts ./src/core/packages/user-profile/common/src/user_profile.ts ./src/dev/precommit_hook/casing_check_config.js ./src/platform/packages/private/kbn-handlebars/README.md ./src/platform/packages/private/kbn-handlebars/index.test.ts ./src/platform/packages/private/kbn-handlebars/index.ts ./src/platform/packages/private/kbn-handlebars/jest.config.js ./src/platform/packages/private/kbn-handlebars/scripts/check_for_upstream_updates.sh ./src/platform/packages/private/kbn-handlebars/scripts/print_ast.js ./src/platform/packages/private/kbn-handlebars/scripts/update_upstream_git_hash.sh ./src/platform/packages/private/kbn-handlebars/src/__jest__/test_bench.ts ./src/platform/packages/private/kbn-handlebars/src/handlebars.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.basic.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.blocks.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.builtins.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.compiler.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.data.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.helpers.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.partials.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.security.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.strict.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.subexpressions.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.utils.test.ts ./src/platform/packages/private/kbn-handlebars/src/spec/index.whitespace_control.test.ts ./src/platform/packages/private/kbn-handlebars/src/symbols.ts ./src/platform/packages/private/kbn-handlebars/src/types.ts ./src/platform/packages/private/kbn-handlebars/src/utils.ts ./src/platform/packages/private/kbn-handlebars/src/visitor.ts ./src/platform/packages/private/kbn-repo-packages/package-map.json ./src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel ./src/platform/packages/shared/kbn-crypto/jest.config.js ./src/platform/packages/shared/kbn-safer-lodash-set/fp/assoc.d.ts ./src/platform/packages/shared/kbn-safer-lodash-set/fp/assoc.js ./src/platform/packages/shared/kbn-safer-lodash-set/fp/assocPath.d.ts ./src/platform/packages/shared/kbn-safer-lodash-set/fp/assocPath.js ./src/platform/packages/shared/kbn-safer-lodash-set/fp/index.d.ts ./src/platform/packages/shared/kbn-safer-lodash-set/fp/index.js ./src/platform/packages/shared/kbn-safer-lodash-set/fp/set.d.ts ./src/platform/packages/shared/kbn-safer-lodash-set/fp/set.js ./src/platform/packages/shared/kbn-safer-lodash-set/fp/setWith.d.ts ./src/platform/packages/shared/kbn-safer-lodash-set/fp/setWith.js ./src/platform/packages/shared/kbn-safer-lodash-set/index.d.ts ./src/platform/packages/shared/kbn-safer-lodash-set/index.js ./src/platform/packages/shared/kbn-safer-lodash-set/lodash/_baseSet.js ./src/platform/packages/shared/kbn-safer-lodash-set/lodash/set.js ./src/platform/packages/shared/kbn-safer-lodash-set/lodash/setWith.js ./src/platform/packages/shared/kbn-safer-lodash-set/package.json ./src/platform/packages/shared/kbn-safer-lodash-set/scripts/_get_lodash.sh ./src/platform/packages/shared/kbn-safer-lodash-set/scripts/license-header.txt ./src/platform/packages/shared/kbn-safer-lodash-set/scripts/save_state.sh ./src/platform/packages/shared/kbn-safer-lodash-set/scripts/update.sh ./src/platform/packages/shared/kbn-safer-lodash-set/set.d.ts ./src/platform/packages/shared/kbn-safer-lodash-set/set.js ./src/platform/packages/shared/kbn-safer-lodash-set/setWith.d.ts ./src/platform/packages/shared/kbn-safer-lodash-set/setWith.js ./src/platform/packages/shared/kbn-safer-lodash-set/test/fp.ts ./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_assoc.ts ./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_assocPath.ts ./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_patch_test.js ./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_set.ts ./src/platform/packages/shared/kbn-safer-lodash-set/test/fp_setWith.ts ./src/platform/packages/shared/kbn-safer-lodash-set/test/index.ts ./src/platform/packages/shared/kbn-safer-lodash-set/test/patch_test.js ./src/platform/packages/shared/kbn-safer-lodash-set/test/set.ts ./src/platform/packages/shared/kbn-safer-lodash-set/test/setWith.ts ./src/platform/packages/shared/kbn-user-profile-components/jest.config.js ./src/platform/plugins/private/interactive_setup/jest.config.js ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/private/security/authorization_core/jest.config.js ./x-pack/platform/packages/private/security/authorization_core_common/jest.config.js ./x-pack/platform/packages/private/security/role_management_model/jest.config.js ./x-pack/platform/packages/private/security/ui_components/jest.config.js ./x-pack/platform/packages/shared/security/api_key_management/jest.config.js ./x-pack/platform/packages/shared/security/form_components/jest.config.js ./x-pack/platform/plugins/shared/cases/server/authorization/index.ts ./x-pack/platform/plugins/shared/cases/server/authorization/types.ts ./x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts ./x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts ./x-pack/platform/plugins/shared/encrypted_saved_objects/README.md ./x-pack/platform/plugins/shared/encrypted_saved_objects/jest.config.js ./x-pack/platform/plugins/shared/fleet/common/http_authorization_header.ts ./x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.ts ./x-pack/platform/plugins/shared/security/jest.config.js ./x-pack/platform/plugins/shared/spaces/jest.config.js ./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/routes/notes/get_notes.ts ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/private/kbn-handlebars/jest.config.js:8 src/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts:276 src/platform/packages/private/kbn-handlebars/src/spec/index.regressions.test.ts:277 src/platform/packages/private/kbn-handlebars/tsconfig.json:2 src/platform/packages/shared/kbn-crypto/jest.config.js:12 src/platform/packages/shared/kbn-crypto/tsconfig.json:2 src/platform/packages/shared/kbn-safer-lodash-set/package.json:6 src/platform/packages/shared/kbn-safer-lodash-set/package.json:7 src/platform/packages/shared/kbn-safer-lodash-set/package.json:8 src/platform/packages/shared/kbn-safer-lodash-set/tsconfig.json:2 src/platform/packages/shared/kbn-security-hardening/tsconfig.json:2 src/platform/packages/shared/kbn-user-profile-components/jest.config.js:12 src/platform/packages/shared/kbn-user-profile-components/tsconfig.json:2 src/platform/plugins/private/interactive_setup/jest.config.js:12 src/platform/plugins/private/interactive_setup/tsconfig.json:2 x-pack/platform/packages/private/security/authorization_core/jest.config.js:13 x-pack/platform/packages/private/security/authorization_core/tsconfig.json:2 x-pack/platform/packages/private/security/authorization_core_common/jest.config.js:15 x-pack/platform/packages/private/security/authorization_core_common/tsconfig.json:2 x-pack/platform/packages/private/security/role_management_model/jest.config.js:14 x-pack/platform/packages/private/security/role_management_model/tsconfig.json:2 x-pack/platform/packages/private/security/ui_components/jest.config.js:13 x-pack/platform/packages/private/security/ui_components/tsconfig.json:2 x-pack/platform/packages/shared/security/api_key_management/jest.config.js:14 x-pack/platform/packages/shared/security/api_key_management/tsconfig.json:2 x-pack/platform/packages/shared/security/form_components/jest.config.js:14 x-pack/platform/packages/shared/security/form_components/tsconfig.json:2 x-pack/platform/packages/shared/security/plugin_types_common/tsconfig.json:2 x-pack/platform/packages/shared/security/plugin_types_public/tsconfig.json:2 x-pack/platform/packages/shared/security/plugin_types_server/tsconfig.json:2 x-pack/platform/plugins/shared/encrypted_saved_objects/README.md:8 x-pack/platform/plugins/shared/encrypted_saved_objects/jest.config.js:10 x-pack/platform/plugins/shared/encrypted_saved_objects/tsconfig.json:2 x-pack/platform/plugins/shared/security/jest.config.js:10 x-pack/platform/plugins/shared/security/tsconfig.json:2 x-pack/platform/plugins/shared/spaces/jest.config.js:10 x-pack/platform/plugins/shared/spaces/tsconfig.json:2 ``` </details> --------- Co-authored-by: Michael Dokolin <mikhail.dokolin@elastic.co> Co-authored-by: “jeramysoucy” <jeramy.soucy@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
6049493e4a
|
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-core (#201653)
## Summary Start relocating Kibana modules (packages and plugins) to the new folder structure, according to the _Kibana Sustainable Architecture_ initiative. #### 16 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/cloud-chat-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_chat` | | `@kbn/cloud-experiments-plugin` | `x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` | | `@kbn/cloud-full-story-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` | | `@kbn/cloud-links-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_links` | | `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` | | `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` | | `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` | | `@kbn/kibana-usage-collection-plugin` | `src/platform/plugins/private/kibana_usage_collection` | | `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` | | `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` | | `@kbn/saved-objects-management-plugin` | `src/platform/plugins/shared/saved_objects_management` | | `@kbn/telemetry-collection-manager-plugin` | `src/platform/plugins/shared/telemetry_collection_manager` | | `@kbn/telemetry-collection-xpack-plugin` | `x-pack/platform/plugins/private/telemetry_collection_xpack` | | `@kbn/telemetry-management-section-plugin` | `src/platform/plugins/shared/telemetry_management_section` | | `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` | | `@kbn/usage-collection-plugin` | `src/platform/plugins/shared/usage_collection` | #### 22 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` | | `@kbn/analytics-collection-utils` | `src/platform/packages/private/analytics/utils/analytics_collection_utils` | | `@kbn/apm-config-loader` | `src/platform/packages/private/kbn-apm-config-loader` | | `@kbn/cloud` | `src/platform/packages/shared/cloud` | | `@kbn/config` | `src/platform/packages/shared/kbn-config` | | `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks` | | `@kbn/config-schema` | `src/platform/packages/shared/kbn-config-schema` | | `@kbn/crypto-browser` | `src/platform/packages/shared/kbn-crypto-browser` | | `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` | | `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` | | `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` | | `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` | | `@kbn/health-gateway-server` | `src/platform/packages/private/kbn-health-gateway-server` | | `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` | | `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` | | `@kbn/logging` | `src/platform/packages/shared/kbn-logging` | | `@kbn/logging-mocks` | `src/platform/packages/shared/kbn-logging-mocks` | | `@kbn/router-to-openapispec` | `src/platform/packages/shared/kbn-router-to-openapispec` | | `@kbn/server-http-tools` | `src/platform/packages/shared/kbn-server-http-tools` | | `@kbn/std` | `src/platform/packages/shared/kbn-std` | | `@kbn/utility-types` | `src/platform/packages/shared/kbn-utility-types` | | `@kbn/zod` | `src/platform/packages/shared/kbn-zod` | --------- Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
8f01c3032c
|
[SharedUX] Modify code editor theme definition and resolution implementation to account for color modes in EUI Theme (#203337)
## Summary <!-- ### DONT MERGE, THIS PR DEPENDS ON AN UPDATE TO EUI, THAT'S IN FLIGHT --> Closes https://github.com/elastic/kibana/issues/202782 This PR reworks how custom themes used within the kibana code editor for the default visual look and ones specific to supported languages are defined to accomodate the upcoming visual refresh, the approach here leverages the `euiTheme` object value returned from the `useEuiTheme` hook, now a single theme declaration is all that is required such that using either the `colorMode `value or the `euiTheme` from the provided `UseEUITheme` value it's possible to craft a theme that's in the context of kIbana, color mode aware and the editor would be able to resolve the appropriate colors depending on the user's color mode. This required some modification to monaco itself; now when defining languages if the `CustomLanguageType` specification is being followed, a function that resolves to a standard monaco theme can be provided on the property `languageThemeResolver` which will be passed the `euiTheme` when registering this theme. It's worth mentioning that this can also be done manually by leveraging the custom method `registerLanguageThemeResolver` added on the monaco editor object, like so ```tsx monaco.editor.registerLanguageThemeResolver(LanguageID, languageThemeResolver); ``` However one should take note that when calling this method directly, the ID passed must correlate to a registered language ID, else the theme will not be available for use after Monaco is initialised, hence the theme name must equal an existing language ID if it's to be used for a specific language. ## How to test - Enable borealis, like so; - in your `kibana.dev.yml` file include the following config; ```yml uiSettings.experimental.themeSwitcherEnabled: true ``` - start kibana using the following command; `KBN_OPTIMIZER_THEMES="borealislight,borealisdark,v8light,v8dark" yarn start --run-examples` - Tryout all downstream of the code editor to ascertain the code editor colors are as should be for both Amsterdam and Borealis; downstreams include; - ES|QL editor, navigate to discover and click the "try ES|QL" button - Dev tools, on clicking the nav hamburger menu under the management menu group there's a menu item that links to all dev tools - Index Management use cases; navigate to stack management, under Index management select any existing index, then navigate to it's settings this should load up the code editor. - Saved Object use case; navigate to stack management, under saved objects attempt inspecting any saved object we'd be presented with the code editor etc. <!-- ### 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: ek-so <eksomail@gmail.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
70cf414f42
|
Gracefully disable favorites if profile is not available (#204397)
## Summary When a user profile is not available, the favorites (starred) service can't be used. On UI user profile can be not available if security is disabled or for an anonymous user. This PR improves the handling of starred features for rare cases when a profile is missing: - No unnecessary `GET favorites` requests that would fail with error and add noise to console/networks - No unhandled errors are thrown - Starred tab in esql is hidden - The Dashboard Starred tab isn't flickering on each attempt to fetch favorites For this needed to expose `userProfile.enabled$` from core, also created https://github.com/elastic/kibana/issues/204570 ### Testing ``` node scripts/functional_tests_server.js --config test/functional/apps/dashboard/group4/config.ts localhost:5620 ``` another way is by configuring an anonymous user https://www.elastic.co/guide/en/elasticsearch/reference/current/anonymous-access.html |
||
|
20d37000ef
|
[Theme] configure appearance color mode (#203406) | ||
|
380a879911
|
Sustainable Kibana Architecture: Move modules owned by @elastic/search-kibana (#202837)
## 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). #### 10 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/enterprise-search-plugin` | `x-pack/solutions/search/plugins/enterprise_search` | | `@kbn/search-assistant` | `x-pack/solutions/search/plugins/search_assistant` | | `@kbn/search-connectors-plugin` | `x-pack/solutions/search/plugins/search_connectors` | | `@kbn/search-homepage` | `x-pack/solutions/search/plugins/search_homepage` | | `@kbn/search-indices` | `x-pack/solutions/search/plugins/search_indices` | | `@kbn/search-inference-endpoints` | `x-pack/solutions/search/plugins/search_inference_endpoints` | | `@kbn/search-navigation` | `x-pack/solutions/search/plugins/search_solution/search_navigation` | | `@kbn/search-notebooks` | `x-pack/solutions/search/plugins/search_notebooks` | | `@kbn/search-playground` | `x-pack/solutions/search/plugins/search_playground` | | `@kbn/serverless-search` | `x-pack/solutions/search/plugins/serverless_search` | #### 11 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/ai-assistant` | `x-pack/platform/packages/shared/kbn-ai-assistant` | | `@kbn/deeplinks-search` | `src/platform/packages/shared/deeplinks/search` | | `@kbn/ipynb` | `x-pack/solutions/search/packages/kbn-ipynb` | | `@kbn/search-api-keys-components` | `x-pack/solutions/search/packages/kbn-search-api-keys-components` | | `@kbn/search-api-keys-server` | `x-pack/solutions/search/packages/kbn-search-api-keys-server` | | `@kbn/search-api-panels` | `src/platform/packages/shared/kbn-search-api-panels` | | `@kbn/search-connectors` | `src/platform/packages/shared/kbn-search-connectors` | | `@kbn/search-index-documents` | `x-pack/solutions/search/packages/kbn-search-index-documents` | | `@kbn/search-shared-ui` | `x-pack/solutions/search/packages/search/shared_ui` | | `@kbn/serverless-search-settings` | `src/platform/packages/shared/serverless/settings/search_project` | | `@kbn/try-in-console` | `src/platform/packages/shared/kbn-try-in-console` | <details open> <summary>Script errors</summary> ``` Cannot replace multiple occurrences of "../.." in the same line, please fix manually: /Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/solutions/search/plugins/enterprise_search/cypress.sh:17 Cannot replace multiple occurrences of "../.." in the same line, please fix manually: /Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/solutions/search/plugins/enterprise_search/cypress.sh:19 ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/shared/deeplinks/search/jest.config.js:12 src/platform/packages/shared/deeplinks/search/tsconfig.json:2 src/platform/packages/shared/deeplinks/search/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-search-api-panels/jest.config.js:12 src/platform/packages/shared/kbn-search-api-panels/tsconfig.json:2 src/platform/packages/shared/kbn-search-api-panels/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-search-api-panels/tsconfig.type_check.json:28 src/platform/packages/shared/kbn-search-api-panels/tsconfig.type_check.json:34 src/platform/packages/shared/kbn-search-api-panels/tsconfig.type_check.json:37 src/platform/packages/shared/kbn-search-connectors/jest.config.js:12 src/platform/packages/shared/kbn-search-connectors/tsconfig.json:2 src/platform/packages/shared/kbn-search-connectors/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-search-connectors/tsconfig.type_check.json:27 src/platform/packages/shared/kbn-try-in-console/jest.config.js:12 src/platform/packages/shared/kbn-try-in-console/tsconfig.json:2 src/platform/packages/shared/kbn-try-in-console/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-try-in-console/tsconfig.type_check.json:29 src/platform/packages/shared/kbn-try-in-console/tsconfig.type_check.json:32 src/platform/packages/shared/serverless/settings/search_project/tsconfig.json:2 src/platform/packages/shared/serverless/settings/search_project/tsconfig.type_check.json:2 src/platform/packages/shared/serverless/settings/search_project/tsconfig.type_check.json:20 src/platform/packages/shared/serverless/settings/search_project/tsconfig.type_check.json:23 x-pack/platform/packages/shared/kbn-ai-assistant/.storybook/main.ts:14 x-pack/platform/packages/shared/kbn-ai-assistant/jest.config.js:16 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.json:2 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:2 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:23 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:26 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:29 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:32 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:35 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:38 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:41 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:44 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:47 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:50 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:53 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:56 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:59 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:62 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:65 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:68 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:71 x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.type_check.json:74 x-pack/solutions/search/packages/kbn-ipynb/jest.config.js:12 x-pack/solutions/search/packages/kbn-ipynb/tsconfig.json:2 x-pack/solutions/search/packages/kbn-ipynb/tsconfig.type_check.json:2 x-pack/solutions/search/packages/kbn-search-api-keys-components/jest.config.js:12 x-pack/solutions/search/packages/kbn-search-api-keys-components/tsconfig.json:2 x-pack/solutions/search/packages/kbn-search-api-keys-components/tsconfig.type_check.json:2 x-pack/solutions/search/packages/kbn-search-api-keys-components/tsconfig.type_check.json:23 x-pack/solutions/search/packages/kbn-search-api-keys-components/tsconfig.type_check.json:26 x-pack/solutions/search/packages/kbn-search-api-keys-components/tsconfig.type_check.json:29 x-pack/solutions/search/packages/kbn-search-api-keys-server/jest.config.js:12 x-pack/solutions/search/packages/kbn-search-api-keys-server/tsconfig.json:2 x-pack/solutions/search/packages/kbn-search-api-keys-server/tsconfig.type_check.json:2 x-pack/solutions/search/packages/kbn-search-api-keys-server/tsconfig.type_check.json:24 x-pack/solutions/search/packages/kbn-search-index-documents/README.md:11 x-pack/solutions/search/packages/kbn-search-index-documents/jest.config.js:12 x-pack/solutions/search/packages/kbn-search-index-documents/tsconfig.json:2 x-pack/solutions/search/packages/kbn-search-index-documents/tsconfig.type_check.json:2 x-pack/solutions/search/packages/kbn-search-index-documents/tsconfig.type_check.json:31 x-pack/solutions/search/packages/search/shared_ui/jest.config.js:13 x-pack/solutions/search/packages/search/shared_ui/tsconfig.json:2 x-pack/solutions/search/packages/search/shared_ui/tsconfig.type_check.json:2 x-pack/solutions/search/packages/search/shared_ui/tsconfig.type_check.json:23 x-pack/solutions/search/plugins/enterprise_search/README.md:138 x-pack/solutions/search/plugins/enterprise_search/README.md:140 x-pack/solutions/search/plugins/enterprise_search/common/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/cypress.config.js:20 x-pack/solutions/search/plugins/enterprise_search/cypress.config.js:23 x-pack/solutions/search/plugins/enterprise_search/cypress.config.ts:20 x-pack/solutions/search/plugins/enterprise_search/cypress.config.ts:23 x-pack/solutions/search/plugins/enterprise_search/cypress.sh:17 x-pack/solutions/search/plugins/enterprise_search/cypress.sh:19 x-pack/solutions/search/plugins/enterprise_search/cypress.sh:8 x-pack/solutions/search/plugins/enterprise_search/cypress/tsconfig.json:2 x-pack/solutions/search/plugins/enterprise_search/cypress/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/enterprise_search/cypress/tsconfig.type_check.json:22 x-pack/solutions/search/plugins/enterprise_search/jest.config.dev.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json:2 x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.type_check.json:21 x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/public/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/server/jest.config.js:10 x-pack/solutions/search/plugins/enterprise_search/tsconfig.json:2 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:100 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:103 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:106 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:109 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:112 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:115 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:118 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:121 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:124 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:127 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:130 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:133 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:136 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:139 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:142 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:148 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:151 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:154 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:157 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:163 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:166 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:169 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:172 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:175 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:178 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:181 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:19 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:193 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:196 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:199 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:202 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:205 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:208 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:211 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:214 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:217 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:22 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:220 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:223 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:226 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:229 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:25 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:28 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:31 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:34 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:55 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:61 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:64 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:67 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:70 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:73 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:76 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:79 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:82 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:85 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:88 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:91 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:94 x-pack/solutions/search/plugins/enterprise_search/tsconfig.type_check.json:97 x-pack/solutions/search/plugins/search_assistant/tsconfig.json:12 x-pack/solutions/search/plugins/search_assistant/tsconfig.json:2 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:14 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:21 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:24 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:27 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:30 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:36 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:39 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:42 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:48 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:51 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:54 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:57 x-pack/solutions/search/plugins/search_assistant/tsconfig.type_check.json:66 x-pack/solutions/search/plugins/search_connectors/jest.config.js:10 x-pack/solutions/search/plugins/search_connectors/package.json:8 x-pack/solutions/search/plugins/search_connectors/package.json:9 x-pack/solutions/search/plugins/search_connectors/tsconfig.json:12 x-pack/solutions/search/plugins/search_connectors/tsconfig.json:2 x-pack/solutions/search/plugins/search_connectors/tsconfig.type_check.json:14 x-pack/solutions/search/plugins/search_connectors/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/search_connectors/tsconfig.type_check.json:21 x-pack/solutions/search/plugins/search_connectors/tsconfig.type_check.json:24 x-pack/solutions/search/plugins/search_connectors/tsconfig.type_check.json:27 x-pack/solutions/search/plugins/search_connectors/tsconfig.type_check.json:30 x-pack/solutions/search/plugins/search_homepage/jest.config.js:10 x-pack/solutions/search/plugins/search_homepage/tsconfig.json:2 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:19 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:22 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:25 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:28 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:31 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:34 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:37 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:40 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:43 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:46 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:49 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:52 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:55 x-pack/solutions/search/plugins/search_homepage/tsconfig.type_check.json:58 x-pack/solutions/search/plugins/search_indices/jest.config.js:10 x-pack/solutions/search/plugins/search_indices/tsconfig.json:11 x-pack/solutions/search/plugins/search_indices/tsconfig.json:2 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:101 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:13 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:20 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:23 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:26 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:29 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:32 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:35 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:38 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:41 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:44 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:47 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:50 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:53 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:56 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:59 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:62 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:65 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:68 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:71 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:74 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:77 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:83 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:86 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:89 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:92 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:95 x-pack/solutions/search/plugins/search_indices/tsconfig.type_check.json:98 x-pack/solutions/search/plugins/search_inference_endpoints/jest.config.js:10 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.json:2 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:19 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:22 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:25 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:28 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:31 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:34 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:40 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:43 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:46 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:49 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:55 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:58 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:61 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:64 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:67 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:70 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:73 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:76 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:82 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:85 x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.type_check.json:88 x-pack/solutions/search/plugins/search_notebooks/jest.config.js:10 x-pack/solutions/search/plugins/search_notebooks/package.json:8 x-pack/solutions/search/plugins/search_notebooks/package.json:9 x-pack/solutions/search/plugins/search_notebooks/tsconfig.json:12 x-pack/solutions/search/plugins/search_notebooks/tsconfig.json:2 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:14 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:21 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:24 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:27 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:30 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:33 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:36 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:39 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:42 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:45 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:48 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:51 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:54 x-pack/solutions/search/plugins/search_notebooks/tsconfig.type_check.json:57 x-pack/solutions/search/plugins/search_playground/jest.config.js:10 x-pack/solutions/search/plugins/search_playground/tsconfig.json:2 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:100 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:103 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:106 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:109 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:112 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:115 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:118 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:121 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:124 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:19 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:22 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:25 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:28 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:31 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:34 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:37 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:43 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:46 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:49 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:52 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:55 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:58 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:67 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:70 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:82 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:85 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:88 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:91 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:94 x-pack/solutions/search/plugins/search_playground/tsconfig.type_check.json:97 x-pack/solutions/search/plugins/search_solution/search_navigation/jest.config.js:10 x-pack/solutions/search/plugins/search_solution/search_navigation/tsconfig.json:2 x-pack/solutions/search/plugins/serverless_search/jest.config.js:10 x-pack/solutions/search/plugins/serverless_search/package.json:8 x-pack/solutions/search/plugins/serverless_search/package.json:9 x-pack/solutions/search/plugins/serverless_search/tsconfig.json:12 x-pack/solutions/search/plugins/serverless_search/tsconfig.json:2 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:102 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:105 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:111 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:114 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:120 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:126 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:132 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:135 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:138 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:14 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:2 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:21 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:24 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:27 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:30 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:33 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:36 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:39 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:51 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:54 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:57 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:60 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:63 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:66 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:69 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:72 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:75 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:78 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:81 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:84 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:90 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:93 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:96 x-pack/solutions/search/plugins/serverless_search/tsconfig.type_check.json:99 ``` </details> --------- Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
49df29609e
|
Sustainable Kibana Architecture: Move modules owned by @elastic/response-ops (#202836)
## 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/actions-plugin` | `x-pack/platform/plugins/shared/actions` | | `@kbn/alerting-plugin` | `x-pack/platform/plugins/shared/alerting` | | `@kbn/cases-plugin` | `x-pack/platform/plugins/shared/cases` | | `@kbn/event-log-plugin` | `x-pack/platform/plugins/shared/event_log` | | `@kbn/rule-registry-plugin` | `x-pack/platform/plugins/shared/rule_registry` | | `@kbn/stack-alerts-plugin` | `x-pack/platform/plugins/shared/stack_alerts` | | `@kbn/stack-connectors-plugin` | `x-pack/platform/plugins/shared/stack_connectors` | | `@kbn/task-manager-plugin` | `x-pack/platform/plugins/shared/task_manager` | | `@kbn/triggers-actions-ui-plugin` | `x-pack/platform/plugins/shared/triggers_actions_ui` | #### 12 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/actions-types` | `src/platform/packages/shared/kbn-actions-types` | | `@kbn/alerting-comparators` | `x-pack/platform/packages/shared/kbn-alerting-comparators` | | `@kbn/alerting-state-types` | `x-pack/platform/packages/private/kbn-alerting-state-types` | | `@kbn/alerting-types` | `src/platform/packages/shared/kbn-alerting-types` | | `@kbn/alerts-as-data-utils` | `src/platform/packages/shared/kbn-alerts-as-data-utils` | | `@kbn/alerts-grouping` | `x-pack/solutions/observability/packages/kbn-alerts-grouping` | | `@kbn/alerts-ui-shared` | `src/platform/packages/shared/kbn-alerts-ui-shared` | | `@kbn/cases-components` | `src/platform/packages/shared/kbn-cases-components` | | `@kbn/grouping` | `src/platform/packages/shared/kbn-grouping` | | `@kbn/response-ops-rule-params` | `src/platform/packages/private/response-ops/rule_params` | | `@kbn/rrule` | `src/platform/packages/shared/kbn-rrule` | | `@kbn/triggers-actions-ui-types` | `src/platform/packages/shared/kbn-triggers-actions-ui-types` | <details open> <summary>Script errors</summary> ``` Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/alerting/README.md:257 Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/stack_connectors/README.md:411 ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/private/response-ops/rule_params/jest.config.js:12 src/platform/packages/private/response-ops/rule_params/tsconfig.json:2 src/platform/packages/private/response-ops/rule_params/tsconfig.type_check.json:2 src/platform/packages/private/response-ops/rule_params/tsconfig.type_check.json:20 src/platform/packages/shared/kbn-actions-types/jest.config.js:12 src/platform/packages/shared/kbn-actions-types/tsconfig.json:2 src/platform/packages/shared/kbn-actions-types/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-actions-types/tsconfig.type_check.json:22 src/platform/packages/shared/kbn-alerting-types/jest.config.js:12 src/platform/packages/shared/kbn-alerting-types/tsconfig.json:2 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:25 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:34 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:40 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:43 src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js:12 src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json:2 src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js:12 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json:2 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:121 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:28 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:49 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:52 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:61 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:64 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:73 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:79 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:82 src/platform/packages/shared/kbn-cases-components/jest.config.js:12 src/platform/packages/shared/kbn-cases-components/tsconfig.json:2 src/platform/packages/shared/kbn-cases-components/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-grouping/jest.config.js:12 src/platform/packages/shared/kbn-grouping/tsconfig.json:2 src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:24 src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:36 src/platform/packages/shared/kbn-rrule/jest.config.js:12 src/platform/packages/shared/kbn-rrule/tsconfig.json:2 src/platform/packages/shared/kbn-rrule/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js:12 src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json:2 src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.type_check.json:2 x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js:10 x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json:2 x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.type_check.json:2 x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.type_check.json:20 x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js:10 x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json:2 x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/actions/docs/openapi/README.md:5 x-pack/platform/plugins/shared/actions/jest.config.js:10 x-pack/platform/plugins/shared/actions/jest.integration.config.js:10 x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts:35 x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts:34 x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts:24 x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js:46 x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md:358 x-pack/platform/plugins/shared/actions/tsconfig.json:2 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:106 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:112 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:115 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:118 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:121 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:124 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:19 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:46 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:85 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:88 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:97 x-pack/platform/plugins/shared/alerting/README.md:257 x-pack/platform/plugins/shared/alerting/README.md:274 x-pack/platform/plugins/shared/alerting/README.md:281 x-pack/platform/plugins/shared/alerting/jest.config.js:10 x-pack/platform/plugins/shared/alerting/jest.integration.config.js:10 x-pack/platform/plugins/shared/alerting/tsconfig.json:2 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:106 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:109 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:112 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:115 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:118 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:121 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:124 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:127 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:130 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:133 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:136 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:139 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:142 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:145 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:148 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:154 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:157 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:160 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:163 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:166 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:169 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:172 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:175 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:178 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:181 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:184 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:187 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:19 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:190 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:193 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:196 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:199 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:202 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:205 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:208 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:85 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:88 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:97 x-pack/platform/plugins/shared/cases/jest.config.js:10 x-pack/platform/plugins/shared/cases/tsconfig.json:10 x-pack/platform/plugins/shared/cases/tsconfig.json:2 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:106 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:112 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:115 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:118 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:12 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:121 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:124 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:127 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:130 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:133 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:136 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:139 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:142 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:145 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:148 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:151 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:154 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:157 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:160 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:163 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:166 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:172 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:178 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:181 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:184 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:187 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:19 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:190 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:193 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:196 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:199 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:202 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:205 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:208 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:43 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:46 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:97 x-pack/platform/plugins/shared/event_log/README.md:330 x-pack/platform/plugins/shared/event_log/jest.config.js:10 x-pack/platform/plugins/shared/event_log/jest.integration.config.js:10 x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js:257 x-pack/platform/plugins/shared/event_log/server/es/context.test.ts:14 x-pack/platform/plugins/shared/event_log/server/es/names.test.ts:10 x-pack/platform/plugins/shared/event_log/tsconfig.json:2 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:20 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:26 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:29 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:32 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:35 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:38 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:41 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:47 x-pack/platform/plugins/shared/rule_registry/jest.config.js:10 x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js:19 x-pack/platform/plugins/shared/rule_registry/tsconfig.json:12 x-pack/platform/plugins/shared/rule_registry/tsconfig.json:2 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:13 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:20 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:23 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:32 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:35 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:38 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:41 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:44 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:50 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:53 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:56 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:59 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:62 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:65 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:68 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:71 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:74 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:77 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:80 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:83 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:86 x-pack/platform/plugins/shared/stack_alerts/jest.config.js:10 x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md:125 x-pack/platform/plugins/shared/stack_alerts/tsconfig.json:2 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:106 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:109 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:112 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:115 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:118 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:121 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:124 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:127 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:130 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:133 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:136 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:139 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:142 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:148 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:151 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:154 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:19 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:31 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:34 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:40 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:43 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:46 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:85 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:88 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:97 x-pack/platform/plugins/shared/stack_connectors/README.md:411 x-pack/platform/plugins/shared/stack_connectors/README.md:417 x-pack/platform/plugins/shared/stack_connectors/jest.config.js:10 x-pack/platform/plugins/shared/stack_connectors/tsconfig.json:2 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:101 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:107 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:110 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:113 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:20 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:29 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:32 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:35 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:38 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:41 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:44 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:50 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:53 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:56 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:59 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:62 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:65 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:68 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:71 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:74 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:77 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:80 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:83 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:89 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:92 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:95 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:98 x-pack/platform/plugins/shared/task_manager/README.md:64 x-pack/platform/plugins/shared/task_manager/jest.config.js:10 x-pack/platform/plugins/shared/task_manager/jest.integration.config.js:10 x-pack/platform/plugins/shared/task_manager/tsconfig.json:2 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:18 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:21 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:24 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:27 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:30 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:33 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:36 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:39 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:42 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:45 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:48 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:51 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:54 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:57 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:60 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:63 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:69 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1229 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1283 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1332 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1404 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1418 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1419 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1534 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1548 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1618 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1632 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:312 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:335 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:336 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:393 x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js:10 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json:12 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json:2 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:102 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:105 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:108 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:111 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:114 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:117 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:120 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:123 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:126 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:129 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:132 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:135 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:138 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:14 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:144 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:147 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:153 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:156 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:159 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:162 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:165 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:171 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:174 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:177 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:180 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:183 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:186 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:189 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:192 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:195 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:198 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:21 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:33 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:36 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:39 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:42 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:45 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:48 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:51 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:57 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:60 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:63 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:66 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:72 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:75 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:78 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:81 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:87 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:90 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:93 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:96 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:99 x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js:12 x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json:2 x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.type_check.json:2 x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.type_check.json:39 ``` </details> --------- Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
1e98a36818
|
Sustainable Kibana Architecture: Move modules owned by @elastic/observability-ui (#202834)
## 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). #### 1 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/observability-shared-plugin` | `x-pack/solutions/observability/plugins/observability_shared` | #### 3 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/observability-utils-browser` | `x-pack/solutions/observability/packages/utils_browser` | | `@kbn/observability-utils-common` | `x-pack/solutions/observability/packages/utils_common` | | `@kbn/observability-utils-server` | `x-pack/solutions/observability/packages/utils_server` | <details > <summary>Updated references</summary> ``` ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./src/dev/storybook/aliases.ts ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/solutions/observability/packages/utils_browser/jest.config.js ./x-pack/solutions/observability/packages/utils_common/jest.config.js ./x-pack/solutions/observability/packages/utils_server/jest.config.js ./x-pack/solutions/observability/plugins/observability_shared/jest.config.js ./x-pack/test/tsconfig.type_check.json ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/solutions/observability/packages/utils_browser/jest.config.js:10 x-pack/solutions/observability/packages/utils_browser/tsconfig.json:2 x-pack/solutions/observability/packages/utils_common/jest.config.js:10 x-pack/solutions/observability/packages/utils_common/tsconfig.json:2 x-pack/solutions/observability/packages/utils_server/jest.config.js:10 x-pack/solutions/observability/packages/utils_server/tsconfig.json:2 x-pack/solutions/observability/plugins/observability_shared/jest.config.js:10 x-pack/solutions/observability/plugins/observability_shared/tsconfig.json:12 x-pack/solutions/observability/plugins/observability_shared/tsconfig.json:2 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:102 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:105 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:108 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:111 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:114 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:14 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:21 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:24 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:27 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:30 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:33 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:36 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:39 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:42 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:45 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:48 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:51 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:54 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:57 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:60 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:63 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:66 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:69 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:72 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:75 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:78 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:81 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:84 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:87 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:90 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:93 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:96 x-pack/solutions/observability/plugins/observability_shared/tsconfig.type_check.json:99 ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co> |
||
|
76caf5669c
|
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-presentation (#204843)
## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > * This PR has been auto-generated. > * Any manual contributions will be lost if the 'relocate' script is re-run. > * Try to obtain the missing reviews / approvals before applying manual fixes, and/or keep your changes in a .patch / git stash. > * Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe [here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E). #### 21 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/canvas-plugin` | `x-pack/platform/plugins/private/canvas` | | `@kbn/controls-plugin` | `src/platform/plugins/shared/controls` | | `@kbn/dashboard-enhanced-plugin` | `x-pack/platform/plugins/shared/dashboard_enhanced` | | `@kbn/dashboard-plugin` | `src/platform/plugins/shared/dashboard` | | `@kbn/embeddable-enhanced-plugin` | `x-pack/platform/plugins/shared/embeddable_enhanced` | | `@kbn/embeddable-plugin` | `src/platform/plugins/shared/embeddable` | | `@kbn/expression-error-plugin` | `src/platform/plugins/shared/expression_error` | | `@kbn/expression-image-plugin` | `src/platform/plugins/shared/expression_image` | | `@kbn/expression-metric-plugin` | `src/platform/plugins/shared/expression_metric` | | `@kbn/expression-repeat-image-plugin` | `src/platform/plugins/shared/expression_repeat_image` | | `@kbn/expression-reveal-image-plugin` | `src/platform/plugins/shared/expression_reveal_image` | | `@kbn/expression-shape-plugin` | `src/platform/plugins/shared/expression_shape` | | `@kbn/file-upload-plugin` | `x-pack/platform/plugins/private/file_upload` | | `@kbn/input-control-vis-plugin` | `src/platform/plugins/private/input_control_vis` | | `@kbn/inspector-plugin` | `src/platform/plugins/shared/inspector` | | `@kbn/links-plugin` | `src/platform/plugins/private/links` | | `@kbn/maps-ems-plugin` | `src/platform/plugins/private/maps_ems` | | `@kbn/maps-plugin` | `x-pack/platform/plugins/shared/maps` | | `@kbn/presentation-panel-plugin` | `src/platform/plugins/private/presentation_panel` | | `@kbn/presentation-util-plugin` | `src/platform/plugins/shared/presentation_util` | | `@kbn/vis-type-markdown-plugin` | `src/platform/plugins/private/vis_type_markdown` | #### 6 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/flot-charts` | `src/platform/packages/shared/kbn-flot-charts` | | `@kbn/mapbox-gl` | `src/platform/packages/private/kbn-mapbox-gl` | | `@kbn/maps-vector-tile-utils` | `x-pack/platform/packages/private/maps/vector_tile_utils` | | `@kbn/panel-loader` | `src/platform/packages/private/kbn-panel-loader` | | `@kbn/presentation-containers` | `src/platform/packages/shared/presentation/presentation_containers` | | `@kbn/presentation-publishing` | `src/platform/packages/shared/presentation/presentation_publishing` | <details > <summary>Updated references</summary> ``` ./.eslintignore ./.eslintrc.js ./.github/codeql/codeql-config.yml ./.github/paths-labeller.yml ./.i18nrc.json ./docs/developer/best-practices/index.asciidoc ./docs/developer/contributing/development-tests.asciidoc ./docs/developer/plugin-list.asciidoc ./legacy_rfcs/text/0018_timeslider.md ./package.json ./packages/kbn-cli-dev-mode/src/watcher.ts ./packages/kbn-docs-utils/src/utils.test.ts ./packages/kbn-repo-packages/package-map.json ./packages/kbn-test/src/jest/setup/polyfills.jsdom.js ./packages/kbn-ts-projects/config-paths.json ./src/dev/build/tasks/build_canvas_shareable_runtime.ts ./src/dev/build/tasks/create_archives_sources_task.ts ./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt ./src/dev/precommit_hook/casing_check_config.js ./src/dev/storybook/aliases.ts ./src/platform/packages/private/kbn-panel-loader/jest.config.js ./src/platform/packages/shared/presentation/presentation_containers/jest.config.js ./src/platform/packages/shared/presentation/presentation_publishing/jest.config.js ./src/platform/plugins/private/input_control_vis/jest.config.js ./src/platform/plugins/private/links/jest.config.js ./src/platform/plugins/private/maps_ems/jest.config.js ./src/platform/plugins/private/presentation_panel/jest.config.js ./src/platform/plugins/private/vis_type_markdown/jest.config.js ./src/platform/plugins/shared/controls/jest.config.js ./src/platform/plugins/shared/dashboard/jest.config.js ./src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap ./src/platform/plugins/shared/embeddable/README.md ./src/platform/plugins/shared/embeddable/jest.config.js ./src/platform/plugins/shared/expression_image/jest.config.js ./src/platform/plugins/shared/expression_metric/jest.config.js ./src/platform/plugins/shared/expression_repeat_image/jest.config.js ./src/platform/plugins/shared/expression_reveal_image/jest.config.js ./src/platform/plugins/shared/expression_shape/jest.config.js ./src/platform/plugins/shared/inspector/jest.config.js ./src/platform/plugins/shared/presentation_util/jest.config.js ./src/platform/plugins/shared/presentation_util/storybook/manager.ts ./src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js ./x-pack/platform/plugins/private/canvas/jest.config.js ./x-pack/platform/plugins/private/canvas/scripts/jest.js ./x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js ./x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts ./x-pack/platform/plugins/private/file_upload/jest.config.js ./x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts ./x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js ./x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts ./x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js ./x-pack/platform/plugins/shared/maps/README.md ./x-pack/platform/plugins/shared/maps/jest.config.js ./x-pack/plugins/reporting/server/config/ui_settings.ts ./x-pack/test/api_integration/apis/maps/fonts_api.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/private/kbn-mapbox-gl/tsconfig.json:2 src/platform/packages/private/kbn-panel-loader/jest.config.js:12 src/platform/packages/private/kbn-panel-loader/tsconfig.json:2 src/platform/packages/shared/kbn-flot-charts/tsconfig.json:2 src/platform/packages/shared/presentation/presentation_containers/jest.config.js:12 src/platform/packages/shared/presentation/presentation_containers/tsconfig.json:2 src/platform/packages/shared/presentation/presentation_publishing/jest.config.js:12 src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json:2 src/platform/plugins/private/input_control_vis/jest.config.js:12 src/platform/plugins/private/input_control_vis/tsconfig.json:2 src/platform/plugins/private/links/jest.config.js:12 src/platform/plugins/private/links/public/_mixins.scss:1 src/platform/plugins/private/links/tsconfig.json:2 src/platform/plugins/private/maps_ems/jest.config.js:12 src/platform/plugins/private/maps_ems/tsconfig.json:2 src/platform/plugins/private/presentation_panel/jest.config.js:12 src/platform/plugins/private/presentation_panel/tsconfig.json:2 src/platform/plugins/private/presentation_panel/tsconfig.json:6 src/platform/plugins/private/vis_type_markdown/jest.config.js:12 src/platform/plugins/private/vis_type_markdown/tsconfig.json:2 src/platform/plugins/shared/controls/jest.config.js:12 src/platform/plugins/shared/controls/tsconfig.json:12 src/platform/plugins/shared/controls/tsconfig.json:2 src/platform/plugins/shared/dashboard/jest.config.js:12 src/platform/plugins/shared/dashboard/tsconfig.json:2 src/platform/plugins/shared/embeddable/jest.config.js:12 src/platform/plugins/shared/embeddable/tsconfig.json:2 src/platform/plugins/shared/expression_error/tsconfig.json:2 src/platform/plugins/shared/expression_image/jest.config.js:12 src/platform/plugins/shared/expression_image/tsconfig.json:2 src/platform/plugins/shared/expression_metric/jest.config.js:12 src/platform/plugins/shared/expression_metric/tsconfig.json:2 src/platform/plugins/shared/expression_repeat_image/jest.config.js:12 src/platform/plugins/shared/expression_repeat_image/tsconfig.json:2 src/platform/plugins/shared/expression_reveal_image/jest.config.js:12 src/platform/plugins/shared/expression_reveal_image/tsconfig.json:2 src/platform/plugins/shared/expression_shape/jest.config.js:12 src/platform/plugins/shared/expression_shape/tsconfig.json:2 src/platform/plugins/shared/inspector/jest.config.js:12 src/platform/plugins/shared/inspector/tsconfig.json:2 src/platform/plugins/shared/presentation_util/jest.config.js:12 src/platform/plugins/shared/presentation_util/storybook/main.ts:17 src/platform/plugins/shared/presentation_util/tsconfig.json:13 src/platform/plugins/shared/presentation_util/tsconfig.json:2 x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js:10 x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json:2 x-pack/platform/plugins/private/canvas/CONTRIBUTING.md:3 x-pack/platform/plugins/private/canvas/PLUGINS.mdx:174 x-pack/platform/plugins/private/canvas/PLUGINS.mdx:175 x-pack/platform/plugins/private/canvas/PLUGINS.mdx:63 x-pack/platform/plugins/private/canvas/PLUGINS.mdx:64 x-pack/platform/plugins/private/canvas/jest.config.js:10 x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js:11 x-pack/platform/plugins/private/canvas/storybook/constants.ts:10 x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx:86 x-pack/platform/plugins/private/canvas/tsconfig.json:16 x-pack/platform/plugins/private/canvas/tsconfig.json:2 x-pack/platform/plugins/private/canvas/tsconfig.json:29 x-pack/platform/plugins/private/file_upload/jest.config.js:10 x-pack/platform/plugins/private/file_upload/tsconfig.json:2 x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js:10 x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json:2 x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js:10 x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json:2 x-pack/platform/plugins/shared/maps/jest.config.js:10 x-pack/platform/plugins/shared/maps/public/_main.scss:1 x-pack/platform/plugins/shared/maps/tsconfig.json:12 x-pack/platform/plugins/shared/maps/tsconfig.json:2 ``` </details> --------- Co-authored-by: Nick Peihl <nick.peihl@elastic.co> Co-authored-by: Michael Dokolin <mikhail.dokolin@elastic.co> |
||
|
5ae53d4f0b
|
🌊 Refactor APIs to follow Elasticsearch conventions (#204671)
## Summary This PR refactors the API by creating a new packaged called `@kbn/streams-schema` where you can find all the Zod types along with some type guards. I've also updated all the API's and calls to use the new schemas. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Joe Reuter <johannes.reuter@elastic.co> |
||
|
3dcae51440
|
[inference] Add support for inference connectors (#204541)
## Summary ~Depends on~ https://github.com/elastic/kibana/pull/200249 merged! Fix https://github.com/elastic/kibana/issues/199082 - Add support for the `inference` stack connectors to the `inference` plugin (everything is inference) - Adapt the o11y assistant to use the `inference-common` utilities for connector filtering / compat checking ## How to test **1. Starts ES with the unified completion feature flag** ```sh yarn es snapshot --license trial ES_JAVA_OPTS="-Des.inference_unified_feature_flag_enabled=true" ``` **2. Enable the inference connector for Kibana** In the Kibana config file: ```yaml xpack.stack_connectors.enableExperimental: ['inferenceConnectorOn'] ``` **3. Start Dev Kibana** ```sh node scripts/kibana --dev --no-base-path ``` **4. Create an inference connector** Go to `http://localhost:5601/app/management/insightsAndAlerting/triggersActionsConnectors/connectors`, create an inference connector - Type: `AI connector` then - Service: `OpenAI` - API Key: Gwzk... Kidding, please ping someone - Model ID: `gpt-4o` - Task type: `completion` -> save **5. test the o11y assistant** Use the assistant as you would do for any other connector (just make sure the inference connector is selected as the one being used) and do your testing. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
223781cdd1
|
Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-logs-team (#202831)
## 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). #### 7 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/data-quality-plugin` | `x-pack/solutions/observability/plugins/data_quality` | | `@kbn/dataset-quality-plugin` | `x-pack/solutions/observability/plugins/dataset_quality` | | `@kbn/fields-metadata-plugin` | `x-pack/platform/plugins/shared/fields_metadata` | | `@kbn/infra-plugin` | `x-pack/solutions/observability/plugins/infra` | | `@kbn/logs-explorer-plugin` | `x-pack/solutions/observability/plugins/logs_explorer` | | `@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/solutions/observability/packages/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` | `x-pack/solutions/observability/packages/kbn-xstate-utils` | <details > <summary>Updated references</summary> ``` ./.buildkite/ftr_oblt_stateful_configs.yml ./.buildkite/scripts/steps/functional/observability_onboarding_cypress.sh ./.eslintrc.js ./.i18nrc.json ./docs/developer/plugin-list.asciidoc ./oas_docs/overlays/alerting.overlays.yaml ./package.json ./packages/kbn-ebt-tools/BUILD.bazel ./packages/kbn-repo-packages/package-map.json ./packages/kbn-text-based-editor/tsconfig.type_check.json ./packages/kbn-ts-projects/config-paths.json ./src/dev/storybook/aliases.ts ./src/platform/packages/shared/kbn-custom-icons/jest.config.js ./src/platform/packages/shared/kbn-discover-contextual-components/jest.config.js ./src/platform/packages/shared/kbn-elastic-agent-utils/jest.config.js ./src/platform/packages/shared/kbn-field-utils/tsconfig.type_check.json ./src/platform/packages/shared/kbn-react-hooks/jest.config.js ./src/platform/packages/shared/kbn-router-utils/jest.config.js ./src/platform/packages/shared/kbn-timerange/jest.config.js ./src/platform/packages/shared/kbn-unified-field-list/tsconfig.type_check.json ./src/platform/plugins/shared/discover/tsconfig.type_check.json ./src/platform/plugins/shared/esql/tsconfig.type_check.json ./src/platform/plugins/shared/unified_doc_viewer/tsconfig.type_check.json ./src/plugins/vis_types/timeseries/server/plugin.ts ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/platform/plugins/shared/fields_metadata/jest.config.js ./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json ./x-pack/plugins/observability_solution/infra/tsconfig.type_check.json ./x-pack/plugins/observability_solution/logs_shared/tsconfig.type_check.json ./x-pack/plugins/observability_solution/metrics_data_access/tsconfig.type_check.json ./x-pack/plugins/observability_solution/observability_logs_explorer/README.md ./x-pack/plugins/observability_solution/observability_onboarding/tsconfig.type_check.json ./x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js ./x-pack/solutions/observability/packages/kbn-xstate-utils/jest.config.js ./x-pack/solutions/observability/packages/logs_overview/jest.config.js ./x-pack/solutions/observability/plugins/data_quality/jest.config.js ./x-pack/solutions/observability/plugins/dataset_quality/README.md ./x-pack/solutions/observability/plugins/dataset_quality/jest.config.js ./x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json ./x-pack/solutions/observability/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts ./x-pack/solutions/observability/plugins/infra/docs/telemetry/README.md ./x-pack/solutions/observability/plugins/infra/jest.config.js ./x-pack/solutions/observability/plugins/infra/public/plugin.ts ./x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json ./x-pack/solutions/observability/plugins/logs_explorer/jest.config.js ./x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json ./x-pack/solutions/observability/plugins/observability/public/utils/datemath.ts ./x-pack/solutions/observability/plugins/observability_logs_explorer/README.md ./x-pack/solutions/observability/plugins/observability_logs_explorer/jest.config.js ./x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json ./x-pack/solutions/observability/plugins/observability_onboarding/e2e/README.md ./x-pack/solutions/observability/plugins/observability_onboarding/jest.config.js ./x-pack/test/tsconfig.type_check.json ./x-pack/test_serverless/tsconfig.type_check.json ./yarn.lock .github/CODEOWNERS ``` </details><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-custom-icons/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-custom-icons/tsconfig.type_check.json:26 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-elastic-agent-utils/tsconfig.type_check.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-react-hooks/tsconfig.type_check.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-router-utils/tsconfig.type_check.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-timerange/tsconfig.type_check.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/fields_metadata/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:20 x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:23 x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:26 x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:29 x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:32 x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:35 x-pack/platform/plugins/shared/fields_metadata/tsconfig.type_check.json:9 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/packages/kbn-custom-integrations/tsconfig.type_check.json:2 x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.type_check.json:27 x-pack/solutions/observability/packages/kbn-custom-integrations/tsconfig.type_check.json:30 x-pack/solutions/observability/packages/kbn-xstate-utils/jest.config.js:12 x-pack/solutions/observability/packages/kbn-xstate-utils/tsconfig.json:2 x-pack/solutions/observability/packages/kbn-xstate-utils/tsconfig.type_check.json:2 x-pack/solutions/observability/packages/logs_overview/jest.config.js:10 x-pack/solutions/observability/packages/logs_overview/tsconfig.json:2 x-pack/solutions/observability/plugins/data_quality/jest.config.js:10 x-pack/solutions/observability/plugins/data_quality/tsconfig.json:11 x-pack/solutions/observability/plugins/data_quality/tsconfig.json:2 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:13 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:20 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:26 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:29 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:32 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:35 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:38 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:41 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:44 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:47 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:50 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:53 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:59 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:62 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:65 x-pack/solutions/observability/plugins/data_quality/tsconfig.type_check.json:68 x-pack/solutions/observability/plugins/dataset_quality/jest.config.js:10 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.json:10 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.json:2 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:100 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:103 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:106 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:109 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:112 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:115 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:118 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:12 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:121 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:124 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:130 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:133 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:136 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:139 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:142 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:145 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:148 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:151 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:154 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:157 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:19 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:22 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:25 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:28 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:31 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:34 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:37 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:40 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:43 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:46 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:49 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:52 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:55 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:61 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:64 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:67 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:70 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:73 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:76 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:79 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:85 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:88 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:91 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:94 x-pack/solutions/observability/plugins/dataset_quality/tsconfig.type_check.json:97 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/infra/tsconfig.type_check.json:101 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:104 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:107 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:110 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:113 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:116 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:119 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:122 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:125 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:128 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:131 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:134 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:137 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:140 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:143 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:146 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:149 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:152 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:155 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:158 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:161 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:164 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:167 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:170 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:173 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:182 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:185 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:188 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:191 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:194 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:20 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:200 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:203 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:209 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:212 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:215 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:218 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:221 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:227 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:23 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:230 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:236 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:239 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:242 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:245 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:248 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:251 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:254 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:257 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:26 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:260 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:263 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:266 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:269 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:272 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:275 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:278 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:281 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:284 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:287 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:29 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:290 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:293 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:296 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:299 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:305 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:308 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:311 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:314 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:32 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:35 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:38 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:41 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:44 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:47 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:50 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:53 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:56 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:62 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:65 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:68 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:71 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:74 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:77 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:80 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:83 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:86 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:89 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:9 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:92 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:95 x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json:98 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/logs_explorer/tsconfig.type_check.json:101 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:104 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:107 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:110 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:113 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:116 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:119 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:122 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:125 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:20 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:23 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:26 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:29 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:32 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:35 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:38 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:41 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:44 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:47 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:50 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:53 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:56 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:59 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:62 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:65 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:68 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:71 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:74 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:77 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:80 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:83 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:86 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:89 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:9 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:92 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:95 x-pack/solutions/observability/plugins/logs_explorer/tsconfig.type_check.json:98 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_logs_explorer/tsconfig.type_check.json:104 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:107 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:110 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:113 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:116 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:119 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:125 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:128 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:131 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:20 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:23 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:26 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:29 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:32 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:35 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:38 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:41 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:44 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:47 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:50 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:53 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:56 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:68 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:71 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:74 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:77 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:80 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:83 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:86 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:89 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:9 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:92 x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.type_check.json:98 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/e2e/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.type_check.json:23 x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.type_check.json:26 x-pack/solutions/observability/plugins/observability_onboarding/e2e/tsconfig.type_check.json:29 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:9 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:102 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:105 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:108 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:111 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:114 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:21 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:24 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:27 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:33 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:36 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:39 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:42 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:45 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:48 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:51 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:54 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:60 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:63 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:66 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:69 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:72 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:75 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:78 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:81 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:84 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:87 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:9 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:90 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:93 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:96 x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.type_check.json:99 ``` </details> --------- Co-authored-by: Giorgos Bamparopoulos <georgios.bamparopoulos@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
4f4772f63e
|
[Search] Moving search-empty-prompt to a shared package (#204545)
## Summary The goal for this PR is to move the `search-empty-propmpt` we use as a Empty states and coming soon pages in Serverless to a shared package in order to be able to reuse this layout and some parts of the content either in Stack or Serverless. After merging this PR, next one will bring this content to Stack: [[Search][Stack] Web Crawlers coming soon pages](https://github.com/elastic/kibana/pull/204768) References: - [Packages / Internal Dependency Management](https://docs.elastic.dev/kibana-dev-docs/ops/packages) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
e0786738c9
|
[ai][assistant] Refactor search to use new Assistant logo and beacon (#204287)
> A follow-up to #203879 ## Summary This PR integrates the new Assistant Icon, Beacon, and Avatar into solutions and packages owned by Search. In most cases this was a 1:1 replacement, but in a few, Icon was replaced with Beacon or Beacon was added for consistency, (e.g. welcome screens, upsells, etc), . Note: the scaling of the icon/avatar _before_ was one different from EUI. The new components match EUI directly and represent a 2x scale change (e.g. 's' becomes 'l', 'm' becomes 'xl', etc). --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
d6cb398d1a
|
[Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability (#204500)
## Summary Move @kbn/cloud-security-posture-storybook-config package to `x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook` Renamed removed the `config` folder to align with the `.storybook` [naming convention](https://github.com/elastic/kibana/pull/204500/files#diff-91918a63f6365a8f40f674ab54a8df7ce9aeb313f77fe8eda76284d712ef5425R21).  ### Related Issues - https://github.com/elastic/kibana/pull/202862 --------- Co-authored-by: Brad White <Ikuni17@users.noreply.github.com> |
||
|
d5e0d3a2f6
|
[Logs UX] Classify logs-data-access and logs-shared as platform plugins (#201263)
This classifies `@kbn/logs-data-access-plugin`, `@kbn/logs-shared-plugin` and `@kbn/observability-logs-overview` as "platform/shared". --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
f508ad2bf6
|
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-cloud-security-posture (#202862)
|
||
|
90b77c6ab3
|
[React18] Migrate test suites to account for testing library upgrades search-kibana (#201157)
This PR migrates test suites that use `renderHook` from the library `@testing-library/react-hooks` to adopt the equivalent and replacement of `renderHook` from the export that is now available from `@testing-library/react`. This work is required for the planned migration to react18. ## Context In this PR, usages of `waitForNextUpdate` that previously could have been destructured from `renderHook` are now been replaced with `waitFor` exported from `@testing-library/react`, furthermore `waitFor` that would also have been destructured from the same renderHook result is now been replaced with `waitFor` from the export of `@testing-library/react`. ***Why is `waitFor` a sufficient enough replacement for `waitForNextUpdate`, and better for testing values subject to async computations?*** WaitFor will retry the provided callback if an error is returned, till the configured timeout elapses. By default the retry interval is `50ms` with a timeout value of `1000ms` that effectively translates to at least 20 retries for assertions placed within waitFor. See https://testing-library.com/docs/dom-testing-library/api-async/#waitfor for more information. This however means that for person's writing tests, said person has to be explicit about expectations that describe the internal state of the hook being tested. This implies checking for instance when a react query hook is being rendered, there's an assertion that said hook isn't loading anymore. In this PR you'd notice that this pattern has been adopted, with most existing assertions following an invocation of `waitForNextUpdate` being placed within a `waitFor` invocation. In some cases the replacement is simply a `waitFor(() => new Promise((resolve) => resolve(null)))` (many thanks to @kapral18, for point out exactly why this works), where this suffices the assertions that follow aren't placed within a waitFor so this PR doesn't get larger than it needs to be. It's also worth pointing out this PR might also contain changes to test and application code to improve said existing test. ### What to do next? 1. Review the changes in this PR. 2. If you think the changes are correct, approve the PR. ## Any questions? If you have any questions or need help with this PR, please leave comments in this PR. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
666a0cf971
|
[ai][assistant] Create AI Assistant Icon, Avatar, Beacon (#203879) | ||
|
2fd89943c5
|
kibana-management team module move (#203883)
## 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. #### 17 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/cloud-data-migration-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration` | | `@kbn/console-plugin` | `src/platform/plugins/shared/console` | | `@kbn/cross-cluster-replication-plugin` | `x-pack/platform/plugins/private/cross_cluster_replication` | | `@kbn/dev-tools-plugin` | `src/platform/plugins/shared/dev_tools` | | `@kbn/es-ui-shared-plugin` | `src/platform/plugins/shared/es_ui_shared` | | `@kbn/grokdebugger-plugin` | `x-pack/platform/plugins/private/grokdebugger` | | `@kbn/index-lifecycle-management-plugin` | `x-pack/platform/plugins/private/index_lifecycle_management` | | `@kbn/license-api-guard-plugin` | `x-pack/platform/plugins/private/license_api_guard` | | `@kbn/license-management-plugin` | `x-pack/platform/plugins/shared/license_management` | | `@kbn/management-plugin` | `src/platform/plugins/shared/management` | | `@kbn/painless-lab-plugin` | `x-pack/platform/plugins/private/painless_lab` | | `@kbn/remote-clusters-plugin` | `x-pack/platform/plugins/private/remote_clusters` | | `@kbn/rollup-plugin` | `x-pack/platform/plugins/private/rollup` | | `@kbn/runtime-fields-plugin` | `x-pack/platform/plugins/private/runtime_fields` | | `@kbn/searchprofiler-plugin` | `x-pack/platform/plugins/shared/searchprofiler` | | `@kbn/snapshot-restore-plugin` | `x-pack/platform/plugins/private/snapshot_restore` | | `@kbn/watcher-plugin` | `x-pack/platform/plugins/private/watcher` | #### 17 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/deeplinks-devtools` | `src/platform/packages/shared/deeplinks/devtools` | | `@kbn/deeplinks-management` | `src/platform/packages/shared/deeplinks/management` | | `@kbn/default-nav-devtools` | `src/platform/packages/private/default-nav/devtools` | | `@kbn/default-nav-management` | `src/platform/packages/private/default-nav/management` | | `@kbn/index-lifecycle-management-common-shared` | `x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared` | | `@kbn/index-management-shared-types` | `x-pack/platform/packages/shared/index-management/index_management_shared_types` | | `@kbn/management-cards-navigation` | `src/platform/packages/shared/kbn-management/cards_navigation` | | `@kbn/management-settings-application` | `src/platform/packages/private/kbn-management/settings/application` | | `@kbn/management-settings-components-field-category` | `src/platform/packages/private/kbn-management/settings/components/field_category` | | `@kbn/management-settings-components-field-input` | `src/platform/packages/shared/kbn-management/settings/components/field_input` | | `@kbn/management-settings-components-field-row` | `src/platform/packages/shared/kbn-management/settings/components/field_row` | | `@kbn/management-settings-components-form` | `src/platform/packages/private/kbn-management/settings/components/form` | | `@kbn/management-settings-field-definition` | `src/platform/packages/shared/kbn-management/settings/field_definition` | | `@kbn/management-settings-types` | `src/platform/packages/shared/kbn-management/settings/types` | | `@kbn/management-settings-utilities` | `src/platform/packages/shared/kbn-management/settings/utilities` | | `@kbn/rollup` | `x-pack/platform/packages/private/rollup` | | `@kbn/unsaved-changes-prompt` | `src/platform/packages/shared/kbn-unsaved-changes-prompt` | <details > <summary>Updated references</summary> ``` ./.buildkite/scripts/steps/console_definitions_sync.sh ./.eslintrc.js ./.i18nrc.json ./docs/developer/contributing/development-tests.asciidoc ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-generate-console-definitions/README.md ./packages/kbn-repo-packages/package-map.json ./packages/kbn-search-connectors/components/cron_editor/readme.md ./packages/kbn-ts-projects/config-paths.json ./src/dev/precommit_hook/casing_check_config.js ./src/dev/storybook/aliases.ts ./src/platform/packages/private/default-nav/devtools/jest.config.js ./src/platform/packages/private/default-nav/management/jest.config.js ./src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js ./src/platform/packages/shared/deeplinks/devtools/jest.config.js ./src/platform/packages/shared/deeplinks/management/jest.config.js ./src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js ./src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js ./src/platform/plugins/shared/console/README.md ./src/platform/plugins/shared/console/jest.config.js ./src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js ./src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md ./src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts ./src/platform/plugins/shared/es_ui_shared/jest.config.js ./src/platform/plugins/shared/es_ui_shared/static/forms/README.md ./src/platform/plugins/shared/management/jest.config.js ./src/plugins/advanced_settings/README.md ./src/plugins/management/README.md ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/private/rollup/jest.config.js ./x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js ./x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js ./x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js ./x-pack/platform/plugins/private/grokdebugger/jest.config.js ./x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md ./x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js ./x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js ./x-pack/platform/plugins/private/license_api_guard/jest.config.js ./x-pack/platform/plugins/private/painless_lab/jest.config.js ./x-pack/platform/plugins/private/remote_clusters/jest.config.js ./x-pack/platform/plugins/private/rollup/jest.config.js ./x-pack/platform/plugins/private/runtime_fields/jest.config.js ./x-pack/platform/plugins/private/snapshot_restore/jest.config.js ./x-pack/platform/plugins/private/watcher/jest.config.js ./x-pack/platform/plugins/shared/license_management/jest.config.js ./x-pack/platform/plugins/shared/searchprofiler/jest.config.js ./x-pack/plugins/index_management/README.md ./x-pack/plugins/triggers_actions_ui/README.md ./x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts ./x-pack/solutions/security/packages/navigation/src/constants.ts ./x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts ./yarn.lock ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/private/default-nav/devtools/jest.config.js:12 src/platform/packages/private/default-nav/devtools/tsconfig.json:2 src/platform/packages/private/default-nav/management/jest.config.js:12 src/platform/packages/private/default-nav/management/tsconfig.json:2 src/platform/packages/private/kbn-management/settings/application/tsconfig.json:2 src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js:12 src/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json:2 src/platform/packages/private/kbn-management/settings/components/form/tsconfig.json:2 src/platform/packages/shared/deeplinks/devtools/jest.config.js:12 src/platform/packages/shared/deeplinks/devtools/tsconfig.json:2 src/platform/packages/shared/deeplinks/management/jest.config.js:12 src/platform/packages/shared/deeplinks/management/tsconfig.json:2 src/platform/packages/shared/kbn-management/cards_navigation/jest.config.js:12 src/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json:2 src/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json:2 src/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json:2 src/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json:2 src/platform/packages/shared/kbn-management/settings/types/tsconfig.json:2 src/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json:2 src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js:12 src/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json:2 src/platform/plugins/shared/console/jest.config.js:12 src/platform/plugins/shared/console/tsconfig.json:2 src/platform/plugins/shared/dev_tools/tsconfig.json:2 src/platform/plugins/shared/es_ui_shared/jest.config.js:12 src/platform/plugins/shared/es_ui_shared/tsconfig.json:12 src/platform/plugins/shared/es_ui_shared/tsconfig.json:2 src/platform/plugins/shared/management/jest.config.js:12 src/platform/plugins/shared/management/tsconfig.json:10 src/platform/plugins/shared/management/tsconfig.json:2 x-pack/platform/packages/private/rollup/jest.config.js:10 x-pack/platform/packages/private/rollup/tsconfig.json:2 x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json:2 x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js:10 x-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json:2 x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js:10 x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:10 x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json:2 x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js:10 x-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json:2 x-pack/platform/plugins/private/grokdebugger/jest.config.js:10 x-pack/platform/plugins/private/grokdebugger/tsconfig.json:10 x-pack/platform/plugins/private/grokdebugger/tsconfig.json:2 x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js:10 x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js:10 x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:12 x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json:2 x-pack/platform/plugins/private/license_api_guard/jest.config.js:10 x-pack/platform/plugins/private/license_api_guard/tsconfig.json:2 x-pack/platform/plugins/private/painless_lab/jest.config.js:10 x-pack/platform/plugins/private/painless_lab/public/styles/_index.scss:1 x-pack/platform/plugins/private/painless_lab/tsconfig.json:2 x-pack/platform/plugins/private/remote_clusters/jest.config.js:10 x-pack/platform/plugins/private/remote_clusters/tsconfig.json:12 x-pack/platform/plugins/private/remote_clusters/tsconfig.json:2 x-pack/platform/plugins/private/rollup/jest.config.js:10 x-pack/platform/plugins/private/rollup/tsconfig.json:2 x-pack/platform/plugins/private/runtime_fields/README.md:155 x-pack/platform/plugins/private/runtime_fields/jest.config.js:10 x-pack/platform/plugins/private/runtime_fields/tsconfig.json:2 x-pack/platform/plugins/private/runtime_fields/tsconfig.json:8 x-pack/platform/plugins/private/snapshot_restore/jest.config.js:10 x-pack/platform/plugins/private/snapshot_restore/tsconfig.json:12 x-pack/platform/plugins/private/snapshot_restore/tsconfig.json:2 x-pack/platform/plugins/private/watcher/jest.config.js:10 x-pack/platform/plugins/private/watcher/tsconfig.json:12 x-pack/platform/plugins/private/watcher/tsconfig.json:2 x-pack/platform/plugins/shared/license_management/jest.config.js:10 x-pack/platform/plugins/shared/license_management/tsconfig.json:2 x-pack/platform/plugins/shared/searchprofiler/jest.config.js:10 x-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss:1 x-pack/platform/plugins/shared/searchprofiler/tsconfig.json:2 ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
bf40e560e7
|
[Authz] Types cleanup for AuthorizationServiceSetup (#204208)
## Summary Types cleanup for AuthorizationServiceSetup. __Relates: https://github.com/elastic/kibana/issues/196271__ |
||
|
6de695a55c
|
Sustainable Kibana Architecture: Move modules owned by @elastic/security-generative-ai (#202848)
## 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. #### 1 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/elastic-assistant-plugin` | `x-pack/solutions/security/plugins/elastic_assistant` | #### 3 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/elastic-assistant` | `x-pack/platform/packages/shared/kbn-elastic-assistant` | | `@kbn/elastic-assistant-common` | `x-pack/platform/packages/shared/kbn-elastic-assistant-common` | | `@kbn/langchain` | `x-pack/platform/packages/shared/kbn-langchain` | <details > <summary>Updated references</summary> ``` ./.buildkite/scripts/steps/code_generation/elastic_assistant_codegen.sh ./.buildkite/scripts/steps/openapi_bundling/security_solution_openapi_bundling.sh ./.eslintrc.js ./.github/codeql/codeql-config.yml ./docs/developer/plugin-list.asciidoc ./oas_docs/scripts/merge_ess_oas.js ./oas_docs/scripts/merge_serverless_oas.js ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/packages/kbn-elastic-assistant-common/README.md ./x-pack/platform/packages/shared/kbn-elastic-assistant-common/README.md ./x-pack/platform/packages/shared/kbn-elastic-assistant-common/env/README.md ./x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/README.md ./x-pack/platform/packages/shared/kbn-elastic-assistant-common/jest.config.js ./x-pack/platform/packages/shared/kbn-elastic-assistant/README.md ./x-pack/platform/packages/shared/kbn-elastic-assistant/jest.config.js ./x-pack/platform/packages/shared/kbn-langchain/jest.config.js ./x-pack/plugins/elastic_assistant/README.md ./x-pack/plugins/security_solution/docs/openapi/README.md ./x-pack/solutions/security/plugins/elastic_assistant/README.md ./x-pack/solutions/security/plugins/elastic_assistant/jest.config.js ./x-pack/solutions/security/plugins/elastic_assistant/scripts/create_conversations_script.ts ./x-pack/solutions/security/plugins/elastic_assistant/server/__mocks__/docs_from_directory_loader.ts ./x-pack/solutions/security/plugins/elastic_assistant/server/knowledge_base/security_labs/embedding_security_in_llm_workflows.md ./x-pack/solutions/security/plugins/elastic_assistant/server/lib/attack_discovery/graphs/default_attack_discovery_graph/index.ts ./yarn.lock ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/platform/packages/shared/kbn-elastic-assistant-common/jest.config.js:21 x-pack/platform/packages/shared/kbn-elastic-assistant-common/scripts/openapi/bundle.js:8 x-pack/platform/packages/shared/kbn-elastic-assistant-common/scripts/openapi/generate.js:8 x-pack/platform/packages/shared/kbn-elastic-assistant-common/tsconfig.json:2 x-pack/platform/packages/shared/kbn-elastic-assistant/jest.config.js:21 x-pack/platform/packages/shared/kbn-elastic-assistant/tsconfig.json:15 x-pack/platform/packages/shared/kbn-elastic-assistant/tsconfig.json:2 x-pack/platform/packages/shared/kbn-langchain/jest.config.js:20 x-pack/platform/packages/shared/kbn-langchain/tsconfig.json:2 x-pack/solutions/security/plugins/elastic_assistant/jest.config.js:14 x-pack/solutions/security/plugins/elastic_assistant/scripts/create_conversations.js:8 x-pack/solutions/security/plugins/elastic_assistant/scripts/draw_graph.js:8 x-pack/solutions/security/plugins/elastic_assistant/scripts/model_evaluator.js:8 x-pack/solutions/security/plugins/elastic_assistant/tsconfig.json:13 x-pack/solutions/security/plugins/elastic_assistant/tsconfig.json:2 ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
52dd7e17c4
|
[Authz] Operator privileges (#196583)
## Summary
This PR adds support for explicit indication whether endpoint is
restricted to operator only users.
### Context
1. If user has [all operator
privileges](https://github.com/elastic/elasticsearch/blob/main/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/DefaultOperatorOnlyRegistry.java#L35-#L53)
granted, but is not listed as operator in `operator_users.yml`, ES would
throw an unauthorized error.
2. If user is listed as operator in `operator_users.yml`, but doesn't
have necessary privileges granted, ES would throw an unauthorized error.
3. It’s not possible to determine if a user is operator via any ES API,
i.e. `_has_privileges`.
4. If operator privileges are disabled we skip the the check for it,
that's why we require to explicitly specify additional privileges to
ensure that the route is protected even when operator privileges are
disabled.
### Checklist
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
__Relates: https://github.com/elastic/kibana/issues/196271__
### How to test
1. Add your user to the operators list
|
||
|
749eeec4cc
|
[Cloud Security] Show graph visualization in expanded flyout (#198240)
## Summary Added graph tab to the flyout visualization of alerts and events. **A couple of included changes:** - Added technical preview badge - ~Feature is now toggled using `securitySolution:enableVisualizationsInFlyout` advanced setting~ reverted back to use the experimental feature flag - Added node popover to expand the graph - Expanding a graph adds relevant filters - Added e2e tests for both alerts flyout and events flyout (through network page) **List of known issues:** - The graph API works queries `logs-*` while the filters bar works with sourcerer current dataview Id - I'm not sure how to write a UT for GraphVisualization / Popover which uses ReactPortal that makes it tricky to test (I covered most scenarios using E2E test) - Expanding graph more than once adds another filter **How to test this PR:** - Enable the feature flag `kibana.dev.yml`: ```yaml uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled'] ``` - Load mocked data: ```bash node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ --es-url http://elastic:changeme@localhost:9200 \ --kibana-url http://elastic:changeme@localhost:5601 node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \ --es-url http://elastic:changeme@localhost:9200 \ --kibana-url http://elastic:changeme@localhost:5601 ``` - Make sure you include data from Oct 13 2024. (in the video I use Last 90 days) https://github.com/user-attachments/assets/12e19ac7-0f61-4c0a-ac11-e304dfcc83d4 ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/)) - [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US)) - [ ] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [ ] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
5dee9994c9
|
Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-management-team (#202832)
## 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. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 8 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/exploratory-view-plugin` | `x-pack/solutions/observability/plugins/exploratory_view` | | `@kbn/investigate-app-plugin` | `x-pack/solutions/observability/plugins/investigate_app` | | `@kbn/investigate-plugin` | `x-pack/solutions/observability/plugins/investigate` | | `@kbn/observability-plugin` | `x-pack/solutions/observability/plugins/observability` | | `@kbn/serverless-observability` | `x-pack/solutions/observability/plugins/serverless_observability` | | `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo` | | `@kbn/synthetics-plugin` | `x-pack/solutions/observability/plugins/synthetics` | | `@kbn/uptime-plugin` | `x-pack/solutions/observability/plugins/uptime` | #### 10 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/data-forge` | `x-pack/platform/packages/shared/kbn-data-forge` | | `@kbn/deeplinks-observability` | `src/platform/packages/shared/deeplinks/observability` | | `@kbn/infra-forge` | `x-pack/platform/packages/private/kbn-infra-forge` | | `@kbn/investigation-shared` | `x-pack/solutions/observability/packages/kbn-investigation-shared` | | `@kbn/observability-alert-details` | `x-pack/solutions/observability/packages/alert_details` | | `@kbn/observability-alerting-rule-utils` | `x-pack/platform/packages/shared/observability/alerting_rule_utils` | | `@kbn/observability-alerting-test-data` | `x-pack/solutions/observability/packages/alerting_test_data` | | `@kbn/observability-get-padded-alert-time-range-util` | `x-pack/solutions/observability/packages/get_padded_alert_time_range_util` | | `@kbn/observability-synthetics-test-data` | `x-pack/solutions/observability/packages/synthetics_test_data` | | `@kbn/slo-schema` | `x-pack/platform/packages/shared/kbn-slo-schema` | <details> <summary>Updated references</summary> ``` ./.buildkite/ftr_oblt_stateful_configs.yml ./.buildkite/pipelines/on_merge_unsupported_ftrs.yml ./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml ./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml ./.buildkite/pipelines/pull_request/synthetics_plugin.yml ./.buildkite/pipelines/pull_request/uptime_plugin.yml ./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh ./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh ./.buildkite/scripts/steps/functional/synthetics.sh ./.buildkite/scripts/steps/functional/synthetics_plugin.sh ./.buildkite/scripts/steps/functional/uptime_plugin.sh ./.eslintrc.js ./.github/paths-labeller.yml ./.i18nrc.json ./docs/developer/plugin-list.asciidoc ./oas_docs/overlays/alerting.overlays.yaml ./oas_docs/scripts/merge_ess_oas.js ./oas_docs/scripts/merge_serverless_oas.js ./package.json ./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts ./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts ./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts ./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts ./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts ./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./src/dev/storybook/aliases.ts ./src/platform/packages/shared/deeplinks/observability/jest.config.js ./src/plugins/guided_onboarding/README.md ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js ./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js ./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh ./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh ./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh ./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh ./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh ./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh ./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh ./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js ./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js ./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md ./x-pack/plugins/observability_solution/slo/dev_docs/slo.md ./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh ./x-pack/plugins/observability_solution/uptime/README.md ./x-pack/plugins/observability_solution/uptime/e2e/README.md ./x-pack/solutions/observability/packages/alert_details/jest.config.js ./x-pack/solutions/observability/packages/alerting_test_data/jest.config.js ./x-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js ./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js ./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js ./x-pack/solutions/observability/plugins/exploratory_view/README.md ./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md ./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js ./x-pack/solutions/observability/plugins/investigate/jest.config.js ./x-pack/solutions/observability/plugins/investigate_app/jest.config.js ./x-pack/solutions/observability/plugins/observability/jest.config.js ./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md ./x-pack/solutions/observability/plugins/slo/jest.config.js ./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh ./x-pack/solutions/observability/plugins/synthetics/README.md ./x-pack/solutions/observability/plugins/synthetics/e2e/README.md ./x-pack/solutions/observability/plugins/synthetics/jest.config.js ./x-pack/solutions/observability/plugins/uptime/e2e/README.md ./x-pack/solutions/observability/plugins/uptime/jest.config.js ./yarn.lock ``` </details> <details> <summary>Updated relative paths</summary> ``` src/platform/packages/shared/deeplinks/observability/jest.config.js:12 src/platform/packages/shared/deeplinks/observability/tsconfig.json:2 x-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10 x-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2 x-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10 x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3 x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3 x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3 x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3 x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3 x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3 x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3 x-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2 x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10 x-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2 x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10 x-pack/platform/packages/shared/observability/alerting_rule_utils/tsconfig.json:2 x-pack/solutions/observability/packages/alert_details/jest.config.js:10 x-pack/solutions/observability/packages/alert_details/tsconfig.json:2 x-pack/solutions/observability/packages/alerting_test_data/jest.config.js:10 x-pack/solutions/observability/packages/alerting_test_data/tsconfig.json:2 x-pack/solutions/observability/packages/get_padded_alert_time_range_util/jest.config.js:10 x-pack/solutions/observability/packages/get_padded_alert_time_range_util/tsconfig.json:2 x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12 x-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2 x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10 x-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2 x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13 x-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28 x-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33 x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19 x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27 x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34 x-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2 x-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10 x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116 x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156 x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161 x-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2 x-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6 x-pack/solutions/observability/plugins/investigate/jest.config.js:10 x-pack/solutions/observability/plugins/investigate/tsconfig.json:2 x-pack/solutions/observability/plugins/investigate/tsconfig.json:7 x-pack/solutions/observability/plugins/investigate_app/jest.config.js:10 x-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2 x-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7 x-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10 x-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36 x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14 x-pack/solutions/observability/plugins/observability/jest.config.js:10 x-pack/solutions/observability/plugins/observability/tsconfig.json:12 x-pack/solutions/observability/plugins/observability/tsconfig.json:2 x-pack/solutions/observability/plugins/serverless_observability/package.json:8 x-pack/solutions/observability/plugins/serverless_observability/package.json:9 x-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12 x-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2 x-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11 x-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2 x-pack/solutions/observability/plugins/slo/jest.config.js:10 x-pack/solutions/observability/plugins/slo/tsconfig.json:10 x-pack/solutions/observability/plugins/slo/tsconfig.json:2 x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19 x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27 x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34 x-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2 x-pack/solutions/observability/plugins/synthetics/jest.config.js:10 x-pack/solutions/observability/plugins/synthetics/tsconfig.json:12 x-pack/solutions/observability/plugins/synthetics/tsconfig.json:2 x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19 x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27 x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34 x-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15 x-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2 x-pack/solutions/observability/plugins/uptime/jest.config.js:10 x-pack/solutions/observability/plugins/uptime/tsconfig.json:13 x-pack/solutions/observability/plugins/uptime/tsconfig.json:2 ``` </details> <details> <summary>Script errors</summary> ``` Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19 Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27 Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34 Cannot replace multiple occurrences of "../../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14 Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19 Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27 Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34 Cannot replace multiple occurrences of "../../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19 Cannot replace multiple occurrences of "../../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27 Cannot replace multiple occurrences of "../../../.." in the same line, please fix manually: /Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34 ``` </details> --------- Co-authored-by: shahzad31 <shahzad31comp@gmail.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
231f1b3fca
|
[Cloud Security] CDR Graph - fix labels overlap when there are multiple labels (#204020) | ||
|
bffd4e14e7
|
[Security team] Update components for EUI visual refresh (#201795)
Closes https://github.com/elastic/kibana/issues/200005 ## Summary Integrate changes from the Borealis theme to components owned by @elastic/kibana-security team. ### Notes There are no visual changes in this PR. However: - Switch from using `success` to `accentSecondary` where needed - Switched from 'colors.disabled` to `colors.textDisabled` ### Screenshots There isn't much to add but adding a few before/after screenshots of the changes made | Usage | Before | After | |--------|--------|--------| | API Key token field | <img width="446" alt="image" src="https://github.com/user-attachments/assets/0167671c-b9e8-4493-88d9-514c524ccd06"> | <img width="469" alt="image" src="https://github.com/user-attachments/assets/bde7f308-1ba4-4a92-bb27-e5875357ba49"> | | User profile page | <img width="271" alt="image" src="https://github.com/user-attachments/assets/668a66df-949a-4ce6-a390-d5ea2dd3489c"> | <img width="271" alt="image" src="https://github.com/user-attachments/assets/a3965279-6f64-407c-923c-f7a07f474a14"> | | Copy SO to space counter | <img width="991" alt="image" src="https://github.com/user-attachments/assets/87a2cf3c-6b1f-4cf0-b818-03ed59133598"> | <img width="1161" alt="image" src="https://github.com/user-attachments/assets/549648f1-297b-434d-b61b-d2761bc5d641"> | | Space listing | <img width="604" alt="image" src="https://github.com/user-attachments/assets/6db8f9df-4059-4a06-b49f-e48dd910277a" /> |  | ### How to test 1. Start ES and KIB as: ``` yarn es snapshot --license trial KBN_OPTIMIZER_THEMES=experimental yarn start --no-base-path ``` 2. Navigate to `Stack Management > Advance Setting` and change the theme to Borealis. 3. Verify the different screens as seen in the screenshots to see if they render correctly with no visual regression ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] 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) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
50068fd9ba
|
Sustainable Kibana Architecture: Move modules under x-pack/packages/security-solution (#203522)
## 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. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 7 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/ecs-data-quality-dashboard` | `x-pack/solutions/security/packages/ecs_data_quality_dashboard` | | `@kbn/security-solution-distribution-bar` | `x-pack/solutions/security/packages/distribution_bar` | | `@kbn/security-solution-features` | `x-pack/solutions/security/packages/features` | | `@kbn/security-solution-navigation` | `x-pack/solutions/security/packages/navigation` | | `@kbn/security-solution-side-nav` | `x-pack/solutions/security/packages/side_nav` | | `@kbn/security-solution-upselling` | `x-pack/solutions/security/packages/upselling` | | `@kbn/securitysolution-data-table` | `x-pack/solutions/security/packages/data_table` | <details> <summary>Updated references</summary> ``` ./.eslintrc.js ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/solutions/security/packages/data_table/jest.config.js ./x-pack/solutions/security/packages/distribution_bar/jest.config.js ./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js ./x-pack/solutions/security/packages/features/jest.config.js ./x-pack/solutions/security/packages/navigation/jest.config.js ./x-pack/solutions/security/packages/side_nav/jest.config.js ./x-pack/solutions/security/packages/upselling/jest.config.js ./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.json ./yarn.lock ``` </details> <details> <summary>Updated relative paths</summary> ``` x-pack/solutions/security/packages/data_table/jest.config.js:11 x-pack/solutions/security/packages/data_table/tsconfig.json:2 x-pack/solutions/security/packages/distribution_bar/jest.config.js:11 x-pack/solutions/security/packages/distribution_bar/tsconfig.json:2 x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21 x-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2 x-pack/solutions/security/packages/features/jest.config.js:10 x-pack/solutions/security/packages/features/tsconfig.json:2 x-pack/solutions/security/packages/navigation/jest.config.js:10 x-pack/solutions/security/packages/navigation/tsconfig.json:2 x-pack/solutions/security/packages/side_nav/jest.config.js:10 x-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11 x-pack/solutions/security/packages/side_nav/tsconfig.json:2 x-pack/solutions/security/packages/upselling/jest.config.js:10 x-pack/solutions/security/packages/upselling/tsconfig.json:2 ``` </details> <details> <summary>Script errors</summary> ``` ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co> Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co> |
||
|
84b19ec3ea
|
Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ai-assistant (#202763)
## 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. #### 5 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/ai-assistant-management-plugin` | `src/platform/plugins/shared/ai_assistant_management/selection` | | `@kbn/data-usage-plugin` | `x-pack/platform/plugins/private/data_usage` | | `@kbn/observability-ai-assistant-app-plugin` | `x-pack/solutions/observability/plugins/observability_ai_assistant_app` | | `@kbn/observability-ai-assistant-management-plugin` | `x-pack/solutions/observability/plugins/observability_ai_assistant_management` | | `@kbn/observability-ai-assistant-plugin` | `x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant` | #### 2 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/observability-ai-common` | `x-pack/solutions/observability/packages/observability_ai/observability_ai_common` | | `@kbn/observability-ai-server` | `x-pack/solutions/observability/packages/observability_ai/observability_ai_server` | <details > <summary>Updated references</summary> ``` ./.github/paths-labeller.yml ./.i18nrc.json ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./src/dev/storybook/aliases.ts ./src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js ./src/platform/plugins/shared/discover/tsconfig.type_check.json ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/platform/plugins/private/data_usage/jest.config.js ./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js ./x-pack/plugins/enterprise_search/kibana.jsonc ./x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/index.ts ./x-pack/plugins/observability_solution/observability_ai_assistant_app/tsconfig.type_check.json ./x-pack/plugins/search_connectors/kibana.jsonc ./x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js ./x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js ./x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js ./x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/README.md ./x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js ./x-pack/test/tsconfig.type_check.json ./x-pack/test_serverless/tsconfig.type_check.json ./yarn.lock ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/plugins/shared/ai_assistant_management/selection/jest.config.js:12 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.json:2 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:18 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:2 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:21 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:24 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:27 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:30 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:33 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:36 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:39 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:42 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:45 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:48 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:51 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:54 src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json:57 x-pack/platform/plugins/private/data_usage/jest.config.js:10 x-pack/platform/plugins/private/data_usage/tsconfig.json:11 x-pack/platform/plugins/private/data_usage/tsconfig.json:2 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/jest.config.js:10 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:2 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.json:7 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:22 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:25 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:28 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:31 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:34 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:37 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:40 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:43 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:46 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:85 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:88 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:9 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json:97 x-pack/solutions/observability/packages/observability_ai/observability_ai_common/jest.config.js:10 x-pack/solutions/observability/packages/observability_ai/observability_ai_common/tsconfig.json:2 x-pack/solutions/observability/packages/observability_ai/observability_ai_server/jest.config.js:10 x-pack/solutions/observability/packages/observability_ai/observability_ai_server/tsconfig.json:2 x-pack/solutions/observability/plugins/observability_ai_assistant_app/jest.config.js:10 x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/read_kibana_config.ts:16 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:2 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.json:7 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:100 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:103 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:106 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:109 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:112 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:118 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:121 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:124 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:127 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:130 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:133 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:136 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:139 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:142 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:145 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:148 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:151 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:154 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:157 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:160 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:163 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:166 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:169 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:172 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:175 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:178 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:181 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:184 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:190 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:193 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:22 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:28 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:31 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:34 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:37 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:40 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:43 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:46 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:49 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:52 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:55 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:58 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:61 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:64 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:67 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:70 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:73 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:76 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:79 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:82 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:85 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:88 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:9 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:91 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:94 x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json:97 x-pack/solutions/observability/plugins/observability_ai_assistant_management/jest.config.js:10 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.json:2 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:18 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:2 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:21 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:24 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:27 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:30 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:33 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:36 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:39 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:45 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:48 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:51 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:54 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:60 x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json:63 ``` </details> |
||
|
0203bba44f
|
[Synthetics] Clean up e2e test helpers !! (#203812)
## Summary Clean up e2e test helpers |
||
|
6ece92e9e1
|
[React18] Migrate test suites to account for testing library upgrades security-generative-ai (#201160)
This PR migrates test suites that use `renderHook` from the library `@testing-library/react-hooks` to adopt the equivalent and replacement of `renderHook` from the export that is now available from `@testing-library/react`. This work is required for the planned migration to react18. ## Context In this PR, usages of `waitForNextUpdate` that previously could have been destructured from `renderHook` are now been replaced with `waitFor` exported from `@testing-library/react`, furthermore `waitFor` that would also have been destructured from the same renderHook result is now been replaced with `waitFor` from the export of `@testing-library/react`. ***Why is `waitFor` a sufficient enough replacement for `waitForNextUpdate`, and better for testing values subject to async computations?*** WaitFor will retry the provided callback if an error is returned, till the configured timeout elapses. By default the retry interval is `50ms` with a timeout value of `1000ms` that effectively translates to at least 20 retries for assertions placed within waitFor. See https://testing-library.com/docs/dom-testing-library/api-async/#waitfor for more information. This however means that for person's writing tests, said person has to be explicit about expectations that describe the internal state of the hook being tested. This implies checking for instance when a react query hook is being rendered, there's an assertion that said hook isn't loading anymore. In this PR you'd notice that this pattern has been adopted, with most existing assertions following an invocation of `waitForNextUpdate` being placed within a `waitFor` invocation. In some cases the replacement is simply a `waitFor(() => new Promise((resolve) => resolve(null)))` (many thanks to @kapral18, for point out exactly why this works), where this suffices the assertions that follow aren't placed within a waitFor so this PR doesn't get larger than it needs to be. It's also worth pointing out this PR might also contain changes to test and application code to improve said existing test. ### What to do next? 1. Review the changes in this PR. 2. If you think the changes are correct, approve the PR. ## Any questions? If you have any questions or need help with this PR, please leave comments in this PR. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
b4ccb0c205
|
[Synthetics] Improve overview page performance !! (#201275)
## Summary Improve overview page performance !! Right now UI works for few hundred to 1000 monitors, but it starts degrading after that, this PR makes sure, we refactor queries in such a way that it scale up to 10k-20k monitors easily. ### Queries before Before this PR, we were doing 2 steps queries, first fetch all saved objects and the fetch all summary documents by passings all ids from first phase. This meant that let's say if we have 20k saved objects, first we will need to page through all of them to even start fetching summaries. To fetch summary documents, we were using `top_hits` query which can be memory expensive. ### Queries now In this PR we fetch summaries and saved objects in parallel, since we have space id on documents as well, there was no need to do 2 step queries. Now we fetch both things in parallel and then we hydrate saved object data from summary data. In this PR now we are using top_metrics query to fetch each monitor status instead of `top_hits` I tested on about 20k monitors, app performs reasoably well after the PR <img width="1920" alt="image" src="https://github.com/user-attachments/assets/c143e196-59a4-45b4-86b7-bd22ac4c5d4b"> On a very slow cluster on which kibana is local against a remote cluster ### After <img width="1920" alt="image" src="https://github.com/user-attachments/assets/540d0cdf-2f8c-44d1-af76-81953d9ca0ff"> ### Before <img width="1918" alt="image" src="https://github.com/user-attachments/assets/5fdc314d-bb59-4137-9397-d8aee6bd4806"> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
fa1998ce92
|
[RCA] AI-assisted root cause analysis (#197200)
Implements an LLM-based root cause analysis process. At a high level, it works by investigating entities - which means pulling in alerts, SLOs, and log patterns. From there, it can inspect related entities to get to the root cause. The backend implementation lives in `x-pack/packages/observability_utils-*` (`service_rca`). It can be imported into any server-side plugin and executed from there. The UI changes are mostly contained to `x-pack/plugins/observability_solution/observabillity_ai_assistant_app`. This plugin now exports a `RootCauseAnalysisContainer` which takes a stream of data that is returned by the root cause analysis process. The current implementation lives in the Investigate app. There, it calls its own endpoint that kicks off the RCA process, and feeds it into the `RootCauseAnalysisContainer` exposed by the Observability AI Assistant app plugin. I've left it in a route there so the investigation itself can be updated as the process runs - this would allow the user to close the browser and come back later, and see a full investigation. > [!NOTE] > Notes for reviewing teams > > @kbn/es-types: > - support both types and typesWithBodyKey > - simplify KeysOfSources type > > @kbn/server-route-repository: > - abortable streamed responses > > @kbn/sse-utils*: > - abortable streamed responses > - serialize errors in specific format for more reliable re-hydration of errors > - keep connection open with SSE comments > > @kbn/inference-*: > - export *Of variants of types, for easier manual inference > - add automated retries for `output` API > - add `name` to tool responses for type inference (get type of tool response via tool name) > - add `data` to tool responses for transporting internal data (not sent to the LLM) > - simplify `chunksIntoMessage` > - allow consumers of nlToEsql task to add to `system` prompt > - add toolCallId to validation error message > > @kbn/aiops*: > - export `categorizationAnalyzer` for use in observability-ai* > > @kbn/observability-ai-assistant* > - configurable limit (tokens or doc count) for knowledge base recall > > @kbn/slo*: > - export client that returns summary indices --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co> Co-authored-by: Bena Kansara <bena.kansara@elastic.co> |
||
|
f1f3a4fddd
|
Fix Custom Threshold Rule ViewInAppUrl does not honor space (#201793)
## Summary Close https://github.com/elastic/kibana/issues/201378 Fix https://github.com/elastic/kibana/issues/201333 - [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL with a specific `spaceId` - Fix Custom Threshold Rule ViewInAppUrl does not honor Space --------- Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co> |
||
|
35aeac1043
|
[Security Solution] Fixes exception item comment validation on newline chars \n (#202063)
## Summary Fixes: https://github.com/elastic/kibana/issues/201820 Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
2818a7cc5a
|
[Security Assistant] Fix animation border color of security AI assistant (#202319)
## Summary **Resolves: https://github.com/elastic/kibana/issues/186135** Changes: - Update border color of animated border of the security AI assistance icon from `euiColorPrimary` to `euiBorderColor`. Old border color: <img width="182" alt="image" src="https://github.com/user-attachments/assets/a41a7859-3f9a-488c-bd4f-2ed25a52a481"> New border color: <img width="169" alt="image" src="https://github.com/user-attachments/assets/c7e1fa13-adb0-4014-950f-ae643e4e1d6d"> <img width="347" alt="image" src="https://github.com/user-attachments/assets/8fba05e2-2a5b-48b2-b367-a58162cdaa9e"> New animated:  ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. No Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [X] [See some risk examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
a0f5a7f3fc
|
Sustainable Kibana Architecture: Move modules owned by @elastic/appex-ai-infra (#202410)
## 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. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 3 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/inference-plugin` | `x-pack/platform/plugins/shared/inference` | | `@kbn/llm-tasks-plugin` | `x-pack/platform/plugins/shared/ai_infra/llm_tasks` | | `@kbn/product-doc-base-plugin` | `x-pack/platform/plugins/shared/ai_infra/product_doc_base` | #### 2 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/inference-common` | `x-pack/platform/packages/shared/ai-infra/inference-common` | | `@kbn/product-doc-common` | `x-pack/platform/packages/shared/ai-infra/product-doc-common` | <details> <summary>Updated references</summary> ``` ./docs/developer/plugin-list.asciidoc ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-ts-projects/config-paths.json ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js ./x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js ./x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js ./x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js ./x-pack/platform/plugins/shared/inference/jest.config.js ./x-pack/platform/plugins/shared/inference/scripts/evaluation/README.md ./yarn.lock ``` </details> <details> <summary>Updated relative paths</summary> ``` x-pack/platform/packages/shared/ai-infra/inference-common/jest.config.js:10 x-pack/platform/packages/shared/ai-infra/inference-common/tsconfig.json:2 x-pack/platform/packages/shared/ai-infra/product-doc-common/jest.config.js:10 x-pack/platform/packages/shared/ai-infra/product-doc-common/tsconfig.json:2 x-pack/platform/plugins/shared/ai_infra/llm_tasks/jest.config.js:10 x-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:2 x-pack/platform/plugins/shared/ai_infra/llm_tasks/tsconfig.json:7 x-pack/platform/plugins/shared/ai_infra/product_doc_base/jest.config.js:10 x-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:2 x-pack/platform/plugins/shared/ai_infra/product_doc_base/tsconfig.json:7 x-pack/platform/plugins/shared/inference/jest.config.js:10 x-pack/platform/plugins/shared/inference/scripts/util/read_kibana_config.ts:16 x-pack/platform/plugins/shared/inference/tsconfig.json:2 x-pack/platform/plugins/shared/inference/tsconfig.json:7 ``` </details> <details> <summary>Script errors</summary> ``` ``` </details> --------- Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co> |
||
|
58b8b47928
|
Sustainable Kibana Architecture: Move modules owned by @elastic/ml-ui (#202764)
## 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. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 4 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/aiops-plugin` | `x-pack/platform/plugins/shared/aiops` | | `@kbn/data-visualizer-plugin` | `x-pack/platform/plugins/private/data_visualizer` | | `@kbn/ml-plugin` | `x-pack/platform/plugins/shared/ml` | | `@kbn/transform-plugin` | `x-pack/platform/plugins/private/transform` | #### 42 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/aiops-change-point-detection` | `x-pack/platform/packages/private/ml/aiops_change_point_detection` | | `@kbn/aiops-common` | `x-pack/platform/packages/shared/ml/aiops_common` | | `@kbn/aiops-components` | `x-pack/platform/packages/private/ml/aiops_components` | | `@kbn/aiops-log-pattern-analysis` | `x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis` | | `@kbn/aiops-log-rate-analysis` | `x-pack/platform/packages/shared/ml/aiops_log_rate_analysis` | | `@kbn/aiops-test-utils` | `x-pack/platform/packages/private/ml/aiops_test_utils` | | `@kbn/deeplinks-ml` | `src/platform/packages/shared/deeplinks/ml` | | `@kbn/default-nav-ml` | `src/platform/packages/private/default-nav/ml` | | `@kbn/inference_integration_flyout` | `x-pack/platform/packages/private/ml/inference_integration_flyout` | | `@kbn/json-schemas` | `x-pack/platform/packages/private/ml/json_schemas` | | `@kbn/ml-agg-utils` | `x-pack/platform/packages/private/ml/agg_utils` | | `@kbn/ml-anomaly-utils` | `x-pack/platform/packages/shared/ml/anomaly_utils` | | `@kbn/ml-cancellable-search` | `x-pack/platform/packages/private/ml/cancellable_search` | | `@kbn/ml-category-validator` | `x-pack/platform/packages/private/ml/category_validator` | | `@kbn/ml-chi2test` | `x-pack/platform/packages/shared/ml/chi2test` | | `@kbn/ml-creation-wizard-utils` | `x-pack/platform/packages/private/ml/creation_wizard_utils` | | `@kbn/ml-data-frame-analytics-utils` | `x-pack/platform/packages/private/ml/data_frame_analytics_utils` | | `@kbn/ml-data-grid` | `x-pack/platform/packages/private/ml/data_grid` | | `@kbn/ml-data-view-utils` | `x-pack/platform/packages/private/ml/data_view_utils` | | `@kbn/ml-date-picker` | `x-pack/platform/packages/private/ml/date_picker` | | `@kbn/ml-date-utils` | `x-pack/platform/packages/private/ml/date_utils` | | `@kbn/ml-error-utils` | `x-pack/platform/packages/shared/ml/error_utils` | | `@kbn/ml-field-stats-flyout` | `x-pack/platform/packages/private/ml/field_stats_flyout` | | `@kbn/ml-in-memory-table` | `x-pack/platform/packages/private/ml/in_memory_table` | | `@kbn/ml-is-defined` | `x-pack/platform/packages/private/ml/is_defined` | | `@kbn/ml-is-populated-object` | `x-pack/platform/packages/private/ml/is_populated_object` | | `@kbn/ml-kibana-theme` | `x-pack/platform/packages/private/ml/kibana_theme` | | `@kbn/ml-local-storage` | `x-pack/platform/packages/private/ml/local_storage` | | `@kbn/ml-nested-property` | `x-pack/platform/packages/private/ml/nested_property` | | `@kbn/ml-number-utils` | `x-pack/platform/packages/private/ml/number_utils` | | `@kbn/ml-parse-interval` | `x-pack/platform/packages/private/ml/parse_interval` | | `@kbn/ml-query-utils` | `x-pack/platform/packages/private/ml/query_utils` | | `@kbn/ml-random-sampler-utils` | `x-pack/platform/packages/shared/ml/random_sampler_utils` | | `@kbn/ml-response-stream` | `x-pack/platform/packages/shared/ml/response_stream` | | `@kbn/ml-route-utils` | `x-pack/platform/packages/private/ml/route_utils` | | `@kbn/ml-runtime-field-utils` | `x-pack/platform/packages/shared/ml/runtime_field_utils` | | `@kbn/ml-string-hash` | `x-pack/platform/packages/private/ml/string_hash` | | `@kbn/ml-time-buckets` | `x-pack/platform/packages/private/ml/time_buckets` | | `@kbn/ml-trained-models-utils` | `x-pack/platform/packages/shared/ml/trained_models_utils` | | `@kbn/ml-ui-actions` | `x-pack/platform/packages/private/ml/ui_actions` | | `@kbn/ml-url-state` | `x-pack/platform/packages/private/ml/url_state` | | `@kbn/ml-validators` | `x-pack/platform/packages/private/ml/validators` | <details> <summary>Updated references</summary> ``` ./.eslintrc.js ./docs/developer/plugin-list.asciidoc ./docs/redirects.asciidoc ./oas_docs/scripts/merge_ess_oas.js ./oas_docs/scripts/merge_serverless_oas.js ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-synthetic-package-map/synthetic-packages.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/default-nav/ml/jest.config.js ./src/platform/packages/shared/deeplinks/ml/jest.config.js ./tsconfig.base.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/packages/security-solution/navigation/src/constants.ts ./x-pack/platform/packages/private/ml/agg_utils/jest.config.js ./x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js ./x-pack/platform/packages/private/ml/aiops_components/jest.config.js ./x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js ./x-pack/platform/packages/private/ml/cancellable_search/jest.config.js ./x-pack/platform/packages/private/ml/category_validator/jest.config.js ./x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js ./x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js ./x-pack/platform/packages/private/ml/data_grid/jest.config.js ./x-pack/platform/packages/private/ml/data_view_utils/jest.config.js ./x-pack/platform/packages/private/ml/date_picker/jest.config.js ./x-pack/platform/packages/private/ml/date_utils/jest.config.js ./x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js ./x-pack/platform/packages/private/ml/in_memory_table/jest.config.js ./x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js ./x-pack/platform/packages/private/ml/is_defined/jest.config.js ./x-pack/platform/packages/private/ml/is_populated_object/jest.config.js ./x-pack/platform/packages/private/ml/json_schemas/jest.config.js ./x-pack/platform/packages/private/ml/kibana_theme/jest.config.js ./x-pack/platform/packages/private/ml/local_storage/jest.config.js ./x-pack/platform/packages/private/ml/nested_property/jest.config.js ./x-pack/platform/packages/private/ml/number_utils/jest.config.js ./x-pack/platform/packages/private/ml/parse_interval/jest.config.js ./x-pack/platform/packages/private/ml/query_utils/jest.config.js ./x-pack/platform/packages/private/ml/route_utils/jest.config.js ./x-pack/platform/packages/private/ml/string_hash/jest.config.js ./x-pack/platform/packages/private/ml/time_buckets/jest.config.js ./x-pack/platform/packages/private/ml/ui_actions/jest.config.js ./x-pack/platform/packages/private/ml/url_state/jest.config.js ./x-pack/platform/packages/private/ml/validators/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_common/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js ./x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js ./x-pack/platform/packages/shared/ml/chi2test/jest.config.js ./x-pack/platform/packages/shared/ml/error_utils/jest.config.js ./x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js ./x-pack/platform/packages/shared/ml/response_stream/jest.config.js ./x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js ./x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js ./x-pack/platform/plugins/private/data_visualizer/jest.config.js ./x-pack/platform/plugins/private/transform/jest.config.js ./x-pack/platform/plugins/private/transform/readme.md ./x-pack/platform/plugins/shared/aiops/README.md ./x-pack/platform/plugins/shared/aiops/jest.config.js ./x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts ./x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts ./x-pack/platform/plugins/shared/ml/jest.config.js ./x-pack/platform/plugins/shared/ml/readme.md ./x-pack/plugins/aiops/README.md ./x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts ./x-pack/plugins/security_solution/common/machine_learning/helpers.ts ./yarn.lock ``` </details> <details> <summary>Updated relative paths</summary> ``` src/platform/packages/private/default-nav/ml/jest.config.js:12 src/platform/packages/private/default-nav/ml/tsconfig.json:2 src/platform/packages/shared/deeplinks/ml/jest.config.js:12 src/platform/packages/shared/deeplinks/ml/tsconfig.json:2 x-pack/platform/packages/private/ml/agg_utils/jest.config.js:10 x-pack/platform/packages/private/ml/agg_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_components/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_components/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/cancellable_search/jest.config.js:10 x-pack/platform/packages/private/ml/cancellable_search/tsconfig.json:2 x-pack/platform/packages/private/ml/category_validator/jest.config.js:10 x-pack/platform/packages/private/ml/category_validator/tsconfig.json:2 x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js:10 x-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js:10 x-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/data_grid/jest.config.js:10 x-pack/platform/packages/private/ml/data_grid/tsconfig.json:2 x-pack/platform/packages/private/ml/data_view_utils/jest.config.js:10 x-pack/platform/packages/private/ml/data_view_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/date_picker/jest.config.js:10 x-pack/platform/packages/private/ml/date_picker/tsconfig.json:2 x-pack/platform/packages/private/ml/date_utils/jest.config.js:10 x-pack/platform/packages/private/ml/date_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js:10 x-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json:2 x-pack/platform/packages/private/ml/in_memory_table/jest.config.js:10 x-pack/platform/packages/private/ml/in_memory_table/tsconfig.json:2 x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js:10 x-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json:2 x-pack/platform/packages/private/ml/is_defined/jest.config.js:10 x-pack/platform/packages/private/ml/is_defined/tsconfig.json:2 x-pack/platform/packages/private/ml/is_populated_object/jest.config.js:10 x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json:2 x-pack/platform/packages/private/ml/json_schemas/jest.config.js:10 x-pack/platform/packages/private/ml/json_schemas/package.json:7 x-pack/platform/packages/private/ml/json_schemas/tsconfig.json:2 x-pack/platform/packages/private/ml/kibana_theme/jest.config.js:10 x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json:2 x-pack/platform/packages/private/ml/local_storage/jest.config.js:10 x-pack/platform/packages/private/ml/local_storage/tsconfig.json:2 x-pack/platform/packages/private/ml/nested_property/jest.config.js:10 x-pack/platform/packages/private/ml/nested_property/tsconfig.json:2 x-pack/platform/packages/private/ml/number_utils/jest.config.js:10 x-pack/platform/packages/private/ml/number_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/parse_interval/jest.config.js:10 x-pack/platform/packages/private/ml/parse_interval/tsconfig.json:2 x-pack/platform/packages/private/ml/query_utils/jest.config.js:10 x-pack/platform/packages/private/ml/query_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/route_utils/jest.config.js:10 x-pack/platform/packages/private/ml/route_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/string_hash/jest.config.js:10 x-pack/platform/packages/private/ml/string_hash/tsconfig.json:2 x-pack/platform/packages/private/ml/time_buckets/jest.config.js:10 x-pack/platform/packages/private/ml/time_buckets/tsconfig.json:2 x-pack/platform/packages/private/ml/ui_actions/jest.config.js:10 x-pack/platform/packages/private/ml/ui_actions/tsconfig.json:2 x-pack/platform/packages/private/ml/url_state/jest.config.js:10 x-pack/platform/packages/private/ml/url_state/tsconfig.json:2 x-pack/platform/packages/private/ml/validators/jest.config.js:10 x-pack/platform/packages/private/ml/validators/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_common/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json:2 x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/chi2test/jest.config.js:10 x-pack/platform/packages/shared/ml/chi2test/tsconfig.json:2 x-pack/platform/packages/shared/ml/error_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/error_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/response_stream/jest.config.js:10 x-pack/platform/packages/shared/ml/response_stream/tsconfig.json:2 x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json:2 x-pack/platform/plugins/private/data_visualizer/jest.config.js:10 x-pack/platform/plugins/private/data_visualizer/tsconfig.json:2 x-pack/platform/plugins/private/data_visualizer/tsconfig.json:7 x-pack/platform/plugins/private/transform/jest.config.js:10 x-pack/platform/plugins/private/transform/tsconfig.json:10 x-pack/platform/plugins/private/transform/tsconfig.json:2 x-pack/platform/plugins/shared/aiops/jest.config.js:10 x-pack/platform/plugins/shared/aiops/tsconfig.json:2 x-pack/platform/plugins/shared/aiops/tsconfig.json:7 x-pack/platform/plugins/shared/ml/jest.config.js:10 x-pack/platform/plugins/shared/ml/readme.md:186 x-pack/platform/plugins/shared/ml/readme.md:192 x-pack/platform/plugins/shared/ml/tsconfig.json:12 x-pack/platform/plugins/shared/ml/tsconfig.json:2 x-pack/platform/plugins/shared/ml/tsconfig.json:24 ``` </details> <details> <summary>Script errors</summary> ``` ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Walter Rafelsberger <walter.rafelsberger@elastic.co> |
||
|
1d9ca1ebf6
|
[Obs AI Assistant] Fix null pointer in function definition (#203344)
Closes #201713 |