Commit graph

5 commits

Author SHA1 Message Date
Kibana Machine
cc35bc14b0
[8.x] [CI] Only emit .d.ts when running typecheck (#209259) (#214943)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[CI] Only emit .d.ts when running typecheck
(#209259)](https://github.com/elastic/kibana/pull/209259)

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

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-03-18T10:48:14Z","message":"[CI]
Only emit .d.ts when running typecheck (#209259)\n\n## Summary\nStop
emitting any `.js` files during typechecking. We only depend on
the\ndeclarations, not the emitted, compiled javascript files.\n\nAn
added benefit, is making some bad import errors more obvious. \nWe'll no
longer try to build javascript files in place if a poor\nimport/require
is made, rather the error of importing outside projects\n(in the forest
of a bunch of errors possibly) will be visible in the\ntypescript
logs:\n```\n# instead of:\nproc [tsc] error TS5055: Cannot write file
'/opt/buildkite-agent/builds/bk-agent-prod-gcp-1741789017236110254/elastic/kibana-pull-request/kibana/src/platform/packages/shared/kbn-babel-register/cache/no_cache_cache.js'
because it would overwrite input file.\n\n# we'll see:\n... several
others like this\n proc [tsc]
src/platform/packages/shared/kbn-grok-ui/scripts/generate_patterns.js:10:9
- error TS6307: File
'/Users/alex/Git/elastic-kibana/src/setup_node_env/index.js' is not
listed within the file list of project
'/Users/alex/Git/elastic-kibana/src/platform/packages/shared/kbn-grok-ui/tsconfig.type_check.json'.
Projects must list all files or use an 'include' pattern.\n proc [tsc]
\n proc [tsc] 10 require('../../../../../setup_node_env');\n... several
others like
this\n```","sha":"702c9c49dcbc9036af80ba5473c961cf96573030","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v9.1.0"],"title":"[CI]
Only emit .d.ts when running
typecheck","number":209259,"url":"https://github.com/elastic/kibana/pull/209259","mergeCommit":{"message":"[CI]
Only emit .d.ts when running typecheck (#209259)\n\n## Summary\nStop
emitting any `.js` files during typechecking. We only depend on
the\ndeclarations, not the emitted, compiled javascript files.\n\nAn
added benefit, is making some bad import errors more obvious. \nWe'll no
longer try to build javascript files in place if a poor\nimport/require
is made, rather the error of importing outside projects\n(in the forest
of a bunch of errors possibly) will be visible in the\ntypescript
logs:\n```\n# instead of:\nproc [tsc] error TS5055: Cannot write file
'/opt/buildkite-agent/builds/bk-agent-prod-gcp-1741789017236110254/elastic/kibana-pull-request/kibana/src/platform/packages/shared/kbn-babel-register/cache/no_cache_cache.js'
because it would overwrite input file.\n\n# we'll see:\n... several
others like this\n proc [tsc]
src/platform/packages/shared/kbn-grok-ui/scripts/generate_patterns.js:10:9
- error TS6307: File
'/Users/alex/Git/elastic-kibana/src/setup_node_env/index.js' is not
listed within the file list of project
'/Users/alex/Git/elastic-kibana/src/platform/packages/shared/kbn-grok-ui/tsconfig.type_check.json'.
Projects must list all files or use an 'include' pattern.\n proc [tsc]
\n proc [tsc] 10 require('../../../../../setup_node_env');\n... several
others like
this\n```","sha":"702c9c49dcbc9036af80ba5473c961cf96573030"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209259","number":209259,"mergeCommit":{"message":"[CI]
Only emit .d.ts when running typecheck (#209259)\n\n## Summary\nStop
emitting any `.js` files during typechecking. We only depend on
the\ndeclarations, not the emitted, compiled javascript files.\n\nAn
added benefit, is making some bad import errors more obvious. \nWe'll no
longer try to build javascript files in place if a poor\nimport/require
is made, rather the error of importing outside projects\n(in the forest
of a bunch of errors possibly) will be visible in the\ntypescript
logs:\n```\n# instead of:\nproc [tsc] error TS5055: Cannot write file
'/opt/buildkite-agent/builds/bk-agent-prod-gcp-1741789017236110254/elastic/kibana-pull-request/kibana/src/platform/packages/shared/kbn-babel-register/cache/no_cache_cache.js'
because it would overwrite input file.\n\n# we'll see:\n... several
others like this\n proc [tsc]
src/platform/packages/shared/kbn-grok-ui/scripts/generate_patterns.js:10:9
- error TS6307: File
'/Users/alex/Git/elastic-kibana/src/setup_node_env/index.js' is not
listed within the file list of project
'/Users/alex/Git/elastic-kibana/src/platform/packages/shared/kbn-grok-ui/tsconfig.type_check.json'.
Projects must list all files or use an 'include' pattern.\n proc [tsc]
\n proc [tsc] 10 require('../../../../../setup_node_env');\n... several
others like
this\n```","sha":"702c9c49dcbc9036af80ba5473c961cf96573030"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2025-03-18 15:05:07 +02:00
Gerard Soldevila
5acb5506ac
[8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474)
# Backport

This will backport the following commits from `main` to `8.x`:
- [SKA: Relocate "platform" packages that remain on `/packages`
(#208704)](https://github.com/elastic/kibana/pull/208704)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-24T11:03:30Z","message":"SKA:
Relocate \"platform\" packages that remain on `/packages`
(#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the
Kibana repository used to\ncontain a lot of packages.\nIn the context of
SKA, they have been gradually moved to various\nlocations:\n*
`src/platform/packages`\n* `x-pack/platform/packages`\n*
`src/core/packages`\n\nCurrently, only `devOnly: true` packages are left
in this folder. This\ncomprises libraries for CLI scripts as well as
testing utilities.\n\nWith this PR, we are moving ~half of these
packages under\n`src/platform/packages/(private|shared)/`.\nIn
particular, we are moving those packages that are being used
from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`,
this means they are ONLY used from\ntests, cypress tests, storybook
configs, ./scripts/ folders inside some\nmodules, or other non-prod-time
logic. Nonetheless, they are effectively\nreferenced from platform
and/or solutions code, hence I decided they\nshould be placed under
`platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-infra_services","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Relocate \"platform\" packages that remain on
`/packages`","number":208704,"url":"https://github.com/elastic/kibana/pull/208704","mergeCommit":{"message":"SKA:
Relocate \"platform\" packages that remain on `/packages`
(#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the
Kibana repository used to\ncontain a lot of packages.\nIn the context of
SKA, they have been gradually moved to various\nlocations:\n*
`src/platform/packages`\n* `x-pack/platform/packages`\n*
`src/core/packages`\n\nCurrently, only `devOnly: true` packages are left
in this folder. This\ncomprises libraries for CLI scripts as well as
testing utilities.\n\nWith this PR, we are moving ~half of these
packages under\n`src/platform/packages/(private|shared)/`.\nIn
particular, we are moving those packages that are being used
from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`,
this means they are ONLY used from\ntests, cypress tests, storybook
configs, ./scripts/ folders inside some\nmodules, or other non-prod-time
logic. Nonetheless, they are effectively\nreferenced from platform
and/or solutions code, hence I decided they\nshould be placed under
`platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212224","number":212224,"state":"OPEN"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208704","number":208704,"mergeCommit":{"message":"SKA:
Relocate \"platform\" packages that remain on `/packages`
(#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the
Kibana repository used to\ncontain a lot of packages.\nIn the context of
SKA, they have been gradually moved to various\nlocations:\n*
`src/platform/packages`\n* `x-pack/platform/packages`\n*
`src/core/packages`\n\nCurrently, only `devOnly: true` packages are left
in this folder. This\ncomprises libraries for CLI scripts as well as
testing utilities.\n\nWith this PR, we are moving ~half of these
packages under\n`src/platform/packages/(private|shared)/`.\nIn
particular, we are moving those packages that are being used
from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`,
this means they are ONLY used from\ntests, cypress tests, storybook
configs, ./scripts/ folders inside some\nmodules, or other non-prod-time
logic. Nonetheless, they are effectively\nreferenced from platform
and/or solutions code, hence I decided they\nshould be placed under
`platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-28 10:12:01 +00:00
Michael Dokolin
8f66e213cf
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-security (#202748) (#205569)
# Backport

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

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

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

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

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2025-01-06 16:48:09 +03:00
Gerard Soldevila
9ecc8186dd
[8.x] SKA: Relocate modules owned by @elastic/security-solution (#204523)
## Summary

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

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

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

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

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

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




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

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


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

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

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

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

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

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

</details>

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-17 20:13:10 +01:00
Elena Shostak
09ab870c89
[Backport] Dependency Usage CLI (#201815)
## Summary

Backport of https://github.com/elastic/kibana/pull/198920
2024-11-26 21:48:26 +01:00