Commit graph

414 commits

Author SHA1 Message Date
Christos Nasikas
1054799f9c
[Cases] Improve unit test flakiness (#212489)
## Summary

This PR attempts (I have lost count of how many there have been so far)
to stabilize the flakiness of cases tests.

## Approach

Based on our investigations, I believe a common factor that causes all
tests to time out is how we wrap the tests with the needed providers.
Instead of figuring out why they time out (which is very difficult), I
tried a different approach. I rewrote how we initialize the testing
dependencies, mocks, and providers on tests. To test my theory, I
created a VM instance in GCloud with the same configuration as the one
running in the CI, specifically the n2-standard-4 (4 vCPUs, 16 GB
Memory) machine type. I ran the tests 100 times, which took almost two
days. In 10 of the runs, a random test was timeouted. I noticed that the
machine was stressed while running the tests, and the CPU frequently
spiked to 100%, especially at the beginning of each test. Then, I
increased the timeout for all cases tests to 10 seconds and ran the
tests again 100 times. No timeouts occurred. Lastly, I created a VM
instance in GCloud with the same configuration as the one running in the
CI, specifically the n2-standard-8 (8 vCPUs, 32 GB Memory) machine type.
I ran the tests again 100 times. In 1 of the runs, a random test was
timeouted. The machine on the CI cannot handle the cases tests. I
believe the work in this PR is a step in the right direction either way,
and we will benefit from it. I also believe increasing the timeout is a
good decision as we need it based on the experiments and the research we
have done in the last months.

CPU usage on n2-standard-4


https://github.com/user-attachments/assets/36b035df-310f-4906-98ba-688d57b97c7e

CPU usage on n2-standard-8


https://github.com/user-attachments/assets/3b1b6351-d48e-41da-a413-a56e52b54b82

## RLT eslint rules
I enabled the [RLT eslint
rules](https://testing-library.com/docs/ecosystem-eslint-plugin-testing-library/)
for Cases and resolved any eslint errors. The process revealed small
bugs in the tests, which I fixed them.

## Testing utils

I removed the `appMockRender` and any usage in favor of the new
`renderWithTestingProviders` utility function and the improved
`TestProviders` component. The `renderWithTestingProviders` follows the
principals
[suggested](https://github.com/testing-library/react-testing-library/issues/780#issuecomment-689053441)
by the RLT team. Specifically:
- The `renderWithTestingProviders` is a wrapper of the `render` function
of the RTL library.
- The `renderWithTestingProviders` does not create the services or any
component inside it.
- The `renderWithTestingProviders` cannot be used in `beforeEach`
functions. It should be called separately on each test.
- The `renderWithTestingProviders` accepts props to override the default
mocks.
- The `renderWithTestingProviders` passes the `TestProviders` in the
`wrapper` argument of the RLT `render` function.
- The `TestProviders` component initializes and memoizes all services
and dependencies. It accepts props to override the default mocks.
- Mock overrides (like core services) should be created and passed to
`renderWithTestingProviders` on each test, even if it means duplication.
We favor test isolation.

### Checklist

Check the PR satisfies the following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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

## Issues
<details>
<summary>List</summary>

Fixes: https://github.com/elastic/kibana/issues/207712
Fixes: https://github.com/elastic/kibana/issues/192739
Fixes: https://github.com/elastic/kibana/issues/174682
Fixes: https://github.com/elastic/kibana/issues/206366
Fixes: https://github.com/elastic/kibana/issues/207427
Fixes: https://github.com/elastic/kibana/issues/175239
Fixes: https://github.com/elastic/kibana/issues/177334
Fixes: https://github.com/elastic/kibana/issues/208443
Fixes: https://github.com/elastic/kibana/issues/187526
Fixes: https://github.com/elastic/kibana/issues/208310
Fixes: https://github.com/elastic/kibana/issues/192640
Fixes: https://github.com/elastic/kibana/issues/207077
Fixes: https://github.com/elastic/kibana/issues/197304
Fixes: https://github.com/elastic/kibana/issues/207249
Fixes: https://github.com/elastic/kibana/issues/202761
Fixes: https://github.com/elastic/kibana/issues/202115
Fixes: https://github.com/elastic/kibana/issues/193026
Fixes: https://github.com/elastic/kibana/issues/177304
Fixes: https://github.com/elastic/kibana/issues/208415
Fixes: https://github.com/elastic/kibana/issues/174661
Fixes: https://github.com/elastic/kibana/issues/201611
Fixes: https://github.com/elastic/kibana/issues/182364
Fixes: https://github.com/elastic/kibana/issues/175841
Fixes: https://github.com/elastic/kibana/issues/207907
Fixes: https://github.com/elastic/kibana/issues/171177
Fixes: https://github.com/elastic/kibana/issues/196628
Fixes: https://github.com/elastic/kibana/issues/194703
Fixes: https://github.com/elastic/kibana/issues/207241
Fixes: https://github.com/elastic/kibana/issues/206056
Fixes: https://github.com/elastic/kibana/issues/207328
Fixes: https://github.com/elastic/kibana/issues/205953
Fixes: https://github.com/elastic/kibana/issues/176524
Fixes: https://github.com/elastic/kibana/issues/176335
Fixes: https://github.com/elastic/kibana/issues/207404
Fixes: https://github.com/elastic/kibana/issues/207384
Fixes: https://github.com/elastic/kibana/issues/208380
Fixes: https://github.com/elastic/kibana/issues/207248
Fixes: https://github.com/elastic/kibana/issues/207444
Fixes: https://github.com/elastic/kibana/issues/175240
Fixes: https://github.com/elastic/kibana/issues/178001

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-14 17:17:13 +00:00
Gerard Soldevila
355a834659
SKA: Relocate /test to /src/platform/test (#210956)
## Summary

Part of https://github.com/elastic/kibana-team/issues/1503

This is a first step towards the relocation of all the Kibana tests.

The `/test/` folder at the root, which is in itself a package
(`@kbn/test-suites-src`), and contains a large number of tests and test
plugins, is being relocated under `src/platform/test`.

All the tests under this folder should be related to common platform
features, and they should not have any dependency towards
solution-specific components or features.

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

```
src/platform/test/analytics/plugins/analytics_ftr_helpers/jest.config.js:12
src/platform/test/analytics/plugins/analytics_ftr_helpers/package.json:10
src/platform/test/analytics/plugins/analytics_ftr_helpers/package.json:11
src/platform/test/analytics/plugins/analytics_ftr_helpers/tsconfig.json:11
src/platform/test/analytics/plugins/analytics_ftr_helpers/tsconfig.json:2
src/platform/test/analytics/plugins/analytics_plugin_a/package.json:10
src/platform/test/analytics/plugins/analytics_plugin_a/package.json:11
src/platform/test/analytics/plugins/analytics_plugin_a/tsconfig.json:10
src/platform/test/analytics/plugins/analytics_plugin_a/tsconfig.json:2
src/platform/test/api_integration/jest.config.js:12
src/platform/test/common/plugins/newsfeed/tsconfig.json:2
src/platform/test/common/plugins/otel_metrics/tsconfig.json:2
src/platform/test/functional/jest.config.js:12
src/platform/test/harden/child_process.js:13
src/platform/test/harden/lodash_template.js:13
src/platform/test/harden/prototype.js:10
src/platform/test/health_gateway/plugins/status/tsconfig.json:2
src/platform/test/interactive_setup_api_integration/plugins/test_endpoints/tsconfig.json:2
src/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json:11
src/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json:12
src/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json:11
src/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json:2
src/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/package.json:11
src/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/package.json:12
src/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json:2
src/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json:9
src/platform/test/package/Vagrantfile:2
src/platform/test/plugin_functional/README.md:40
src/platform/test/plugin_functional/plugins/app_link_test/package.json:11
src/platform/test/plugin_functional/plugins/app_link_test/package.json:12
src/platform/test/plugin_functional/plugins/app_link_test/tsconfig.json:10
src/platform/test/plugin_functional/plugins/app_link_test/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_app_status/package.json:11
src/platform/test/plugin_functional/plugins/core_app_status/package.json:12
src/platform/test/plugin_functional/plugins/core_app_status/tsconfig.json:10
src/platform/test/plugin_functional/plugins/core_app_status/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/package.json:11
src/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/package.json:12
src/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/tsconfig.json:11
src/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/package.json:11
src/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/package.json:12
src/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/tsconfig.json:11
src/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_history_block/package.json:11
src/platform/test/plugin_functional/plugins/core_history_block/package.json:12
src/platform/test/plugin_functional/plugins/core_history_block/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_history_block/tsconfig.json:6
src/platform/test/plugin_functional/plugins/core_http/package.json:11
src/platform/test/plugin_functional/plugins/core_http/package.json:12
src/platform/test/plugin_functional/plugins/core_http/tsconfig.json:11
src/platform/test/plugin_functional/plugins/core_http/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_a/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_a/package.json:12
src/platform/test/plugin_functional/plugins/core_plugin_a/tsconfig.json:11
src/platform/test/plugin_functional/plugins/core_plugin_a/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_appleave/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_appleave/package.json:12
src/platform/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json:10
src/platform/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_b/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_b/package.json:12
src/platform/test/plugin_functional/plugins/core_plugin_b/tsconfig.json:11
src/platform/test/plugin_functional/plugins/core_plugin_b/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_chromeless/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_chromeless/package.json:12
src/platform/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json:10
src/platform/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_deep_links/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_deep_links/package.json:12
src/platform/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json:10
src/platform/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_deprecations/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_deprecations/package.json:12
src/platform/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json:11
src/platform/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_execution_context/package.json:10
src/platform/test/plugin_functional/plugins/core_plugin_execution_context/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_execution_context/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_helpmenu/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json:10
src/platform/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/package.json:12
src/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json:8
src/platform/test/plugin_functional/plugins/core_plugin_static_assets/package.json:11
src/platform/test/plugin_functional/plugins/core_plugin_static_assets/package.json:12
src/platform/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json:10
src/platform/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json:2
src/platform/test/plugin_functional/plugins/core_provider_plugin/package.json:11
src/platform/test/plugin_functional/plugins/core_provider_plugin/package.json:12
src/platform/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json:10
src/platform/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json:2
src/platform/test/plugin_functional/plugins/data_search/package.json:10
src/platform/test/plugin_functional/plugins/data_search/package.json:9
src/platform/test/plugin_functional/plugins/data_search/tsconfig.json:2
src/platform/test/plugin_functional/plugins/data_search/tsconfig.json:8
src/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/package.json:10
src/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/package.json:9
src/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json:2
src/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json:8
src/platform/test/plugin_functional/plugins/eui_provider_dev_warning/package.json:11
src/platform/test/plugin_functional/plugins/eui_provider_dev_warning/package.json:12
src/platform/test/plugin_functional/plugins/eui_provider_dev_warning/tsconfig.json:10
src/platform/test/plugin_functional/plugins/eui_provider_dev_warning/tsconfig.json:2
src/platform/test/plugin_functional/plugins/hardening/package.json:11
src/platform/test/plugin_functional/plugins/hardening/package.json:12
src/platform/test/plugin_functional/plugins/hardening/tsconfig.json:12
src/platform/test/plugin_functional/plugins/hardening/tsconfig.json:2
src/platform/test/plugin_functional/plugins/index_patterns/package.json:11
src/platform/test/plugin_functional/plugins/index_patterns/package.json:12
src/platform/test/plugin_functional/plugins/index_patterns/tsconfig.json:10
src/platform/test/plugin_functional/plugins/index_patterns/tsconfig.json:2
src/platform/test/plugin_functional/plugins/kbn_sample_panel_action/package.json:11
src/platform/test/plugin_functional/plugins/kbn_sample_panel_action/package.json:12
src/platform/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json:10
src/platform/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json:2
src/platform/test/plugin_functional/plugins/kbn_top_nav/package.json:11
src/platform/test/plugin_functional/plugins/kbn_top_nav/package.json:12
src/platform/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json:11
src/platform/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json:2
src/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json:11
src/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json:12
src/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json:10
src/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json:2
src/platform/test/plugin_functional/plugins/management_test_plugin/package.json:11
src/platform/test/plugin_functional/plugins/management_test_plugin/package.json:12
src/platform/test/plugin_functional/plugins/management_test_plugin/tsconfig.json:10
src/platform/test/plugin_functional/plugins/management_test_plugin/tsconfig.json:2
src/platform/test/plugin_functional/plugins/rendering_plugin/package.json:11
src/platform/test/plugin_functional/plugins/rendering_plugin/package.json:12
src/platform/test/plugin_functional/plugins/rendering_plugin/tsconfig.json:11
src/platform/test/plugin_functional/plugins/rendering_plugin/tsconfig.json:2
src/platform/test/plugin_functional/plugins/saved_object_export_transforms/package.json:11
src/platform/test/plugin_functional/plugins/saved_object_export_transforms/package.json:12
src/platform/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json:2
src/platform/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json:9
src/platform/test/plugin_functional/plugins/saved_object_import_warnings/package.json:11
src/platform/test/plugin_functional/plugins/saved_object_import_warnings/package.json:12
src/platform/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json:11
src/platform/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json:2
src/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/package.json:11
src/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/package.json:12
src/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/tsconfig.json:2
src/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/tsconfig.json:9
src/platform/test/plugin_functional/plugins/saved_objects_hidden_type/package.json:11
src/platform/test/plugin_functional/plugins/saved_objects_hidden_type/package.json:12
src/platform/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json:2
src/platform/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json:9
src/platform/test/plugin_functional/plugins/session_notifications/package.json:11
src/platform/test/plugin_functional/plugins/session_notifications/package.json:12
src/platform/test/plugin_functional/plugins/session_notifications/tsconfig.json:11
src/platform/test/plugin_functional/plugins/session_notifications/tsconfig.json:2
src/platform/test/plugin_functional/plugins/telemetry/package.json:11
src/platform/test/plugin_functional/plugins/telemetry/package.json:12
src/platform/test/plugin_functional/plugins/telemetry/tsconfig.json:2
src/platform/test/plugin_functional/plugins/telemetry/tsconfig.json:6
src/platform/test/plugin_functional/plugins/ui_settings_plugin/package.json:11
src/platform/test/plugin_functional/plugins/ui_settings_plugin/package.json:12
src/platform/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json:2
src/platform/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json:8
src/platform/test/plugin_functional/plugins/usage_collection/package.json:11
src/platform/test/plugin_functional/plugins/usage_collection/package.json:12
src/platform/test/plugin_functional/plugins/usage_collection/tsconfig.json:11
src/platform/test/plugin_functional/plugins/usage_collection/tsconfig.json:2
src/platform/test/server_integration/plugins/status_plugin_a/package.json:10
src/platform/test/server_integration/plugins/status_plugin_a/package.json:11
src/platform/test/server_integration/plugins/status_plugin_a/tsconfig.json:2
src/platform/test/server_integration/plugins/status_plugin_a/tsconfig.json:9
src/platform/test/server_integration/plugins/status_plugin_b/package.json:10
src/platform/test/server_integration/plugins/status_plugin_b/package.json:11
src/platform/test/server_integration/plugins/status_plugin_b/tsconfig.json:2
src/platform/test/server_integration/plugins/status_plugin_b/tsconfig.json:9
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-14 16:57:23 +00:00
Dzmitry Lemechko
1b30686181
[scout] use project deps as global hooks for parallel tests (#211409)
## Summary

Currently we are using `globalSetup` [script in configuration
file](https://playwright.dev/docs/test-global-setup-teardown#option-2-configure-globalsetup-and-globalteardown)
to ingest Elasticsearch data before running the tests in parallel
against the same ES/Kibana instances.

This approach doesn't work well when you need to adjust `globalSetup`
logic based on specific condition, e.g. configuration file defining
where servers are hosted, its credentials, etc.

Not only global hook, but `ScoutConfig` fixture expects an argument to
define where servers configuration is defined:


cd502acea1/packages/kbn-scout/src/playwright/fixtures/worker/core_fixtures.ts (L65-L75)

`testInfo` is how Playwright exposes currently running configuration in
a form of `project` interface:
[projects](https://playwright.dev/docs/test-projects) can be used to
group tests, e.g. for specific envs or browsers.

Unfortunately `testInfo` is not exposed in global scripts, because in
Playwright project design `globalSetup` scripts are run before multiple
projects and projects can have its own `setup` hooks via
[dependencies](https://playwright.dev/docs/test-global-setup-teardown#option-1-project-dependencies):

```
    {
      name: 'setup',
      testMatch: /global.setup\.ts/,
    },
    {
      name: 'local',
      use: { ...devices['Desktop Chrome'], configName: 'local' },
      dependencies: 'setup',
    },
``` 

We already use project API to get `serversConfigDir` path, where we plan
to store local and cloud server configurations. This PR proposes to
define projects as `local` and `cloud` (maybe even separate `cloud-mki`,
`cloud-ech`) as a way to provide playwright information about servers
configuration.

Advantages:
1. we can re-use existing fixtures as-is, without adding custom exported
helper functions for ES data ingestion
2. project dependency is displayed as `setup` in Playwright report
3. way better and simpler design for consumers:
```
import { globalSetupHook } from '@kbn/scout';

globalSetupHook('Ingest data to Elasticsearch', async ({ esArchiver, log }) => {
  // add archives to load, if needed
  const archives = [
    testData.ES_ARCHIVES.LOGSTASH,
  ];

  log.debug('[setup] loading test data (only if indexes do not exist)...');
  for (const archive of archives) {
    await esArchiver.loadIfNeeded(archive);
  }
});
```
4. it is supported by VSCode Playwright plugin
<img width="1271" alt="Screenshot 2025-02-17 at 11 26 12"
src="https://github.com/user-attachments/assets/ba7eeb38-d39d-4785-9c11-18647599ec4a"
/>

I find it extremely useful because you don't need to change env var when
you want to switch b/w local or cloud run, all the configurations are
loaded automatically and you just tick the checkbox!

Disadvantages:
1. it is important to run `playwright test` with `--project` flag to use
the proper configuration
2. we have to define how `projects` are used for local and cloud
configuration, and make sure it meets requirements of multiple teams. We
can expose a way to pass custom project definitions in
`createPlaywrightConfig` function, but it might complicate the support
effort when every Team has too many custom projects.
3. `project` term is something we can't change and might be confusing
4. Since it is a Playwright feature, we might not have consistency with
API tests runner under Scout

For reviewers: 

Playing with it locally might give a better understanding about the
pros/cons, especially with IDE playwright plugin installed.

Running servers with tests:
```
node scripts/scout.js run-tests --serverless=oblt --testTarget=local --config x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts

node scripts/scout.js run-tests --serverless=oblt --config x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts
```

Running test only requires passing `project` argument:

```
npx playwright test --project=local --config x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts

npx playwright test --project=local --config x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: jennypavlova <jennypavlova94@gmail.com>
2025-03-13 10:06:26 +01:00
Georgiana-Andreea Onoleață
6f07d18265
[ResponseOps] consistent-type-imports linting rule for RO packages/plugins - PR2 (#212366)
- Enabled @typescript-eslint/consistent-type-imports eslint rule for
ResponseOps packages and plugins:
- this rule ensures that imports used only for type declarations are
consistently written using import type syntax
    
- fixed eslint errors for:
    - `x-pack/platform/plugins/shared/actions`
    - `x-pack/platform/plugins/shared/stack_alerts`
    - `x-pack/platform/plugins/shared/stack_connectors`
    - `x-pack/platform/plugins/shared/triggers_actions_ui`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-12 14:29:44 +01:00
Georgiana-Andreea Onoleață
ec3b18662a
[ResponseOps] consistent-type-imports linting rule for RO packages/plugins - PR1 (#212348)
- Enabled @typescript-eslint/consistent-type-imports eslint rule for
ResponseOps packages and plugins:
- this rule ensures that imports used only for type declarations are
consistently written using `import type ` syntax
   
- fixed eslint errors for:
    - `src/platform/packages/shared/response-ops`
    - `x-pack/platform/plugins/shared/alerting`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-11 13:56:45 +01:00
Davis McPhee
c398102c79
[Discover] Enable consistent-type-imports eslint rule (#212293)
## Summary

This PR enables the `@typescript-eslint/consistent-type-imports` eslint
rule for the Discover and saved search plugins. The benefits are that it
keeps things a bit cleaner, but more importantly ensures we aren't
accidentally importing more than types when all we need is types, which
can cause side effects.

I've added `backport:prev-major` and `backport:prev-minor` labels to the
PR because I figure backporting this is safe and would reduce merge
conflicts in future backports.

We should consider enabling this for all of our plugins and packages,
although that list might harder to maintain. I'm also curious if anyone
knows of other eslint rules we don't currently use that we'd benefit
from enabling.

### Checklist

- [ ] 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/src/platform/packages/shared/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)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-10 00:09:57 -03:00
James Gowdy
b26d85bd98
[ML] File upload enable consistent-type-imports eslint rule (#212044)
Enabling `consistent-type-imports` rule and running `node scripts/eslint
--no-cache --fix` to fix every type import.

Every other ML owned plugin has this rule enabled. Originally added in
https://github.com/elastic/kibana/pull/176921

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-04 12:57:23 +00:00
Gerard Soldevila
6a7c904f92
SKA: Relocate "platform" packages that remain on /packages (#208704)
## Summary

The `/packages` folder at the root of the Kibana repository used to
contain a lot of packages.
In the context of SKA, they have been gradually moved to various
locations:
* `src/platform/packages`
* `x-pack/platform/packages`
* `src/core/packages`

Currently, only `devOnly: true` packages are left in this folder. This
comprises libraries for CLI scripts as well as testing utilities.

With this PR, we are moving ~half of these packages under
`src/platform/packages/(private|shared)/`.
In particular, we are moving those packages that are being used from
platform and/or solutions.

Since they are `"devOnly": true`, this means they are ONLY used from
tests, cypress tests, storybook configs, ./scripts/ folders inside some
modules, or other non-prod-time logic. Nonetheless, they are effectively
referenced from platform and/or solutions code, hence I decided they
should be placed under `platform` folders.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-24 11:03:30 +00:00
Dzmitry Lemechko
ddd0fdb479
[scout] enable eslint plugin playwright (#210666)
## Summary

Closes https://github.com/elastic/kibana/issues/21030

It was a quick work to do while we don't have many tests yet. 

For reviewers: we most likely will review and update the rules to align
better with final test design for Scout before GA. I don't think we have
to deep dive into what rules are missing, but just to make sure I didn't
restrict something important from your perspective.

Rules are described in
https://github.com/playwright-community/eslint-plugin-playwright?tab=readme-ov-file#rules

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-14 10:21:49 +01:00
Gerard Soldevila
7b1c74a7a8
SKA: Follow-up relocations (#209477)
## Summary

* Categorise and move `@kbn/timelines-plugin` as _platform/shared_,
target location: `x-pack/platform/plugins/shared/timelines`.
This helps reduce the scope of the illegal dependencies from `osquery`
plugin towards _security/private_ code.
cc @tomsonpl 

* Simplify path and rename `@kbn/observability-alerting-rule-utils`
(platform/shared):
```
# Before 
@kbn/observability-alerting-rule-utils
x-pack/platform/packages/shared/observability/alerting_rule_utils/

# After
@kbn/alerting-rule-utils
x-pack/platform/packages/shared/alerting_rule_utils/
```

* Simplify path and rename `@kbn/observability-logs-overview`
(platform/shared):
```
# Before 
@kbn/observability-logs-overview
x-pack/platform/packages/shared/observability/logs_overview/

# After
@kbn/logs-overview
x-pack/platform/packages/shared/logs_overview/
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-05 19:53:36 +01:00
Gerard Soldevila
138145411d
SKA: Update repository structure documentation (#208691)
## Summary

* Updates [Repository
structure](https://docs.elastic.dev/kibana-dev-docs/contributing/repo-structure)
docs
* Makes the `osquery` plugin eslint exception more specific.
2025-01-29 13:34:00 -06:00
Shahzad
188823e972
Remove unused eslint rule !! (#208508)
## Summary

We created a new plugin for uptime code so this eslint rule is not valid
anymore and is not being used !!
2025-01-28 22:08:43 +01:00
Hanna Tamoudi
06d16614a9
[Automatic Import] rename plugin to automatic import (#207325)
## Summary

Rename `integration-assistant` plugin to `automatic-import`.
2025-01-28 21:55:42 +01:00
Gerard Soldevila
c347582ffb
SKA: Fix outdated eslint rules (#206961)
## Summary

Some eslint rules' paths were outdated after the SKA relocations.
This PR aims at fixing them.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-28 08:49:39 +01:00
Coen Warmer
56bd1d4d09
Reenable ESLint helpers for Observability (#206585)
## Summary

This re-enables the ESLint rules which help developers with translating
strings and adding instrumentation to React components.
2025-01-14 17:02:33 +01:00
Gerard Soldevila
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>
2025-01-08 12:19:24 +01:00
Eyo O. Eyo
1c3f7a6215
remove outstanding testing-library/react-hooks usages (#205307)
## Summary

This PR removes usages of `@testing-library/react-hooks` from the
codebase, as we've transitioned to using `@testing-library/react`
especially that it provides the same utils we need and the later package
is not supported for react 18. alongside this ~other instance of the
usages for `@testing-library/react-hooks` have been removed~ an eslint
rule has been enabled to prevent further usages of the mentioned
package.

<!--
### 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: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-07 14:43:37 +01:00
Gerard Soldevila
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>
2025-01-05 12:57:01 +01:00
Gerard Soldevila
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>
2025-01-04 11:47:24 -07:00
Anton Dosov
9215df9200
Sustainable Kibana Architecture: Move plugins owned by @elastic/appex-sharedux (#204959)
## Summary

Part of https://github.com/elastic/kibana/pull/203163

Relocating only shared-ux-owned plugins for now
2025-01-03 05:38:57 -06:00
Milosz Marcinkowski
6461b7e26a
Add consistent-type-imports eslint rule in obs-ux-infra_services-team owned plugins (#204549)
Closes #204412

## Summary

This PR enforces `consistent-type-imports` eslint rule in
`x-pack/solutions/observability/plugins/*` plugins owned by
`obs-ux-infra_services-team`.

Detailed list of plugins:
- `x-pack/solutions/observability/plugins/apm`,
- `x-pack/solutions/observability/plugins/apm_data_access`,
- `x-pack/solutions/observability/plugins/infra`,
- `x-pack/solutions/observability/plugins/inventory`,
- `x-pack/solutions/observability/plugins/metrics_data_access`,
- `x-pack/solutions/observability/plugins/profiling`,
- `x-pack/solutions/observability/plugins/profiling_data_access`

Script for fixing eslint rules in above plugins:
```bash
yarn eslint --no-error-on-unmatched-pattern --quiet --fix "x-pack/solutions/observability/plugins/apm/**/*.{js,mjs,ts,tsx}" "x-pack/solutions/observability/plugins/apm_data_access/**/*.{js,mjs,ts,tsx}" "x-pack/solutions/observability/plugins/infra/**/*.{js,mjs,ts,tsx}" "x-pack/solutions/observability/plugins/inventory/**/*.{js,mjs,ts,tsx}" "x-pack/solutions/observability/plugins/metrics_data_access/**/*.{js,mjs,ts,tsx}" "x-pack/solutions/observability/plugins/profiling/**/*.{js,mjs,ts,tsx}" "x-pack/solutions/observability/plugins/profiling_data_access/**/*.{js,mjs,ts,tsx}"
```

## Results

The affected plugins have been profiled using `node
scripts/build_kibana_platform_plugins.js --dist --profile --focus=apm
--no-cache` command and bundle size checked manually (`du -s` command).

#### APM plugin
Zero benefits in terms of size.
<img width="1728" alt="Screenshot 2024-12-19 at 12 18 36"
src="https://github.com/user-attachments/assets/d86be5d8-a4ad-4d9c-bac1-110a0c6bba81"
/>

#### Infra plugin
Zero benefits in terms of size.
<img width="1728" alt="Screenshot 2024-12-19 at 12 56 08"
src="https://github.com/user-attachments/assets/410bc068-1f20-4de8-ac4e-89c74478ec59"
/>

#### Profiling plugin
Zero benefits in terms of size.
<img width="1725" alt="image"
src="https://github.com/user-attachments/assets/bf47c319-0716-4a5b-9858-94ce7d2a3251"
/>

## Conclusions

- Using [type-only
imports](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export)
in Kibana doesn't provide any benefits in terms of bundle size,
- Possible safeguarding against edge-case TS errors
- avoiding unintentional side effects
([source](https://typescript-eslint.io/blog/consistent-type-imports-and-exports-why-and-how/#avoiding-unintentional-side-effects))
- circular dependency reference error
[(source)](https://stackoverflow.com/questions/40982927/using-import-type-statement-to-fix-circular-dependency-reference-error)
- Better ground for incoming tooling (improving performance, reliability
with type definition analysis),
- Clearer code intent.
2025-01-02 14:30:47 +01:00
Gerard Soldevila
bb877cff7e
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-data-discovery (#203152)
## 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).

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

| Id | Target folder |
| -- | ------------- |
| `@kbn/data-view-editor-plugin` |
`src/platform/plugins/shared/data_view_editor` |
| `@kbn/data-view-field-editor-plugin` |
`src/platform/plugins/shared/data_view_field_editor` |
| `@kbn/data-view-management-plugin` |
`src/platform/plugins/shared/data_view_management` |
| `@kbn/data-views-plugin` | `src/platform/plugins/shared/data_views` |
| `@kbn/discover-enhanced-plugin` |
`x-pack/platform/plugins/private/discover_enhanced` |
| `@kbn/discover-plugin` | `src/platform/plugins/shared/discover` |
| `@kbn/discover-shared-plugin` |
`src/platform/plugins/shared/discover_shared` |
| `@kbn/field-formats-plugin` |
`src/platform/plugins/shared/field_formats` |
| `@kbn/saved-objects-finder-plugin` |
`src/platform/plugins/shared/saved_objects_finder` |
| `@kbn/saved-search-plugin` |
`src/platform/plugins/shared/saved_search` |
| `@kbn/unified-doc-viewer-plugin` |
`src/platform/plugins/shared/unified_doc_viewer` |
| `@kbn/unified-histogram-plugin` |
`src/platform/plugins/shared/unified_histogram` |




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/content-management-utils` |
`src/platform/packages/shared/kbn-content-management-utils` |
| `@kbn/data-view-utils` |
`src/platform/packages/shared/kbn-data-view-utils` |
| `@kbn/datemath` | `src/platform/packages/shared/kbn-datemath` |
| `@kbn/deeplinks-analytics` |
`src/platform/packages/shared/deeplinks/analytics` |
| `@kbn/default-nav-analytics` |
`src/platform/packages/private/default-nav/analytics` |
| `@kbn/discover-utils` |
`src/platform/packages/shared/kbn-discover-utils` |
| `@kbn/es-query` | `src/platform/packages/shared/kbn-es-query` |
| `@kbn/field-types` | `src/platform/packages/shared/kbn-field-types` |
| `@kbn/field-utils` | `src/platform/packages/shared/kbn-field-utils` |
| `@kbn/react-field` | `src/platform/packages/shared/kbn-react-field` |
| `@kbn/resizable-layout` |
`src/platform/packages/shared/kbn-resizable-layout` |
| `@kbn/search-errors` |
`src/platform/packages/shared/kbn-search-errors` |
| `@kbn/search-response-warnings` |
`src/platform/packages/shared/kbn-search-response-warnings` |
| `@kbn/search-types` | `src/platform/packages/shared/kbn-search-types`
|
| `@kbn/unified-data-table` |
`src/platform/packages/shared/kbn-unified-data-table` |
| `@kbn/unified-doc-viewer` |
`src/platform/packages/shared/kbn-unified-doc-viewer` |
| `@kbn/unified-field-list` |
`src/platform/packages/shared/kbn-unified-field-list` |
| `@kbn/unsaved-changes-badge` |
`src/platform/packages/private/kbn-unsaved-changes-badge` |


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

```
./.buildkite/scripts/steps/functional/scout_ui_tests.sh
./.eslintrc.js
./.i18nrc.json
./docs/developer/advanced/sharing-saved-objects.asciidoc
./docs/developer/architecture/core/saved-objects-service.asciidoc
./docs/developer/best-practices/navigation.asciidoc
./docs/developer/contributing/development-unit-tests.asciidoc
./docs/developer/plugin-list.asciidoc
./examples/unified_doc_viewer/README.md
./examples/unified_field_list_examples/public/plugin.ts
./legacy_rfcs/text/0015_bazel.md
./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-test/src/functional_tests/lib/babel_register_for_test_plugins.js
./packages/kbn-ts-projects/config-paths.json
./packages/kbn-ui-shared-deps-src/BUILD.bazel
./packages/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.ts
./packages/shared-ux/prompt/no_data_views/types/index.d.ts
./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt
./src/dev/storybook/aliases.ts
./src/platform/packages/private/default-nav/analytics/jest.config.js
./src/platform/packages/private/kbn-unsaved-changes-badge/jest.config.js
./src/platform/packages/shared/deeplinks/analytics/jest.config.js
./src/platform/packages/shared/kbn-content-management-utils/jest.config.js
./src/platform/packages/shared/kbn-data-view-utils/jest.config.js
./src/platform/packages/shared/kbn-datemath/jest.config.js
./src/platform/packages/shared/kbn-discover-utils/jest.config.js
./src/platform/packages/shared/kbn-es-query/jest.config.js
./src/platform/packages/shared/kbn-field-types/jest.config.js
./src/platform/packages/shared/kbn-field-utils/jest.config.js
./src/platform/packages/shared/kbn-react-field/jest.config.js
./src/platform/packages/shared/kbn-resizable-layout/jest.config.js
./src/platform/packages/shared/kbn-search-errors/jest.config.js
./src/platform/packages/shared/kbn-search-response-warnings/jest.config.js
./src/platform/packages/shared/kbn-search-types/jest.config.js
./src/platform/packages/shared/kbn-unified-data-table/jest.config.js
./src/platform/packages/shared/kbn-unified-doc-viewer/jest.config.js
./src/platform/packages/shared/kbn-unified-field-list/jest.config.js
./src/platform/plugins/shared/data_view_editor/jest.config.js
./src/platform/plugins/shared/data_view_field_editor/jest.config.js
./src/platform/plugins/shared/data_view_management/jest.config.js
./src/platform/plugins/shared/data_views/jest.config.js
./src/platform/plugins/shared/discover/README.md
./src/platform/plugins/shared/discover/jest.config.js
./src/platform/plugins/shared/discover/public/context_awareness/README.md
./src/platform/plugins/shared/discover_shared/README.md
./src/platform/plugins/shared/discover_shared/jest.config.js
./src/platform/plugins/shared/field_formats/jest.config.js
./src/platform/plugins/shared/saved_objects_finder/jest.config.js
./src/platform/plugins/shared/saved_search/jest.config.js
./src/platform/plugins/shared/unified_doc_viewer/jest.config.js
./src/platform/plugins/shared/unified_histogram/jest.config.js
./tsconfig.base.json
./tsconfig.refs.json
./x-pack/.i18nrc.json
./x-pack/platform/plugins/private/discover_enhanced/jest.config.js
./x-pack/platform/plugins/private/discover_enhanced/ui_tests/README.md
./x-pack/solutions/security/plugins/timelines/common/search_strategy/index_fields/index.ts
./yarn.lock
.github/CODEOWNERS
```

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

```
src/platform/packages/private/default-nav/analytics/jest.config.js:12
src/platform/packages/private/default-nav/analytics/tsconfig.json:2
src/platform/packages/private/kbn-unsaved-changes-badge/jest.config.js:12
src/platform/packages/private/kbn-unsaved-changes-badge/tsconfig.json:2
src/platform/packages/shared/deeplinks/analytics/jest.config.js:12
src/platform/packages/shared/deeplinks/analytics/tsconfig.json:2
src/platform/packages/shared/kbn-content-management-utils/jest.config.js:12
src/platform/packages/shared/kbn-content-management-utils/tsconfig.json:2
src/platform/packages/shared/kbn-data-view-utils/jest.config.js:12
src/platform/packages/shared/kbn-data-view-utils/tsconfig.json:2
src/platform/packages/shared/kbn-datemath/jest.config.js:22
src/platform/packages/shared/kbn-datemath/tsconfig.json:2
src/platform/packages/shared/kbn-discover-utils/jest.config.js:12
src/platform/packages/shared/kbn-discover-utils/tsconfig.json:2
src/platform/packages/shared/kbn-es-query/jest.config.js:12
src/platform/packages/shared/kbn-es-query/tsconfig.json:2
src/platform/packages/shared/kbn-field-types/jest.config.js:12
src/platform/packages/shared/kbn-field-types/tsconfig.json:2
src/platform/packages/shared/kbn-field-utils/jest.config.js:12
src/platform/packages/shared/kbn-field-utils/tsconfig.json:2
src/platform/packages/shared/kbn-react-field/jest.config.js:12
src/platform/packages/shared/kbn-react-field/tsconfig.json:2
src/platform/packages/shared/kbn-resizable-layout/jest.config.js:12
src/platform/packages/shared/kbn-resizable-layout/tsconfig.json:2
src/platform/packages/shared/kbn-search-errors/jest.config.js:12
src/platform/packages/shared/kbn-search-errors/tsconfig.json:2
src/platform/packages/shared/kbn-search-response-warnings/jest.config.js:12
src/platform/packages/shared/kbn-search-response-warnings/tsconfig.json:2
src/platform/packages/shared/kbn-search-types/jest.config.js:12
src/platform/packages/shared/kbn-search-types/tsconfig.json:2
src/platform/packages/shared/kbn-unified-data-table/jest.config.js:12
src/platform/packages/shared/kbn-unified-data-table/tsconfig.json:2
src/platform/packages/shared/kbn-unified-doc-viewer/jest.config.js:12
src/platform/packages/shared/kbn-unified-doc-viewer/tsconfig.json:2
src/platform/packages/shared/kbn-unified-field-list/jest.config.js:12
src/platform/packages/shared/kbn-unified-field-list/tsconfig.json:2
src/platform/plugins/shared/data_view_editor/jest.config.js:12
src/platform/plugins/shared/data_view_editor/tsconfig.json:2
src/platform/plugins/shared/data_view_field_editor/jest.config.js:12
src/platform/plugins/shared/data_view_field_editor/tsconfig.json:2
src/platform/plugins/shared/data_view_field_editor/tsconfig.json:7
src/platform/plugins/shared/data_view_management/jest.config.js:12
src/platform/plugins/shared/data_view_management/tsconfig.json:2
src/platform/plugins/shared/data_views/jest.config.js:12
src/platform/plugins/shared/data_views/tsconfig.json:2
src/platform/plugins/shared/discover/jest.config.js:12
src/platform/plugins/shared/discover/public/application/context/context_app.scss:1
src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.scss:1
src/platform/plugins/shared/discover/public/context_awareness/README.md:118
src/platform/plugins/shared/discover/public/context_awareness/README.md:119
src/platform/plugins/shared/discover/tsconfig.json:10
src/platform/plugins/shared/discover/tsconfig.json:2
src/platform/plugins/shared/discover_shared/jest.config.js:12
src/platform/plugins/shared/discover_shared/tsconfig.json:10
src/platform/plugins/shared/discover_shared/tsconfig.json:2
src/platform/plugins/shared/field_formats/jest.config.js:12
src/platform/plugins/shared/field_formats/tsconfig.json:2
src/platform/plugins/shared/saved_objects_finder/jest.config.js:12
src/platform/plugins/shared/saved_objects_finder/tsconfig.json:2
src/platform/plugins/shared/saved_search/jest.config.js:12
src/platform/plugins/shared/saved_search/tsconfig.json:2
src/platform/plugins/shared/saved_search/tsconfig.json:6
src/platform/plugins/shared/unified_doc_viewer/jest.config.js:12
src/platform/plugins/shared/unified_doc_viewer/tsconfig.json:2
src/platform/plugins/shared/unified_doc_viewer/tsconfig.json:6
src/platform/plugins/shared/unified_histogram/jest.config.js:12
src/platform/plugins/shared/unified_histogram/tsconfig.json:2
src/platform/plugins/shared/unified_histogram/tsconfig.json:6
x-pack/platform/plugins/private/discover_enhanced/jest.config.js:10
x-pack/platform/plugins/private/discover_enhanced/tsconfig.json:2
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-30 13:23:47 +01:00
Gerard Soldevila
8899fb8fa2
Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-infra_services-team (#202830)
## 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).

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

| Id | Target folder |
| -- | ------------- |
| `@kbn/apm-data-access-plugin` |
`x-pack/solutions/observability/plugins/apm_data_access` |
| `@kbn/apm-plugin` | `x-pack/solutions/observability/plugins/apm` |
| `@kbn/inventory-plugin` |
`x-pack/solutions/observability/plugins/inventory` |
| `@kbn/metrics-data-access-plugin` |
`x-pack/solutions/observability/plugins/metrics_data_access` |
| `@kbn/profiling-data-access-plugin` |
`x-pack/solutions/observability/plugins/profiling_data_access` |
| `@kbn/profiling-plugin` |
`x-pack/solutions/observability/plugins/profiling` |




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/apm-data-view` |
`src/platform/packages/shared/kbn-apm-data-view` |
| `@kbn/apm-types` |
`x-pack/solutions/observability/packages/kbn-apm-types` |
| `@kbn/apm-utils` | `src/platform/packages/shared/kbn-apm-utils` |
| `@kbn/lens-embeddable-utils` |
`src/platform/packages/shared/kbn-lens-embeddable-utils` |
| `@kbn/profiling-utils` |
`src/platform/packages/shared/kbn-profiling-utils` |
| `@kbn/shared-svg` | `src/platform/packages/shared/kbn-shared-svg` |


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

```
./.buildkite/ftr_oblt_stateful_configs.yml
./.buildkite/scripts/steps/functional/apm_cypress.sh
./.buildkite/scripts/steps/functional/inventory_cypress.sh
./.buildkite/scripts/steps/functional/profiling_cypress.sh
./.eslintrc.js
./.github/paths-labeller.yml
./.gitignore
./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-telemetry/helpers/get_app_name.test.ts
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./src/dev/precommit_hook/casing_check_config.js
./src/dev/storybook/aliases.ts
./src/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js
./src/platform/packages/shared/kbn-profiling-utils/jest.config.js
./src/platform/packages/shared/kbn-shared-svg/jest.config.js
./tsconfig.base.json
./x-pack/.i18nrc.json
./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts
./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts
./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts
./x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts
./x-pack/solutions/observability/plugins/apm/common/rules/apm_rule_types.ts
./x-pack/solutions/observability/plugins/apm/dev_docs/apm_queries.md
./x-pack/solutions/observability/plugins/apm/dev_docs/linting.md
./x-pack/solutions/observability/plugins/apm/dev_docs/local_setup.md
./x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md
./x-pack/solutions/observability/plugins/apm/dev_docs/testing.md
./x-pack/solutions/observability/plugins/apm/dev_docs/updating_functional_tests_archives.md
./x-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md
./x-pack/solutions/observability/plugins/apm/ftr_e2e/README.md
./x-pack/solutions/observability/plugins/apm/jest.config.js
./x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts
./x-pack/solutions/observability/plugins/apm/scripts/precommit.js
./x-pack/solutions/observability/plugins/apm/scripts/telemetry/main.ts
./x-pack/solutions/observability/plugins/apm_data_access/jest.config.js
./x-pack/solutions/observability/plugins/exploratory_view/common/annotations.ts
./x-pack/solutions/observability/plugins/inventory/README.md
./x-pack/solutions/observability/plugins/inventory/jest.config.js
./x-pack/solutions/observability/plugins/metrics_data_access/jest.config.js
./x-pack/solutions/observability/plugins/observability/common/annotations.ts
./x-pack/solutions/observability/plugins/profiling/README.md
./x-pack/solutions/observability/plugins/profiling/e2e/README.md
./x-pack/solutions/observability/plugins/profiling/jest.config.js
./x-pack/solutions/observability/plugins/profiling_data_access/jest.config.js
./x-pack/solutions/security/plugins/security_solution/server/utils/build_query/calculate_timeseries_interval.ts
./yarn.lock
.github/CODEOWNERS
```

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

```
src/platform/packages/shared/kbn-apm-data-view/tsconfig.json:2
src/platform/packages/shared/kbn-apm-utils/tsconfig.json:2
src/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js:12
src/platform/packages/shared/kbn-lens-embeddable-utils/tsconfig.json:2
src/platform/packages/shared/kbn-profiling-utils/jest.config.js:12
src/platform/packages/shared/kbn-profiling-utils/tsconfig.json:2
src/platform/packages/shared/kbn-shared-svg/jest.config.js:12
src/platform/packages/shared/kbn-shared-svg/tsconfig.json:2
x-pack/solutions/observability/packages/kbn-apm-types/tsconfig.json:2
x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md:17
x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md:22
x-pack/solutions/observability/plugins/apm/dev_docs/testing.md:130
x-pack/solutions/observability/plugins/apm/dev_docs/testing.md:222
x-pack/solutions/observability/plugins/apm/dev_docs/testing.md:78
x-pack/solutions/observability/plugins/apm/dev_docs/testing.md:96
x-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md:42
x-pack/solutions/observability/plugins/apm/ftr_e2e/README.md:3
x-pack/solutions/observability/plugins/apm/ftr_e2e/tsconfig.json:2
x-pack/solutions/observability/plugins/apm/jest.config.js:12
x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts:125
x-pack/solutions/observability/plugins/apm/scripts/precommit.js:15
x-pack/solutions/observability/plugins/apm/scripts/precommit.js:33
x-pack/solutions/observability/plugins/apm/scripts/precommit.js:38
x-pack/solutions/observability/plugins/apm/scripts/precommit.js:50
x-pack/solutions/observability/plugins/apm/scripts/shared/read_kibana_config.ts:16
x-pack/solutions/observability/plugins/apm/tsconfig.json:2
x-pack/solutions/observability/plugins/apm/tsconfig.json:7
x-pack/solutions/observability/plugins/apm_data_access/jest.config.js:12
x-pack/solutions/observability/plugins/apm_data_access/tsconfig.json:2
x-pack/solutions/observability/plugins/apm_data_access/tsconfig.json:6
x-pack/solutions/observability/plugins/inventory/e2e/tsconfig.json:2
x-pack/solutions/observability/plugins/inventory/jest.config.js:10
x-pack/solutions/observability/plugins/inventory/tsconfig.json:2
x-pack/solutions/observability/plugins/inventory/tsconfig.json:7
x-pack/solutions/observability/plugins/metrics_data_access/jest.config.js:10
x-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json:2
x-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json:6
x-pack/solutions/observability/plugins/profiling/README.md:52
x-pack/solutions/observability/plugins/profiling/e2e/README.md:3
x-pack/solutions/observability/plugins/profiling/e2e/tsconfig.json:11
x-pack/solutions/observability/plugins/profiling/e2e/tsconfig.json:2
x-pack/solutions/observability/plugins/profiling/jest.config.js:10
x-pack/solutions/observability/plugins/profiling/tsconfig.json:2
x-pack/solutions/observability/plugins/profiling_data_access/jest.config.js:12
x-pack/solutions/observability/plugins/profiling_data_access/tsconfig.json:2
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-29 09:58:37 +01:00
Gerard Soldevila
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>
2024-12-27 10:55:21 -06:00
Gerard Soldevila
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>
2024-12-26 15:49:50 +01:00
Gerard Soldevila
fce686bc88
Sustainable Kibana Architecture: Move modules owned by @elastic/fleet (#202422)
## 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/custom-integrations-plugin` |
`src/platform/plugins/shared/custom_integrations` |
| `@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet` |




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/deeplinks-fleet` |
`src/platform/packages/shared/deeplinks/fleet` |


<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/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
Cannot replace multiple occurrences of "../../.." in the same line, please fix manually:	/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16
```

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

```
src/platform/packages/shared/deeplinks/fleet/jest.config.js:12
src/platform/packages/shared/deeplinks/fleet/tsconfig.json:2
src/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/jest.config.js:12
src/platform/plugins/shared/custom_integrations/tsconfig.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.json:7
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41
src/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9
x-pack/platform/plugins/shared/fleet/cypress.config.js:22
x-pack/platform/plugins/shared/fleet/cypress.config.js:25
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29
x-pack/platform/plugins/shared/fleet/cypress.config.ts:25
x-pack/platform/plugins/shared/fleet/cypress.config.ts:28
x-pack/platform/plugins/shared/fleet/cypress/README.md:122
x-pack/platform/plugins/shared/fleet/cypress/README.md:128
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6
x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8
x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40
x-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7
x-pack/platform/plugins/shared/fleet/jest.config.js:10
x-pack/platform/plugins/shared/fleet/jest.integration.config.js:10
x-pack/platform/plugins/shared/fleet/package.json:11
x-pack/platform/plugins/shared/fleet/package.json:12
x-pack/platform/plugins/shared/fleet/package.json:15
x-pack/platform/plugins/shared/fleet/package.json:16
x-pack/platform/plugins/shared/fleet/package.json:8
x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26
x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27
x-pack/platform/plugins/shared/fleet/tsconfig.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.json:22
x-pack/platform/plugins/shared/fleet/tsconfig.json:26
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96
x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99
```

</details>

---------

Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-24 15:32:43 +01:00
Devon Thomson
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>
2024-12-23 12:32:11 -06:00
Gerard Soldevila
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>
2024-12-19 16:20:53 -06:00
Gerard Soldevila
bb1b5afb03
Sustainable Kibana Architecture: Move modules owned by @elastic/security-detection-engine (#202844)
## 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/lists-plugin` | `x-pack/solutions/security/plugins/lists` |




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/securitysolution-autocomplete` |
`x-pack/solutions/security/packages/kbn-securitysolution-autocomplete` |
| `@kbn/securitysolution-endpoint-exceptions-common` |
`x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common`
|
| `@kbn/securitysolution-es-utils` |
`src/platform/packages/shared/kbn-securitysolution-es-utils` |
| `@kbn/securitysolution-exception-list-components` |
`x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components`
|
| `@kbn/securitysolution-exceptions-common` |
`x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common`
|
| `@kbn/securitysolution-hook-utils` |
`x-pack/solutions/security/packages/kbn-securitysolution-hook-utils` |
| `@kbn/securitysolution-io-ts-alerting-types` |
`x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types`
|
| `@kbn/securitysolution-io-ts-list-types` |
`x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types`
|
| `@kbn/securitysolution-io-ts-types` |
`src/platform/packages/shared/kbn-securitysolution-io-ts-types` |
| `@kbn/securitysolution-io-ts-utils` |
`src/platform/packages/shared/kbn-securitysolution-io-ts-utils` |
| `@kbn/securitysolution-list-api` |
`x-pack/solutions/security/packages/kbn-securitysolution-list-api` |
| `@kbn/securitysolution-list-constants` |
`x-pack/solutions/security/packages/kbn-securitysolution-list-constants`
|
| `@kbn/securitysolution-list-hooks` |
`x-pack/solutions/security/packages/kbn-securitysolution-list-hooks` |
| `@kbn/securitysolution-list-utils` |
`x-pack/solutions/security/packages/kbn-securitysolution-list-utils` |
| `@kbn/securitysolution-lists-common` |
`x-pack/solutions/security/packages/kbn-securitysolution-lists-common` |
| `@kbn/securitysolution-rules` |
`src/platform/packages/shared/kbn-securitysolution-rules` |
| `@kbn/securitysolution-t-grid` |
`x-pack/solutions/security/packages/kbn-securitysolution-t-grid` |
| `@kbn/securitysolution-utils` |
`x-pack/solutions/security/packages/kbn-securitysolution-utils` |


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

```
./.buildkite/scripts/steps/code_generation/security_solution_codegen.sh
./.buildkite/scripts/steps/openapi_bundling/security_solution_openapi_bundling.sh
./.eslintrc.js
./.github/codeql/codeql-config.yml
./.i18nrc.json
./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-securitysolution-list-hooks/src/use_persist_exception_item/index.ts
./packages/kbn-synthetic-package-map/synthetic-packages.json
./packages/kbn-ts-projects/config-paths.json
./src/dev/storybook/aliases.ts
./src/platform/packages/shared/kbn-securitysolution-es-utils/jest.config.js
./src/platform/packages/shared/kbn-securitysolution-io-ts-types/jest.config.js
./src/platform/packages/shared/kbn-securitysolution-io-ts-utils/jest.config.js
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/.i18nrc.json
./x-pack/build/plugin/kibana/x-pack/.i18nrc.json
./x-pack/plugins/alerting/tsconfig.type_check.json
./x-pack/plugins/cases/tsconfig.type_check.json
./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json
./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json
./x-pack/plugins/observability_solution/synthetics/tsconfig.type_check.json
./x-pack/plugins/observability_solution/uptime/tsconfig.type_check.json
./x-pack/plugins/osquery/tsconfig.type_check.json
./x-pack/plugins/rule_registry/tsconfig.type_check.json
./x-pack/plugins/stack_connectors/tsconfig.type_check.json
./x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json
./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/jest.config.js
./x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/jest.config.js
./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/scripts/openapi_generate.js
./x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/jest.config.js
./x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/jest.config.js
./x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/jest.config.js
./x-pack/solutions/security/packages/kbn-securitysolution-list-api/jest.config.js
./x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/jest.config.js
./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/jest.config.js
./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/scripts/openapi_generate.js
./x-pack/solutions/security/packages/kbn-securitysolution-utils/jest.config.js
./x-pack/solutions/security/packages/security-solution/features/tsconfig.type_check.json
./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.type_check.json
./x-pack/solutions/security/plugins/lists/README.md
./x-pack/solutions/security/plugins/lists/jest.config.js
./x-pack/solutions/security/plugins/lists/public/exceptions/components/builder/helpers.test.ts
./x-pack/solutions/security/plugins/lists/public/exceptions/hooks/persist_exception_item.test.ts
./x-pack/solutions/security/plugins/lists/public/exceptions/hooks/persist_exception_list.test.ts
./x-pack/solutions/security/plugins/lists/public/exceptions/hooks/use_api.test.ts
./x-pack/solutions/security/plugins/lists/public/exceptions/hooks/use_exception_lists.test.ts
./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_create_list_index.test.ts
./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_delete_list.test.ts
./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_export_list.test.ts
./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_import_list.test.ts
./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_read_list_index.test.ts
./x-pack/solutions/security/plugins/lists/tsconfig.type_check.json
./x-pack/solutions/security/plugins/security_solution/docs/openapi/README.md
./x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/README.md
./x-pack/solutions/security/plugins/threat_intelligence/tsconfig.type_check.json
./x-pack/solutions/security/plugins/timelines/tsconfig.type_check.json
./x-pack/test/security_solution_api_integration/tsconfig.type_check.json
./x-pack/test/security_solution_cypress/cypress/tsconfig.type_check.json
./x-pack/test/security_solution_endpoint/tsconfig.type_check.json
./x-pack/test/tsconfig.type_check.json
./yarn.lock
.github/CODEOWNERS
```

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

```
src/platform/packages/shared/kbn-securitysolution-es-utils/jest.config.js:12
src/platform/packages/shared/kbn-securitysolution-es-utils/tsconfig.json:2
src/platform/packages/shared/kbn-securitysolution-es-utils/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-securitysolution-io-ts-types/jest.config.js:12
src/platform/packages/shared/kbn-securitysolution-io-ts-types/tsconfig.json:2
src/platform/packages/shared/kbn-securitysolution-io-ts-types/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-securitysolution-io-ts-utils/jest.config.js:12
src/platform/packages/shared/kbn-securitysolution-io-ts-utils/tsconfig.json:2
src/platform/packages/shared/kbn-securitysolution-io-ts-utils/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-securitysolution-rules/tsconfig.json:2
src/platform/packages/shared/kbn-securitysolution-rules/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/field_value_lists/index.test.tsx:28
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/field_value_match/index.tsx:25
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/field_value_match_any/index.tsx:17
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/field_value_wildcard/index.tsx:19
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts:16
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/list_schema/index.mock.ts:17
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/list_schema/index.mock.ts:44
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:26
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:27
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:33
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:39
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:45
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:22
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:24
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:26
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:28
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:30
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:32
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:35
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:38
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:40
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:60
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:61
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:67
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:73
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:79
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:85
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:19
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:25
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:39
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:40
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:46
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:52
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:102
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:108
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:113
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:41
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:83
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:84
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:90
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:96
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/model/endpoint_list_common.schema.yaml:11
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/model/endpoint_list_common.schema.yaml:16
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:19
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:25
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:41
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:42
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:48
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:54
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:60
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:66
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:22
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:25
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:28
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:30
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:32
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:34
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:36
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:39
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:41
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:43
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:65
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:66
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:72
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:78
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:84
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:90
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/scripts/openapi_bundle.js:10
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/scripts/openapi_generate.js:10
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/tsconfig.json:7
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/tsconfig.type_check.json:14
x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:62
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:63
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:69
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:75
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:81
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:87
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:106
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:72
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:73
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:79
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:85
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:91
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:97
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:48
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:61
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:67
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:72
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:78
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:43
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:44
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:50
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:56
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:62
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:68
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:45
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:46
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:52
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:70
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:45
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:46
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:52
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:70
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:46
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:47
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:53
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:59
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:65
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:71
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:54
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:61
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:67
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:73
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:79
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:110
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:111
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:117
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:123
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:129
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:135
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:140
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:68
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:103
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:109
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:115
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:96
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:97
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:102
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:108
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:114
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:95
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:96
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:10
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:125
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:128
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:13
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:135
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:147
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:165
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:167
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:172
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:177
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:281
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:104
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:122
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:124
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:20
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:22
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:38
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:42
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:59
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:66
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:83
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:45
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:46
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:52
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:70
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:45
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:46
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:52
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:70
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:65
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:71
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:77
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:83
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:89
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:62
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:63
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:69
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:75
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:81
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:87
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:107
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:109
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:73
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:74
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:80
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:86
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:92
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:98
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/scripts/openapi_bundle.js:10
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/scripts/openapi_generate.js:10
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/tsconfig.json:7
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/tsconfig.type_check.json:14
x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-list-api/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-list-api/src/types.ts:20
x-pack/solutions/security/packages/kbn-securitysolution-list-api/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-list-api/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-list-constants/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-list-constants/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-list-utils/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-list-utils/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-list-utils/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:56
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:57
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:63
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:69
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:75
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:81
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:30
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:31
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:37
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:43
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:57
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:70
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:76
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:82
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:48
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:61
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:67
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:73
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:30
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:31
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:37
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:43
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:57
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:70
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:76
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:82
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:35
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:36
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:42
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:48
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:54
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:60
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:104
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:110
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:116
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:121
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:37
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:97
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:98
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:104
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:110
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:115
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:31
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:91
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:92
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:98
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:101
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:76
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:77
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:83
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:89
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:95
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:39
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:42
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:52
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:9
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:50
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:56
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:62
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:68
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:74
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:51
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:52
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:64
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:70
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:76
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:33
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:34
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:40
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:46
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:52
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:58
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:32
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:33
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:39
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:45
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:51
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:57
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:50
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:56
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:62
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:68
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:74
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:36
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:37
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:43
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:54
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:61
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:67
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:73
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:79
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:48
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:49
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:55
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:61
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:67
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:73
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/scripts/openapi_bundle.js:10
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/scripts/openapi_generate.js:10
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/tsconfig.json:7
x-pack/solutions/security/packages/kbn-securitysolution-lists-common/tsconfig.type_check.json:14
x-pack/solutions/security/packages/kbn-securitysolution-t-grid/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-t-grid/tsconfig.type_check.json:2
x-pack/solutions/security/packages/kbn-securitysolution-utils/jest.config.js:12
x-pack/solutions/security/packages/kbn-securitysolution-utils/tsconfig.json:2
x-pack/solutions/security/packages/kbn-securitysolution-utils/tsconfig.type_check.json:2
x-pack/solutions/security/plugins/lists/jest.config.js:13
x-pack/solutions/security/plugins/lists/tsconfig.json:2
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:100
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:103
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:106
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:109
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:112
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:19
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:2
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:28
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:31
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:34
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:37
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:40
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:43
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:46
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:49
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:52
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:55
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:58
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:61
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:64
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:67
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:70
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:73
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:76
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:79
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:82
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:85
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:88
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:91
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:94
x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:97
```

</details>

---------

Co-authored-by: Marshall Main <marshall.main@elastic.co>
2024-12-17 22:34:46 +01:00
Felix Stürmer
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>
2024-12-17 11:48:35 +01:00
Gerard Soldevila
da25d13a2a
Sustainable Kibana Architecture: Move modules owned by @elastic/security-solution (#202851) 2024-12-16 22:55:27 -06:00
Gerard Soldevila
f508ad2bf6
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-cloud-security-posture (#202862) 2024-12-16 12:56:03 -05:00
Shahzad
984a059e67
Relocating module @kbn/slo-plugin (#204265)
## Summary

PR has been generated with script `node scripts/relocate --team
"@elastic/obs-ux-management-team"`

Relocating module `@kbn/slo-plugin`

We are facing emotion issues that we need to fix !!

We need to figure out why app is broken after relocating with following
error


![image](https://github.com/user-attachments/assets/0e9de89c-7044-4099-bb05-c5ebf21f77c4)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kevin Delemme <kevin.delemme@elastic.co>
2024-12-16 17:35:31 +01:00
Eyo O. Eyo
7370cc712e
ES Lint rules for css-in-js declarations within Kibana (#200703)
## Summary

Closes https://github.com/elastic/kibana-team/issues/1272

This PR adds implementation for eslint rules to help facilitate the
migration away from SASS files to leveraging the design tokens EUI
provides for styling.

The introduced rules  in this PR are as follows;

- #### No CSS Color values
  Consider; 

  ```tsx
  <EuiCode style={{ color: '#dd4040' }}>Hello World!</EuiCode>
  ```

this expression because it specifies the css color property, with a
valid [CSS color
value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value),
when the aforementioned rule is enabled depending on the set report
level set the user would get a feedback, see screenshot below;


<img width="735" alt="Screenshot 2024-11-20 at 12 46 17"
src="https://github.com/user-attachments/assets/d2f608dc-782c-4d83-88e6-92dfdd8f6101">

This rule also works for variables defined elsewhere in the code and
referenced as a value to the style prop, see screenshot below;

<img width="1658" alt="Screenshot 2024-11-26 at 13 29 45"
src="https://github.com/user-attachments/assets/f8aadf6b-318b-4c6a-b7c9-bb44fb867b58">

feedback will also be provided when some variable that is a literal
value is specified as a value for any earmarked property that should not
specify literal values.

<img width="1730" alt="Screenshot 2024-11-28 at 19 00 08"
src="https://github.com/user-attachments/assets/bc3a8674-9469-4c7a-b0c9-7a2bfa7f08dc">

feedback will be provided for referencing a member prop of some object
defined elsewhere as a value to any earmarked property that we have
deemed to not specify literal values

<img width="1676" alt="Screenshot 2024-11-29 at 11 36 44"
src="https://github.com/user-attachments/assets/c4537fbf-b2d8-46bb-ad5f-8582e8c9a932">

	Supports;
	- object values
	- object references
	- template literals
	- tagged templates 

This approach does not penalize variable declarations, only the usages
of any said variable when it doesn't conform to expectation

- #### Prefer CSS attributes for EUI components (optional)
  Consider; 

  ```tsx
<EuiCode style={{ someCSSProperty: 'propertyValue' }}>Hello
World!</EuiCode>
  ```
A declaration like the one above, will be regarded as an error and can
be fixed, when it's fixed it will be re-written as
  
  ```tsx
<EuiCode css={{ someCSSProperty: 'propertyValue' }}>Hello
World!</EuiCode>
  ```

	
<!--

### 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_node:*` 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: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-12-16 15:56:52 +00:00
Gerard Soldevila
f144078712
Sustainable Kibana Architecture: Move modules owned by @elastic/security-threat-hunting-explore (#202852)
## 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/ecs-data-quality-dashboard-plugin` |
`x-pack/solutions/security/plugins/ecs_data_quality_dashboard` |




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/cell-actions` | `src/platform/packages/shared/kbn-cell-actions`
|
| `@kbn/ecs-data-quality-dashboard` |
`x-pack/solutions/security/packages/ecs_data_quality_dashboard` |
| `@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-storybook-config` |
`x-pack/solutions/security/packages/storybook/config` |
| `@kbn/security-solution-upselling` |
`x-pack/solutions/security/packages/upselling` |
| `@kbn/securitysolution-ecs` |
`src/platform/packages/shared/kbn-securitysolution-ecs` |


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

```
./.eslintrc.js
./.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/packages/shared/kbn-cell-actions/jest.config.js
./src/platform/packages/shared/kbn-securitysolution-ecs/jest.config.js
./tsconfig.base.json
./x-pack/.i18nrc.json
./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/jest.config.js
./yarn.lock
```

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

```
src/platform/packages/shared/kbn-cell-actions/jest.config.js:12
src/platform/packages/shared/kbn-cell-actions/tsconfig.json:2
src/platform/packages/shared/kbn-securitysolution-ecs/jest.config.js:12
src/platform/packages/shared/kbn-securitysolution-ecs/tsconfig.json:2
x-pack/solutions/security/plugins/ecs_data_quality_dashboard/jest.config.js:15
x-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.json:12
x-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.json:2
```

</details>

---------

Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co>
2024-12-13 12:46:30 -06:00
Matthew Kime
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>
2024-12-13 12:29:30 -06:00
Gerard Soldevila
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>
2024-12-13 09:39:24 -06:00
Gerard Soldevila
14fba45052
Fix incorrect paths in eslintrc.js (#204200)
## Summary

They were already wrong [before the
relocation](https://github.com/elastic/kibana/pull/183149/files#diff-e2954b558f2aa82baff0e30964490d12942e0e251c1aa56c3294de6ec67b7cf5):

`x-pack/packages/kbn-data-stream-adapter` // was never under x-pack

I use the opportunity to sort them alphabetically.

cc @semd

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-13 15:25:18 +01:00
Gerard Soldevila
42af4e60a4
Sustainable Kibana Architecture: Move modules owned by @elastic/security-defend-workflows (#202840) 2024-12-13 12:08:36 +01:00
Gerard Soldevila
6bf5e68e06
Sustainable Kibana Architecture: Move modules owned by @elastic/security-scalability (#202849)
## 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.




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/integration-assistant-plugin` |
`x-pack/platform/plugins/shared/integration_assistant` |


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

```
./.eslintrc.js
./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/plugins/shared/integration_assistant/README.md
./x-pack/platform/plugins/shared/integration_assistant/jest.config.js
./x-pack/platform/plugins/shared/integration_assistant/server/config.ts
./yarn.lock
```
</details>
<details>
<summary>Updated relative paths</summary>

```
x-pack/platform/plugins/shared/integration_assistant/jest.config.js:10
x-pack/platform/plugins/shared/integration_assistant/scripts/draw_graphs.js:8
x-pack/platform/plugins/shared/integration_assistant/tsconfig.json:13
x-pack/platform/plugins/shared/integration_assistant/tsconfig.json:2
```
</details>
<details>
<summary>Script errors</summary>

```

```
</details>

---------

Co-authored-by: Eric Beahan <eric.beahan@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-13 11:24:39 +01:00
Gerard Soldevila
a9f076cb1f
Sustainable Kibana Architecture: Move modules owned by @elastic/security-threat-hunting (#203046)
## 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.

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

| Id | Target folder |
| -- | ------------- |
| `@kbn/data-stream-adapter` |
`x-pack/solutions/security/packages/kbn-data-stream-adapter` |
| `@kbn/index-adapter` |
`x-pack/solutions/security/packages/kbn-index-adapter` |

---------

Co-authored-by: PhilippeOberti <philippe.oberti@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-12 22:29:21 -06:00
Gerard Soldevila
33c18c72fa
Sustainable Kibana Architecture: Move modules owned by @elastic/security-threat-hunting-investigations (#202855)
## 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.

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

| Id | Target folder |
| -- | ------------- |
| `@kbn/threat-intelligence-plugin` |
`x-pack/solutions/security/plugins/threat_intelligence` |
| `@kbn/timelines-plugin` |
`x-pack/solutions/security/plugins/timelines` |

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

| Id | Target folder |
| -- | ------------- |
| `@kbn/expandable-flyout` |
`x-pack/solutions/security/packages/kbn-expandable-flyout` |
| `@kbn/securitysolution-data-table` |
`x-pack/solutions/security/packages/data_table` |

Co-authored-by: PhilippeOberti <philippe.oberti@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-12 16:22:03 -06:00
Gerard Soldevila
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>
2024-12-12 14:28:21 -06:00
Gerard Soldevila
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>
2024-12-12 12:18:10 +01:00
Dario Gieselaar
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>
2024-12-11 12:35:01 +01:00
Gerard Soldevila
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>
2024-12-09 17:36:25 +01:00
Gerard Soldevila
313f973aec
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-esql (#202722)
## 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.




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

| Id | Target folder |
| -- | ------------- |
| `@kbn/esql` | `src/platform/plugins/shared/esql` |
| `@kbn/esql-datagrid` | `src/platform/plugins/shared/esql_datagrid` |


#### 5 package(s) are going to be relocated:

  | Id | Target folder |
  | -- | ------------- |
  | `@kbn/esql-ast` | `src/platform/packages/shared/kbn-esql-ast` |
| `@kbn/esql-editor` | `src/platform/packages/private/kbn-esql-editor` |
| `@kbn/esql-utils` | `src/platform/packages/shared/kbn-esql-utils` |
| `@kbn/esql-validation-autocomplete` |
`src/platform/packages/shared/kbn-esql-validation-autocomplete` |
| `@kbn/language-documentation` |
`src/platform/packages/private/kbn-language-documentation` |


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

```
./.buildkite/scripts/steps/esql_generate_function_metadata.sh
./.buildkite/scripts/steps/esql_grammar_sync.sh
./.eslintignore
./.eslintrc.js
./.i18nrc.json
./docs/developer/plugin-list.asciidoc
./examples/esql_ast_inspector/public/plugin.ts
./examples/esql_validation_example/public/plugin.ts
./package.json
./packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts
./packages/kbn-monaco/BUILD.bazel
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./packages/kbn-ui-shared-deps-src/BUILD.bazel
./src/dev/storybook/aliases.ts
./src/platform/packages/private/kbn-esql-editor/jest.config.js
./src/platform/packages/private/kbn-language-documentation/jest.config.js
./src/platform/packages/private/kbn-language-documentation/package.json
./src/platform/packages/shared/kbn-esql-ast/jest.config.js
./src/platform/packages/shared/kbn-esql-utils/jest.config.js
./src/platform/packages/shared/kbn-esql-validation-autocomplete/README.md
./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js
./src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js
./src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json
./src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/helper.ts
./src/platform/plugins/shared/esql/jest.config.js
./src/platform/plugins/shared/esql_datagrid/jest.config.js
./tsconfig.base.json
./yarn.lock
```
</details>
<details>
<summary>Updated relative paths</summary>

```
src/platform/packages/private/kbn-esql-editor/jest.config.js:12
src/platform/packages/private/kbn-esql-editor/tsconfig.json:2
src/platform/packages/private/kbn-language-documentation/jest.config.js:12
src/platform/packages/private/kbn-language-documentation/package.json:12
src/platform/packages/private/kbn-language-documentation/tsconfig.json:2
src/platform/packages/shared/kbn-esql-ast/jest.config.js:12
src/platform/packages/shared/kbn-esql-ast/tsconfig.json:2
src/platform/packages/shared/kbn-esql-utils/jest.config.js:12
src/platform/packages/shared/kbn-esql-utils/tsconfig.json:2
src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.config.js:12
src/platform/packages/shared/kbn-esql-validation-autocomplete/jest.integration.config.js:12
src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:10
src/platform/packages/shared/kbn-esql-validation-autocomplete/package.json:11
src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts:389
src/platform/packages/shared/kbn-esql-validation-autocomplete/tsconfig.json:2
src/platform/plugins/shared/esql/jest.config.js:12
src/platform/plugins/shared/esql/tsconfig.json:2
src/platform/plugins/shared/esql/tsconfig.json:7
src/platform/plugins/shared/esql_datagrid/jest.config.js:12
src/platform/plugins/shared/esql_datagrid/tsconfig.json:2
src/platform/plugins/shared/esql_datagrid/tsconfig.json:7
```
</details>
<details>
<summary>Script errors</summary>

```

```
</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2024-12-09 11:33:55 +01:00
Elena Shostak
976b94ffa5
Dependency Ownership CLI (#201773)
## Summary

1. Show all packages owned by a specific team
```
node scripts/dependency_ownership -o <owner>
```
2. Identify owners of a specific dependency
```
node scripts/dependency_ownership -d <dependency>
```

3. List dependencies without an owner
```
node scripts/dependency_ownership --missing-owner
```

4. Generate a full dependency ownership report
```
node scripts/dependency_ownership
```

### 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
- [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)


__Closes: https://github.com/elastic/kibana/issues/196767__

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-29 17:18:36 +01:00
Dario Gieselaar
63da7701e7
[Streams] App plugin (#200060)
Creates the Streams app plugin, which renders UI for managing streams
(see https://github.com/elastic/kibana/pull/198713).

Additional changes in this PR:

- The menus were updated to conditionally add a link to the Streams app.
The Streams plugin itself returns a status$ observable which signals if
Streams have been enabled. This value is used to conditionally render
the link in the various flavors of menus.
- There's a small change in the ES types to allow for ordered params in
ES|QL (vs named params)
- `@kbn/server-route-repository` was updated to be able to override
`access` (instead of only inferring it from the endpoint name).
Additionally, we now allow all route options by default.
- `@kbn/typed-react-router-config` now also exports a `useBreadcrumbs`.
This was copied over from the APM implementation.
- the signature of the `esql` method in
`ObservabilityElasticsearchClient` was updated to separate processing
options from options that are sent over to the _query endpoint.

---------

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>
2024-11-25 14:51:24 +01:00
Elena Shostak
34bf83b54f
Dependency usage CLI (#198920)
## Summary


[dependency-cruiser](https://github.com/sverweij/dependency-cruiser/tree/main)
is used for building dependency graph.

### Show all dependencies for a specific package/plugin or directory

#### Run for all plugins
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins -o ./tmp/deps-result-all.json
```

#### Run for single plugin
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -o ./tmp/deps-result-single.json
```

#### Run for multiple plugins
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution x-pack/plugins/security -o ./tmp/deps-result-multiple.json
```

#### Run for `x-pack/packages`
```bash
bash scripts/dependency_usage.sh -p x-pack/packages -o ./tmp/deps-packages-1.json
```

#### Run for `packages`
```bash
bash scripts/dependency_usage.sh -p packages -o ./tmp/deps-packages-2.json
```

#### Benchmark

| Analysis              | Real Time   | User Time   | Sys Time   |
|-----------------------|-------------|-------------|------------|
| All plugins           | 7m 21.126s  | 7m 53.099s  | 20.581s    |
| Single plugin         | 31.360s     | 45.352s     | 2.208s     |
| Multiple plugins      | 36.403s     | 50.563s     | 2.814s     |
| x-pack/packages       | 6.638s      | 12.646s     | 0.654s     |
| packages              | 25.744s     | 39.073s     | 2.191s     |


#### Show all packages/plugins within a directory that use a specific
dependency

```sh
bash scripts/dependency_usage.sh -d rxjs -p x-pack/plugins/security_solution
```
---
#### Show all packages/plugins within a directory grouped by code owner
```sh
bash scripts/dependency_usage.sh -d rxjs -p x-pack/plugins -g owner
```
---

#### Group by code owner with adjustable collapse depth for fine-grained
grouping
**Fine-grained grouping**:
```sh
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -g owner --collapse-depth 4
```
**Collapsed grouping**: groups the results under a higher-level owner
(e.g., `security_solution` as a single group).
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -g owner --collapse-depth 1
```
---

#### Show all dependencies matching a pattern (e.g., `react-*`) within a
package
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -d 'react-*' -o ./tmp/result.json
```

### 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

__Related: https://github.com/elastic/kibana/issues/196767__

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-25 14:07:40 +01:00