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>
This commit is contained in:
Gerard Soldevila 2025-01-05 12:57:01 +01:00 committed by GitHub
parent eba13abe65
commit ca5a08db00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1493 changed files with 749 additions and 406 deletions

View file

@ -51,7 +51,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/base.yml', false));
if (await doAnyChangesMatch([/^packages\/kbn-handlebars/])) {
if (await doAnyChangesMatch([/^src\/platform\/packages\/private\/kbn-handlebars/])) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/kbn_handlebars.yml'));
}
@ -236,7 +236,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^packages\/kbn-securitysolution-.*/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution/,
/^x-pack\/test\/defend_workflows_cypress/,
/^x-pack\/test\/security_solution_cypress/,
/^fleet_packages\.json/,
@ -256,9 +256,9 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/platform\/plugins\/shared\/data_views\/common/,
/^x-pack\/solutions\/security\/plugins\/lists/,
/^x-pack\/platform\/plugins\/shared\/rule_registry\/common/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution_ess/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution_serverless/,
/^x-pack\/platform\/plugins\/shared\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/,
@ -306,7 +306,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^src\/platform\/packages\/shared\/kbn-resizable-layout/,
/^src\/platform\/packages\/shared\/kbn-rison/,
/^src\/platform\/packages\/shared\/kbn-rule-data-utils/,
/^packages\/kbn-safer-lodash-set/,
/^src\/platform\/packages\/shared\/kbn-safer-lodash-set/,
/^src\/platform\/packages\/shared\/kbn-search-types/,
/^packages\/kbn-securitysolution-.*/,
/^src\/platform\/packages\/shared\/kbn-securitysolution-ecs/,
@ -341,9 +341,9 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
/^x-pack\/solutions\/security\/plugins\/lists/,
/^x-pack\/platform\/plugins\/shared\/rule_registry\/common/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution_ess/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution_serverless/,
/^x-pack\/platform\/plugins\/shared\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/threat_intelligence/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
@ -363,7 +363,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
((await doAnyChangesMatch([
/^x-pack\/platform\/plugins\/shared\/osquery/,
/^x-pack\/test\/osquery_cypress/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')) &&
!GITHUB_PR_LABELS.includes('ci:skip-cypress-osquery')
@ -377,7 +377,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
(await doAnyChangesMatch([
/^x-pack\/packages\/kbn-cloud-security-posture/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/cloud_security_posture/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/platform\/plugins\/shared\/security_solution/,
/^x-pack\/test\/security_solution_cypress/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')

View file

@ -5,4 +5,4 @@ set -euo pipefail
source .buildkite/scripts/common/util.sh
echo '--- Checking for @kbn/handlebars upstream updates'
packages/kbn-handlebars/scripts/check_for_upstream_updates.sh
src/platform/packages/private/kbn-handlebars/scripts/check_for_upstream_updates.sh

View file

@ -84,7 +84,7 @@ const ELV2_LICENSE_HEADER = `
const SAFER_LODASH_SET_HEADER = `
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
* See \`src/platform/packages/shared/kbn-safer-lodash-set/LICENSE\` for more information.
*/
`;
@ -93,7 +93,7 @@ const SAFER_LODASH_SET_LODASH_HEADER = `
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
* See \`src/platform/packages/shared/kbn-safer-lodash-set/LICENSE\` for more information.
*/
`;
@ -102,14 +102,14 @@ const SAFER_LODASH_SET_DEFINITELYTYPED_HEADER = `
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
* See \`src/platform/packages/shared/kbn-safer-lodash-set/LICENSE\` for more information.
*/
`;
const KBN_HANDLEBARS_HEADER = `
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See \`packages/kbn-handlebars/LICENSE\` for more information.
* See \`src/platform/packages/private/kbn-handlebars/LICENSE\` for more information.
*/
`;
@ -118,7 +118,7 @@ const KBN_HANDLEBARS_HANDLEBARS_HEADER = `
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See \`packages/kbn-handlebars/LICENSE\` for more information.
* See \`src/platform/packages/private/kbn-handlebars/LICENSE\` for more information.
*/
`;
@ -441,7 +441,7 @@ module.exports = {
* safer-lodash-set package requires special license headers
*/
{
files: ['packages/kbn-safer-lodash-set/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/packages/shared/kbn-safer-lodash-set/**/*.{js,mjs,ts,tsx}'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -471,7 +471,7 @@ module.exports = {
},
{
files: ['packages/kbn-safer-lodash-set/test/*.{js,mjs,ts,tsx}'],
files: ['src/platform/packages/shared/kbn-safer-lodash-set/test/*.{js,mjs,ts,tsx}'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -500,7 +500,7 @@ module.exports = {
},
},
{
files: ['packages/kbn-safer-lodash-set/**/*.d.ts'],
files: ['src/platform/packages/shared/kbn-safer-lodash-set/**/*.d.ts'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -533,7 +533,7 @@ module.exports = {
* @kbn/handlebars package requires special license headers
*/
{
files: ['packages/kbn-handlebars/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/packages/private/kbn-handlebars/**/*.{js,mjs,ts,tsx}'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -562,7 +562,7 @@ module.exports = {
},
},
{
files: ['packages/kbn-handlebars/src/spec/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/packages/private/kbn-handlebars/src/spec/**/*.{js,mjs,ts,tsx}'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -778,7 +778,7 @@ module.exports = {
* Harden specific rules
*/
{
files: ['test/harden/*.js', 'packages/kbn-safer-lodash-set/test/*.js'],
files: ['test/harden/*.js', 'src/platform/packages/shared/kbn-safer-lodash-set/test/*.js'],
rules: {
'mocha/handle-done-callback': 'off',
},
@ -1854,24 +1854,24 @@ module.exports = {
*/
{
files: [
'src/plugins/interactive_setup/**/*.{js,mjs,ts,tsx}',
'src/platform/plugins/private/interactive_setup/**/*.{js,mjs,ts,tsx}',
'test/interactive_setup_api_integration/**/*.{js,mjs,ts,tsx}',
'test/interactive_setup_functional/**/*.{js,mjs,ts,tsx}',
'packages/kbn-mock-idp-plugin/**/*.{js,mjs,ts,tsx}',
'packages/kbn-mock-idp-utils/**/*.{js,mjs,ts,tsx}',
'packages/kbn-security-hardening/**/*.{js,mjs,ts,tsx}',
'packages/kbn-user-profile-components/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-security-hardening/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-user-profile-components/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/encrypted_saved_objects/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/encrypted_saved_objects/**/*.{js,mjs,ts,tsx}',
'x-pack/test/encrypted_saved_objects_api_integration/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/security/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/security/**/*.{js,mjs,ts,tsx}',
'x-pack/packages/security/**/*.{js,mjs,ts,tsx}',
'x-pack/test/security_api_integration/**/*.{js,mjs,ts,tsx}',
'x-pack/test/security_functional/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/spaces/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/spaces/**/*.{js,mjs,ts,tsx}',
'x-pack/test/spaces_api_integration/**/*.{js,mjs,ts,tsx}',
],
rules: {

104
.github/CODEOWNERS vendored
View file

@ -153,7 +153,6 @@ packages/kbn-ci-stats-shipper-cli @elastic/kibana-operations
packages/kbn-cli-dev-mode @elastic/kibana-operations
packages/kbn-code-owners @elastic/appex-qa
packages/kbn-coloring @elastic/kibana-visualizations
packages/kbn-crypto @elastic/kibana-security
packages/kbn-cypress-config @elastic/kibana-operations
packages/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery
packages/kbn-dependency-ownership @elastic/kibana-security
@ -189,7 +188,6 @@ packages/kbn-generate-csv @elastic/appex-sharedux
packages/kbn-get-repo-files @elastic/kibana-operations
packages/kbn-grid-layout @elastic/kibana-presentation
packages/kbn-guided-onboarding @elastic/appex-sharedux
packages/kbn-handlebars @elastic/kibana-security
packages/kbn-import-locator @elastic/kibana-operations
packages/kbn-import-resolver @elastic/kibana-operations
packages/kbn-interpreter @elastic/kibana-visualizations
@ -244,14 +242,12 @@ packages/kbn-reporting/get_csv_panel_actions @elastic/appex-sharedux
packages/kbn-reporting/mocks_server @elastic/appex-sharedux
packages/kbn-reporting/public @elastic/appex-sharedux
packages/kbn-reporting/server @elastic/appex-sharedux
packages/kbn-safer-lodash-set @elastic/kibana-security
packages/kbn-saved-objects-settings @elastic/appex-sharedux
packages/kbn-saved-search-component @elastic/obs-ux-logs-team
packages/kbn-scout @elastic/appex-qa
packages/kbn-scout-info @elastic/appex-qa
packages/kbn-scout-reporting @elastic/appex-qa
packages/kbn-screenshotting-server @elastic/appex-sharedux
packages/kbn-security-hardening @elastic/kibana-security
packages/kbn-set-map @elastic/kibana-operations
packages/kbn-shared-ux-utility @elastic/appex-sharedux
packages/kbn-some-dev-log @elastic/kibana-operations
@ -272,7 +268,6 @@ packages/kbn-ts-projects @elastic/kibana-operations
packages/kbn-ts-type-check-cli @elastic/kibana-operations
packages/kbn-ui-actions-browser @elastic/appex-sharedux
packages/kbn-use-tracked-promise @elastic/obs-ux-logs-team
packages/kbn-user-profile-components @elastic/kibana-security
packages/kbn-validate-next-docs-cli @elastic/kibana-operations
packages/kbn-visualization-ui-components @elastic/kibana-visualizations
packages/kbn-visualization-utils @elastic/kibana-visualizations
@ -486,6 +481,7 @@ src/platform/packages/private/default-nav/ml @elastic/ml-ui
src/platform/packages/private/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam
src/platform/packages/private/kbn-config-mocks @elastic/kibana-core
src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql
src/platform/packages/private/kbn-handlebars @elastic/kibana-security
src/platform/packages/private/kbn-hapi-mocks @elastic/kibana-core
src/platform/packages/private/kbn-health-gateway-server @elastic/kibana-core
src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql
@ -521,6 +517,7 @@ src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-e
src/platform/packages/shared/kbn-config @elastic/kibana-core
src/platform/packages/shared/kbn-config-schema @elastic/kibana-core
src/platform/packages/shared/kbn-content-management-utils @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-crypto @elastic/kibana-security
src/platform/packages/shared/kbn-crypto-browser @elastic/kibana-core
src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-data-view-utils @elastic/kibana-data-discovery
@ -564,11 +561,13 @@ src/platform/packages/shared/kbn-router-to-openapispec @elastic/kibana-core
src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-rrule @elastic/response-ops
src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team
src/platform/packages/shared/kbn-safer-lodash-set @elastic/kibana-security
src/platform/packages/shared/kbn-search-api-panels @elastic/search-kibana
src/platform/packages/shared/kbn-search-connectors @elastic/search-kibana
src/platform/packages/shared/kbn-search-errors @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-search-response-warnings @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-search-types @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-security-hardening @elastic/kibana-security
src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore
src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine
src/platform/packages/shared/kbn-securitysolution-io-ts-types @elastic/security-detection-engine
@ -592,6 +591,7 @@ src/platform/packages/shared/kbn-unified-data-table @elastic/kibana-data-discove
src/platform/packages/shared/kbn-unified-doc-viewer @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management
src/platform/packages/shared/kbn-user-profile-components @elastic/kibana-security
src/platform/packages/shared/kbn-utility-types @elastic/kibana-core
src/platform/packages/shared/kbn-utility-types-jest @elastic/kibana-operations
src/platform/packages/shared/kbn-utils @elastic/kibana-operations
@ -608,6 +608,7 @@ src/platform/plugins/private/files_management @elastic/appex-sharedux
src/platform/plugins/private/ftr_apis @elastic/kibana-core
src/platform/plugins/private/image_embeddable @elastic/appex-sharedux
src/platform/plugins/private/input_control_vis @elastic/kibana-presentation
src/platform/plugins/private/interactive_setup @elastic/kibana-security
src/platform/plugins/private/kibana_overview @elastic/appex-sharedux
src/platform/plugins/private/kibana_usage_collection @elastic/kibana-core
src/platform/plugins/private/links @elastic/kibana-presentation
@ -677,7 +678,6 @@ src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery
src/plugins/event_annotation @elastic/kibana-visualizations
src/plugins/event_annotation_listing @elastic/kibana-visualizations
src/plugins/expressions @elastic/kibana-visualizations
src/plugins/interactive_setup @elastic/kibana-security
src/plugins/unified_search @elastic/kibana-visualizations
src/plugins/url_forwarding @elastic/kibana-visualizations
src/plugins/vis_default_editor @elastic/kibana-visualizations
@ -756,15 +756,6 @@ x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra
x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations
x-pack/packages/kbn-streams-schema @elastic/streams-program-team
x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team
x-pack/packages/security/api_key_management @elastic/kibana-security
x-pack/packages/security/authorization_core @elastic/kibana-security
x-pack/packages/security/authorization_core_common @elastic/kibana-security
x-pack/packages/security/form_components @elastic/kibana-security
x-pack/packages/security/plugin_types_common @elastic/kibana-security
x-pack/packages/security/plugin_types_public @elastic/kibana-security
x-pack/packages/security/plugin_types_server @elastic/kibana-security
x-pack/packages/security/role_management_model @elastic/kibana-security
x-pack/packages/security/ui_components @elastic/kibana-security
x-pack/performance @elastic/appex-qa
x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops
x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team
@ -800,6 +791,10 @@ x-pack/platform/packages/private/ml/ui_actions @elastic/ml-ui
x-pack/platform/packages/private/ml/url_state @elastic/ml-ui
x-pack/platform/packages/private/ml/validators @elastic/ml-ui
x-pack/platform/packages/private/rollup @elastic/kibana-management
x-pack/platform/packages/private/security/authorization_core @elastic/kibana-security
x-pack/platform/packages/private/security/authorization_core_common @elastic/kibana-security
x-pack/platform/packages/private/security/role_management_model @elastic/kibana-security
x-pack/platform/packages/private/security/ui_components @elastic/kibana-security
x-pack/platform/packages/shared/ai-assistant/common @elastic/search-kibana
x-pack/platform/packages/shared/ai-assistant/icon @elastic/appex-sharedux
x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infra
@ -828,6 +823,11 @@ x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui
x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui
x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team
x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team
x-pack/platform/packages/shared/security/api_key_management @elastic/kibana-security
x-pack/platform/packages/shared/security/form_components @elastic/kibana-security
x-pack/platform/packages/shared/security/plugin_types_common @elastic/kibana-security
x-pack/platform/packages/shared/security/plugin_types_public @elastic/kibana-security
x-pack/platform/packages/shared/security/plugin_types_server @elastic/kibana-security
x-pack/platform/plugins/private/banners @elastic/appex-sharedux
x-pack/platform/plugins/private/canvas @elastic/kibana-presentation
x-pack/platform/plugins/private/cloud_integrations/cloud_chat @elastic/kibana-core
@ -872,6 +872,7 @@ x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation
x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation
x-pack/platform/plugins/shared/encrypted_saved_objects @elastic/kibana-security
x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
x-pack/platform/plugins/shared/event_log @elastic/response-ops
x-pack/platform/plugins/shared/features @elastic/kibana-core
@ -894,17 +895,16 @@ x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows
x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team
x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services
x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management
x-pack/platform/plugins/shared/security @elastic/kibana-security
x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux
x-pack/platform/plugins/shared/spaces @elastic/kibana-security
x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops
x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops
x-pack/platform/plugins/shared/task_manager @elastic/response-ops
x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops
x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux
x-pack/plugins/encrypted_saved_objects @elastic/kibana-security
x-pack/plugins/graph @elastic/kibana-visualizations
x-pack/plugins/lens @elastic/kibana-visualizations
x-pack/plugins/security @elastic/kibana-security
x-pack/plugins/spaces @elastic/kibana-security
x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team
@ -1057,9 +1057,7 @@ x-pack/test_serverless/api_integration/test_suites/common/platform_security @ela
# Observability Entities Team (@elastic/obs-entities)
/x-pack/plugins/observability_solution/entities_data_access @elastic/obs-entities
/x-pack/packages/kbn-entities-schema @elastic/obs-entities
/x-pack/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities
/x-pack/plugins/entity_manager @elastic/obs-entities
/x-pack/test/api_integration/apis/entity_manager @elastic/obs-entities
@ -1919,7 +1917,7 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi
/x-pack/test_serverless/**/test_suites/security/platform_security/ @elastic/kibana-security
/x-pack/test_serverless/**/test_suites/observability/platform_security/ @elastic/kibana-security
/src/core/packages/http/server-internal/src/cdn_config/ @elastic/kibana-security @elastic/kibana-core
#CC# /x-pack/plugins/security/ @elastic/kibana-security
#CC# /x-pack/platform/plugins/shared/security/ @elastic/kibana-security
# Response Ops team
/x-pack/test/functional/es_archives/rule_registry @elastic/response-ops
@ -2496,12 +2494,10 @@ x-pack/test/automatic_import_api_integration @elastic/security-scalability
## Packages
x-pack/packages/kbn-cloud-security-posture @elastic/kibana-cloud-security-posture
x-pack/solutions/security/packages/distribution_bar @elastic/kibana-cloud-security-posture
## Plugins
x-pack/plugins/cloud_defend @elastic/kibana-cloud-security-posture
x-pack/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture
x-pack/plugins/kubernetes_security @elastic/kibana-cloud-security-posture
x-pack/plugins/session_view @elastic/kibana-cloud-security-posture
## Security Solution sub teams
x-pack/solutions/security/plugins/security_solution/public/common/components/sessions_viewer @elastic/kibana-cloud-security-posture
x-pack/solutions/security/plugins/security_solution/public/cloud_defend @elastic/kibana-cloud-security-posture
@ -2831,7 +2827,6 @@ src/platform/packages/private/kbn-apm-config-loader @elastic/kibana-core @vignes
src/platform/packages/private/kbn-config-mocks @elastic/kibana-core
src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql
src/platform/packages/private/kbn-generate-csv @elastic/appex-sharedux
src/platform/packages/private/kbn-handlebars @elastic/kibana-security
src/platform/packages/private/kbn-hapi-mocks @elastic/kibana-core
src/platform/packages/private/kbn-health-gateway-server @elastic/kibana-core
src/platform/packages/private/kbn-item-buffer @elastic/appex-sharedux
@ -2919,7 +2914,6 @@ src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations
src/platform/packages/shared/kbn-config @elastic/kibana-core
src/platform/packages/shared/kbn-config-schema @elastic/kibana-core
src/platform/packages/shared/kbn-content-management-utils @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-crypto @elastic/kibana-security
src/platform/packages/shared/kbn-crypto-browser @elastic/kibana-core
src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery
@ -2975,13 +2969,11 @@ src/platform/packages/shared/kbn-router-to-openapispec @elastic/kibana-core
src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team
src/platform/packages/shared/kbn-rrule @elastic/response-ops
src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team
src/platform/packages/shared/kbn-safer-lodash-set @elastic/kibana-security
src/platform/packages/shared/kbn-search-api-panels @elastic/search-kibana
src/platform/packages/shared/kbn-search-connectors @elastic/search-kibana
src/platform/packages/shared/kbn-search-errors @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-search-response-warnings @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-search-types @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-security-hardening @elastic/kibana-security
src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore
src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine
src/platform/packages/shared/kbn-securitysolution-io-ts-types @elastic/security-detection-engine
@ -3006,7 +2998,6 @@ src/platform/packages/shared/kbn-unified-data-table @elastic/kibana-data-discove
src/platform/packages/shared/kbn-unified-doc-viewer @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery
src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management
src/platform/packages/shared/kbn-user-profile-components @elastic/kibana-security
src/platform/packages/shared/kbn-utility-types @elastic/kibana-core
src/platform/packages/shared/kbn-utility-types-jest @elastic/kibana-operations
src/platform/packages/shared/kbn-utils @elastic/kibana-operations
@ -3069,7 +3060,6 @@ src/platform/plugins/private/files_management @elastic/appex-sharedux
src/platform/plugins/private/ftr_apis @elastic/kibana-core
src/platform/plugins/private/image_embeddable @elastic/appex-sharedux
src/platform/plugins/private/input_control_vis @elastic/kibana-presentation
src/platform/plugins/private/interactive_setup @elastic/kibana-security
src/platform/plugins/private/kibana_overview @elastic/appex-sharedux
src/platform/plugins/private/kibana_usage_collection @elastic/kibana-core
src/platform/plugins/private/links @elastic/kibana-presentation
@ -3186,10 +3176,6 @@ x-pack/platform/packages/private/ml/ui_actions @elastic/ml-ui
x-pack/platform/packages/private/ml/url_state @elastic/ml-ui
x-pack/platform/packages/private/ml/validators @elastic/ml-ui
x-pack/platform/packages/private/rollup @elastic/kibana-management
x-pack/platform/packages/private/security/authorization_core @elastic/kibana-security
x-pack/platform/packages/private/security/authorization_core_common @elastic/kibana-security
x-pack/platform/packages/private/security/role_management_model @elastic/kibana-security
x-pack/platform/packages/private/security/ui_components @elastic/kibana-security
x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infra
x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra
x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management
@ -3207,7 +3193,6 @@ x-pack/platform/packages/shared/kbn-slo-schema @elastic/obs-ux-management-team
x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui
x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis @elastic/ml-ui
x-pack/platform/packages/shared/ml/aiops_log_rate_analysis @elastic/ml-ui
x-pack/platform/packages/shared/ml/anomaly_utils @elastic/ml-ui
x-pack/platform/packages/shared/ml/chi2test @elastic/ml-ui
x-pack/platform/packages/shared/ml/error_utils @elastic/ml-ui
x-pack/platform/packages/shared/ml/random_sampler_utils @elastic/ml-ui
@ -3215,11 +3200,6 @@ x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui
x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui
x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui
x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team
x-pack/platform/packages/shared/security/api_key_management @elastic/kibana-security
x-pack/platform/packages/shared/security/form_components @elastic/kibana-security
x-pack/platform/packages/shared/security/plugin_types_common @elastic/kibana-security
x-pack/platform/packages/shared/security/plugin_types_public @elastic/kibana-security
x-pack/platform/packages/shared/security/plugin_types_server @elastic/kibana-security
x-pack/platform/plugins/private/banners @elastic/appex-sharedux
x-pack/platform/plugins/private/canvas @elastic/kibana-presentation
x-pack/platform/plugins/private/cloud_integrations/cloud_chat @elastic/kibana-core
@ -3263,7 +3243,6 @@ x-pack/platform/plugins/shared/cloud @elastic/kibana-core
x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments @elastic/kibana-core
x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation
x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation
x-pack/platform/plugins/shared/encrypted_saved_objects @elastic/kibana-security
x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
x-pack/platform/plugins/shared/event_log @elastic/response-ops
x-pack/platform/plugins/shared/features @elastic/kibana-core
@ -3285,9 +3264,7 @@ x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows
x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team
x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services
x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management
x-pack/platform/plugins/shared/security @elastic/kibana-security
x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux
x-pack/platform/plugins/shared/spaces @elastic/kibana-security
x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops
x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops
x-pack/platform/plugins/shared/task_manager @elastic/response-ops
@ -3299,19 +3276,11 @@ x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-alert
x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team
x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team
x-pack/solutions/observability/src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team
x-pack/solutions/observability/src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team
x-pack/solutions/observability/packages/logs_overview @elastic/obs-ux-logs-team
x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/observability_utils/observability_utils_browser @elastic/observability-ui
x-pack/solutions/observability/packages/observability_utils/observability_utils_common @elastic/observability-ui
x-pack/solutions/observability/packages/observability_utils/observability_utils_server @elastic/observability-ui
x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/dataset_quality @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/entities_data_access @elastic/obs-entities
x-pack/solutions/observability/plugins/entity_manager_app @elastic/obs-entities
x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team
@ -3325,7 +3294,6 @@ x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-
x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant
x-pack/solutions/observability/plugins/observability_ai_assistant_management @elastic/obs-ai-assistant
x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui
x-pack/solutions/observability/plugins/profiling @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/profiling_data_access @elastic/obs-ux-infra_services-team
@ -3336,23 +3304,7 @@ x-pack/solutions/observability/plugins/streams_app @elastic/streams-program-team
x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/ux @elastic/obs-ux-infra_services-team
x-pack/solutions/search/x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana
x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana
x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana
x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana
x-pack/solutions/search/solutions/search/packages/search/shared_ui @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/enterprise_search @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_assistant @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_connectors @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_homepage @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_indices @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_notebooks @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_playground @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana
x-pack/solutions/search/solutions/search/plugins/serverless_search @elastic/search-kibana
x-pack/solutions/security/packages/data_table @elastic/security-threat-hunting-investigations
x-pack/solutions/security/packages/distribution_bar @elastic/kibana-cloud-security-posture
x-pack/solutions/security/packages/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore
x-pack/solutions/security/packages/features @elastic/security-threat-hunting-explore
x-pack/solutions/security/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture
@ -3360,20 +3312,6 @@ x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/ki
x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting
x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations
x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-list-api @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-list-constants @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-list-utils @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-lists-common @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-t-grid @elastic/security-detection-engine
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-utils @elastic/security-detection-engine
x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-explore
x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-explore
x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-explore
@ -3383,10 +3321,6 @@ x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-s
x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore
x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai
x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture
x-pack/solutions/security/solutions/security/plugins/lists @elastic/security-detection-engine
x-pack/solutions/security/solutions/security/plugins/security_solution @elastic/security-solution
x-pack/solutions/security/solutions/security/plugins/security_solution_ess @elastic/security-solution
x-pack/solutions/security/solutions/security/plugins/security_solution_serverless @elastic/security-solution
x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture
x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations
x-pack/solutions/security/plugins/timelines @elastic/security-threat-hunting-investigations

View file

@ -74,7 +74,7 @@
"inputControl": "src/platform/plugins/private/input_control_vis",
"inspector": "src/platform/plugins/shared/inspector",
"inspectorViews": "src/legacy/core_plugins/inspector_views",
"interactiveSetup": "src/plugins/interactive_setup",
"interactiveSetup": "src/platform/plugins/private/interactive_setup",
"interpreter": "src/legacy/core_plugins/interpreter",
"imageEmbeddable": "src/platform/plugins/private/image_embeddable",
"kbn": "src/legacy/core_plugins/kibana",
@ -141,7 +141,7 @@
"uiActionsEnhanced": "src/platform/plugins/shared/ui_actions_enhanced",
"uiActionsExamples": "examples/ui_action_examples",
"usageCollection": "src/platform/plugins/shared/usage_collection",
"userProfileComponents": "packages/kbn-user-profile-components",
"userProfileComponents": "src/platform/packages/shared/kbn-user-profile-components",
"utils": "x-pack/solutions/security/packages/kbn-securitysolution-utils/src",
"visDefaultEditor": "src/plugins/vis_default_editor",
"visTypeGauge": "src/plugins/vis_types/gauge",

View file

@ -407,7 +407,7 @@ this in two ways, and many consumers will want to implement both:
the spaces plugin, and you can use them in your own application.
+
First, make sure your page contents are wrapped in a
https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/spaces/public/spaces_context/types.ts[spaces context provider]:
https://github.com/elastic/kibana/blob/{branch}/x-pack/platform/plugins/shared/spaces/public/spaces_context/types.ts[spaces context provider]:
+
```tsx
const ContextWrapper = useMemo(
@ -425,9 +425,9 @@ return (
);
```
+
Second, display a https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/spaces/public/space_list/types.ts[list of spaces] for an
Second, display a https://github.com/elastic/kibana/blob/{branch}/x-pack/platform/plugins/shared/spaces/public/space_list/types.ts[list of spaces] for an
object, and third, show a
https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts[flyout] for the user to
https://github.com/elastic/kibana/blob/{branch}/x-pack/platform/plugins/shared/spaces/public/share_saved_objects_to_space/types.ts[flyout] for the user to
edit the object's assigned spaces. You may want to follow the example of the <<data-views,Data Views page>> and
https://github.com/elastic/kibana/blob/{branch}/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/spaces_list.tsx[combine
these into a single component] so that the space list can be clicked to show the flyout:

View file

@ -230,7 +230,7 @@ Images can be added either by URL or by uploading the image file via file servic
in Kibana, e.g. visualizations. It has the form of a flyout panel.
|{kib-repo}blob/{branch}/src/plugins/interactive_setup/README.md[interactiveSetup]
|{kib-repo}blob/{branch}/src/platform/plugins/private/interactive_setup/README.md[interactiveSetup]
|This plugin provides UI and APIs for interactive setup mode a.k.a "enrollment flow".
@ -563,7 +563,7 @@ Plugin server-side only. Plugin has three main functions:
adds dynamic actions to every embeddables state, in order to support drilldowns.
|{kib-repo}blob/{branch}/x-pack/plugins/encrypted_saved_objects/README.md[encryptedSavedObjects]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/encrypted_saved_objects/README.md[encryptedSavedObjects]
|The purpose of this plugin is to provide a way to encrypt/decrypt attributes on the custom Saved Objects that works with
security and spaces filtering.
@ -856,7 +856,7 @@ detailed information on how Elasticsearch executed the search request. People us
to understand why a search request might be slow.
|{kib-repo}blob/{branch}/x-pack/plugins/security/README.md[security]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/security/README.md[security]
|See Configuring security in
Kibana.
@ -899,7 +899,7 @@ This plugin is only enabled when the application is built for serverless project
|or
|{kib-repo}blob/{branch}/x-pack/plugins/spaces/README.md[spaces]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/spaces/README.md[spaces]
|See Configuring Kibana Spaces.

View file

@ -344,7 +344,7 @@ functions and will be impacted:
4. [vis_type_vega](https://github.com/elastic/kibana/blob/6039709929caf0090a4130b8235f3a53bd04ed84/src/legacy/core_plugins/vis_type_vega/public/plugin.ts#L59)
6. [code](https://github.com/elastic/kibana/blob/5049b460b47d4ae3432e1d9219263bb4be441392/x-pack/legacy/plugins/code/server/plugin.ts#L129-L149)
7. [spaces](https://github.com/elastic/kibana/blob/096c7ee51136327f778845c636d7c4f1188e5db2/x-pack/legacy/plugins/spaces/server/new_platform/plugin.ts#L95)
8. [licensing](https://github.com/elastic/kibana/blob/4667c46caef26f8f47714504879197708debae32/x-pack/platform/plugins/shared/licensing/server/plugin.ts)
8. [licensing](https://github.com/elastic/kibana/blob/4667c46caef26f8f47714504879197708debae32/x-pack/plugins/licensing/server/plugin.ts)
9. [security](https://github.com/elastic/kibana/blob/0f2324e44566ce2cf083d89082841e57d2db6ef6/x-pack/plugins/security/server/plugin.ts#L96)
# How we teach this

View file

@ -414,7 +414,7 @@
"@kbn/core-user-settings-server-internal": "link:packages/core/user-settings/core-user-settings-server-internal",
"@kbn/core-user-settings-server-mocks": "link:packages/core/user-settings/core-user-settings-server-mocks",
"@kbn/cross-cluster-replication-plugin": "link:x-pack/platform/plugins/private/cross_cluster_replication",
"@kbn/crypto": "link:packages/kbn-crypto",
"@kbn/crypto": "link:src/platform/packages/shared/kbn-crypto",
"@kbn/crypto-browser": "link:src/platform/packages/shared/kbn-crypto-browser",
"@kbn/custom-branding-plugin": "link:x-pack/platform/plugins/private/custom_branding",
"@kbn/custom-icons": "link:src/platform/packages/shared/kbn-custom-icons",
@ -474,7 +474,7 @@
"@kbn/embeddable-examples-plugin": "link:examples/embeddable_examples",
"@kbn/embeddable-plugin": "link:src/platform/plugins/shared/embeddable",
"@kbn/embedded-lens-example-plugin": "link:x-pack/examples/embedded_lens_example",
"@kbn/encrypted-saved-objects-plugin": "link:x-pack/plugins/encrypted_saved_objects",
"@kbn/encrypted-saved-objects-plugin": "link:x-pack/platform/plugins/shared/encrypted_saved_objects",
"@kbn/enterprise-search-plugin": "link:x-pack/solutions/search/plugins/enterprise_search",
"@kbn/entities-data-access-plugin": "link:x-pack/solutions/observability/plugins/observability_solution/entities_data_access",
"@kbn/entities-schema": "link:x-pack/platform/packages/shared/kbn-entities-schema",
@ -557,7 +557,7 @@
"@kbn/guided-onboarding": "link:packages/kbn-guided-onboarding",
"@kbn/guided-onboarding-example-plugin": "link:examples/guided_onboarding_example",
"@kbn/guided-onboarding-plugin": "link:src/platform/plugins/shared/guided_onboarding",
"@kbn/handlebars": "link:packages/kbn-handlebars",
"@kbn/handlebars": "link:src/platform/packages/private/kbn-handlebars",
"@kbn/hapi-mocks": "link:src/platform/packages/private/kbn-hapi-mocks",
"@kbn/hardening-plugin": "link:test/plugin_functional/plugins/hardening",
"@kbn/health-gateway-server": "link:src/platform/packages/private/kbn-health-gateway-server",
@ -586,7 +586,7 @@
"@kbn/input-control-vis-plugin": "link:src/platform/plugins/private/input_control_vis",
"@kbn/inspector-plugin": "link:src/platform/plugins/shared/inspector",
"@kbn/integration-assistant-plugin": "link:x-pack/platform/plugins/shared/integration_assistant",
"@kbn/interactive-setup-plugin": "link:src/plugins/interactive_setup",
"@kbn/interactive-setup-plugin": "link:src/platform/plugins/private/interactive_setup",
"@kbn/interactive-setup-test-endpoints-plugin": "link:test/interactive_setup_api_integration/plugins/test_endpoints",
"@kbn/interpreter": "link:packages/kbn-interpreter",
"@kbn/inventory-plugin": "link:x-pack/solutions/observability/plugins/inventory",
@ -776,7 +776,7 @@
"@kbn/rule-data-utils": "link:src/platform/packages/shared/kbn-rule-data-utils",
"@kbn/rule-registry-plugin": "link:x-pack/platform/plugins/shared/rule_registry",
"@kbn/runtime-fields-plugin": "link:x-pack/platform/plugins/private/runtime_fields",
"@kbn/safer-lodash-set": "link:packages/kbn-safer-lodash-set",
"@kbn/safer-lodash-set": "link:src/platform/packages/shared/kbn-safer-lodash-set",
"@kbn/saml-provider-plugin": "link:x-pack/test/security_api_integration/plugins/saml_provider",
"@kbn/sample-task-plugin": "link:x-pack/test/plugin_api_integration/plugins/sample_task_plugin",
"@kbn/sample-task-plugin-update-by-query": "link:x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget",
@ -817,16 +817,16 @@
"@kbn/search-shared-ui": "link:x-pack/solutions/search/packages/search/shared_ui",
"@kbn/search-types": "link:src/platform/packages/shared/kbn-search-types",
"@kbn/searchprofiler-plugin": "link:x-pack/platform/plugins/shared/searchprofiler",
"@kbn/security-api-key-management": "link:x-pack/packages/security/api_key_management",
"@kbn/security-authorization-core": "link:x-pack/packages/security/authorization_core",
"@kbn/security-authorization-core-common": "link:x-pack/packages/security/authorization_core_common",
"@kbn/security-form-components": "link:x-pack/packages/security/form_components",
"@kbn/security-hardening": "link:packages/kbn-security-hardening",
"@kbn/security-plugin": "link:x-pack/plugins/security",
"@kbn/security-plugin-types-common": "link:x-pack/packages/security/plugin_types_common",
"@kbn/security-plugin-types-public": "link:x-pack/packages/security/plugin_types_public",
"@kbn/security-plugin-types-server": "link:x-pack/packages/security/plugin_types_server",
"@kbn/security-role-management-model": "link:x-pack/packages/security/role_management_model",
"@kbn/security-api-key-management": "link:x-pack/platform/packages/shared/security/api_key_management",
"@kbn/security-authorization-core": "link:x-pack/platform/packages/private/security/authorization_core",
"@kbn/security-authorization-core-common": "link:x-pack/platform/packages/private/security/authorization_core_common",
"@kbn/security-form-components": "link:x-pack/platform/packages/shared/security/form_components",
"@kbn/security-hardening": "link:src/platform/packages/shared/kbn-security-hardening",
"@kbn/security-plugin": "link:x-pack/platform/plugins/shared/security",
"@kbn/security-plugin-types-common": "link:x-pack/platform/packages/shared/security/plugin_types_common",
"@kbn/security-plugin-types-public": "link:x-pack/platform/packages/shared/security/plugin_types_public",
"@kbn/security-plugin-types-server": "link:x-pack/platform/packages/shared/security/plugin_types_server",
"@kbn/security-role-management-model": "link:x-pack/platform/packages/private/security/role_management_model",
"@kbn/security-solution-distribution-bar": "link:x-pack/solutions/security/packages/distribution_bar",
"@kbn/security-solution-ess": "link:x-pack/solutions/security/plugins/security_solution_ess",
"@kbn/security-solution-features": "link:x-pack/solutions/security/packages/features",
@ -838,7 +838,7 @@
"@kbn/security-solution-storybook-config": "link:x-pack/solutions/security/packages/storybook/config",
"@kbn/security-solution-upselling": "link:x-pack/solutions/security/packages/upselling",
"@kbn/security-test-endpoints-plugin": "link:x-pack/test/security_functional/plugins/test_endpoints",
"@kbn/security-ui-components": "link:x-pack/packages/security/ui_components",
"@kbn/security-ui-components": "link:x-pack/platform/packages/private/security/ui_components",
"@kbn/securitysolution-autocomplete": "link:x-pack/solutions/security/packages/kbn-securitysolution-autocomplete",
"@kbn/securitysolution-data-table": "link:x-pack/solutions/security/packages/data_table",
"@kbn/securitysolution-ecs": "link:src/platform/packages/shared/kbn-securitysolution-ecs",
@ -932,7 +932,7 @@
"@kbn/slo-schema": "link:x-pack/platform/packages/shared/kbn-slo-schema",
"@kbn/snapshot-restore-plugin": "link:x-pack/platform/plugins/private/snapshot_restore",
"@kbn/sort-predicates": "link:packages/kbn-sort-predicates",
"@kbn/spaces-plugin": "link:x-pack/plugins/spaces",
"@kbn/spaces-plugin": "link:x-pack/platform/plugins/shared/spaces",
"@kbn/spaces-test-plugin": "link:x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin",
"@kbn/sse-utils": "link:src/platform/packages/shared/kbn-sse-utils",
"@kbn/sse-utils-client": "link:src/platform/packages/shared/kbn-sse-utils-client",
@ -1001,7 +1001,7 @@
"@kbn/usage-collection-plugin": "link:src/platform/plugins/shared/usage_collection",
"@kbn/usage-collection-test-plugin": "link:test/plugin_functional/plugins/usage_collection",
"@kbn/use-tracked-promise": "link:packages/kbn-use-tracked-promise",
"@kbn/user-profile-components": "link:packages/kbn-user-profile-components",
"@kbn/user-profile-components": "link:src/platform/packages/shared/kbn-user-profile-components",
"@kbn/user-profile-examples-plugin": "link:examples/user_profile_examples",
"@kbn/user-profiles-consumer-plugin": "link:x-pack/test/security_api_integration/plugins/user_profiles_consumer",
"@kbn/utility-types": "link:src/platform/packages/shared/kbn-utility-types",

View file

@ -14,7 +14,7 @@ import * as groupBy from '../../lib/group_by_owners.ts';
import * as groupBySource from '../../lib/group_by_source.ts';
const codeOwners: Record<string, string[]> = {
'plugins/security': ['team_security'],
'platform/plugins/shared/security': ['team_security'],
'plugins/data_visualization': ['team_visualization'],
'plugins/data_charts': ['team_visualization'],
'plugins/analytics': ['team_analytics'],
@ -45,7 +45,7 @@ const mockCruiseResult = {
summary: {
violations: [
{
from: 'plugins/security',
from: 'platform/plugins/shared/security',
to: 'node_modules/rxjs',
},
{
@ -70,7 +70,7 @@ const mockCruiseResult = {
{
source: 'node_modules/rxjs',
dependents: [
'plugins/security/server/index.ts',
'platform/plugins/shared/security/server/index.ts',
'plugins/data_charts/public/charts.ts',
'plugins/data_visualization/public/visualization.ts',
'plugins/data_visualization/public/ingest.ts',
@ -137,7 +137,7 @@ describe('identifyDependencyUsage', () => {
expect(result).toEqual({
team_security: {
modules: ['plugins/security'],
modules: ['platform/plugins/shared/security'],
deps: ['rxjs'],
teams: ['team_security'],
},
@ -167,7 +167,7 @@ describe('identifyDependencyUsage', () => {
expect(groupFilesByOwnersSpy).toHaveBeenCalledWith(mockCruiseResult.output.summary.violations);
expect(result).toEqual({
'plugins/security': ['rxjs'],
'platform/plugins/shared/security': ['rxjs'],
'plugins/data_visualization': ['rxjs'],
'plugins/data_charts': ['rxjs'],
'plugins/analytics': ['rxjs', '@hapi/boom'],
@ -185,14 +185,14 @@ describe('identifyDependencyUsage', () => {
expect(result).toEqual({
modules: [
'plugins/security',
'platform/plugins/shared/security',
'plugins/data_visualization',
'plugins/data_charts',
'plugins/analytics',
],
dependents: {
rxjs: [
'plugins/security/server/index.ts',
'platform/plugins/shared/security/server/index.ts',
'plugins/data_charts/public/charts.ts',
'plugins/data_visualization/public/visualization.ts',
'plugins/data_visualization/public/ingest.ts',
@ -213,7 +213,7 @@ describe('identifyDependencyUsage', () => {
expect(result).toEqual({
modules: [
'plugins/security',
'platform/plugins/shared/security',
'plugins/data_visualization',
'plugins/data_charts',
'plugins/analytics',
@ -272,7 +272,7 @@ describe('identifyDependencyUsage', () => {
summary: {
violations: [
{ from: 'plugins/unknown_plugin', to: 'node_modules/some_module' },
{ from: 'plugins/security', to: 'node_modules/rxjs' },
{ from: 'platform/plugins/shared/security', to: 'node_modules/rxjs' },
],
},
modules: [],
@ -294,7 +294,7 @@ describe('identifyDependencyUsage', () => {
teams: ['unknown'],
},
team_security: {
modules: ['plugins/security'],
modules: ['platform/plugins/shared/security'],
deps: ['rxjs'],
teams: ['team_security'],
},

View file

@ -1,10 +0,0 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
*/
module.exports = {
preset: '@kbn/test',
rootDir: '../..',
roots: ['<rootDir>/packages/kbn-handlebars'],
};

View file

@ -19,7 +19,6 @@ export interface SavedObjectTypeIdTuple {
type: string;
}
// NOTE: moved from x-pack/plugins/spaces/common/types.ts for use by SO security ext
/**
* Client interface for interacting with legacy URL aliases.
*/

View file

@ -15,7 +15,7 @@ export interface AuditLogger {
* current user, space and correlation id.
*
* Guidelines around what events should be logged and how they should be
* structured can be found in: `/x-pack/plugins/security/README.md`
* structured can be found in: `/x-pack/platform/plugins/shared/security/README.md`
*
* @example
* ```typescript

View file

@ -11,7 +11,7 @@
* IMPORTANT:
*
* The types in this file are duplicated at
* `packages/kbn-user-profile-components/src/user_profile.ts`
* `src/platform/packages/shared/kbn-user-profile-components/src/user_profile.ts`
*
* When making changes please ensure to keep both files in sync.
*/

View file

@ -62,11 +62,11 @@ export const IGNORE_FILE_GLOBS = [
'**/preview-head.html',
// filename must match upstream filenames from lodash
'packages/kbn-safer-lodash-set/**/*',
'src/platform/packages/shared/kbn-safer-lodash-set/**/*',
// filename must match upstream filenames from handlebars
'packages/kbn-handlebars/src/upstream/**/*',
'packages/kbn-handlebars/.patches/**/*',
'src/platform/packages/private/kbn-handlebars/src/upstream/**/*',
'src/platform/packages/private/kbn-handlebars/.patches/**/*',
'x-pack/platform/plugins/shared/maps/server/fonts/**/*',

View file

@ -26,4 +26,4 @@ This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at the following locations:
- https://github.com/handlebars-lang/handlebars.js
- https://github.com/elastic/kibana/tree/main/packages/kbn-handlebars
- https://github.com/elastic/kibana/tree/main/src/platform/packages/private/kbn-handlebars

View file

@ -68,7 +68,7 @@ We keep state internally in the `ElasticHandlebarsVisitor` object using the foll
The tests for `@kbn/handlebars` are integrated into the regular test suite of Kibana and are all jest tests. To run them all, simply do:
```sh
node scripts/jest packages/kbn-handlebars
node scripts/jest src/platform/packages/private/kbn-handlebars
```
By default, each test will run both the original `handlebars` code and the modified `@kbn/handlebars` code to compare if the output of the two are identical. To isolate a test run to just one or the other, you can use the following environment variables:
@ -78,10 +78,10 @@ By default, each test will run both the original `handlebars` code and the modif
## Development
Some of the tests have been copied from the upstream `handlebars` project and modified to fit our use-case, test-suite, and coding conventions. They are all located under the `packages/kbn-handlebars/src/spec` directory. To check if any of the copied files have received updates upstream that we might want to include in our copies, you can run the following script:
Some of the tests have been copied from the upstream `handlebars` project and modified to fit our use-case, test-suite, and coding conventions. They are all located under the `src/platform/packages/private/kbn-handlebars/src/spec` directory. To check if any of the copied files have received updates upstream that we might want to include in our copies, you can run the following script:
```sh
./packages/kbn-handlebars/scripts/check_for_upstream_updates.sh
./src/platform/packages/private/kbn-handlebars/scripts/check_for_upstream_updates.sh
```
_Note: This will look for changes in the `4.x` branch of the `handlebars.js` repo only. Changes in the `master` branch are ignored._
@ -89,10 +89,10 @@ _Note: This will look for changes in the `4.x` branch of the `handlebars.js` rep
Once all updates have been manually merged with our versions of the files, run the following script to "lock" us into the new updates:
```sh
./packages/kbn-handlebars/scripts/update_upstream_git_hash.sh
./src/platform/packages/private/kbn-handlebars/scripts/update_upstream_git_hash.sh
```
This will update file `packages/kbn-handlebars/src/spec/.upstream_git_hash`. Make sure to commit changes to this file as well.
This will update file `src/platform/packages/private/kbn-handlebars/src/spec/.upstream_git_hash`. Make sure to commit changes to this file as well.
## Debugging
@ -101,13 +101,13 @@ This will update file `packages/kbn-handlebars/src/spec/.upstream_git_hash`. Mak
To output the generated AST object structure in a somewhat readable form, use the following script:
```sh
./packages/kbn-handlebars/scripts/print_ast.js
./src/platform/packages/private/kbn-handlebars/scripts/print_ast.js
```
Example:
```sh
./packages/kbn-handlebars/scripts/print_ast.js '{{value}}'
./src/platform/packages/private/kbn-handlebars/scripts/print_ast.js '{{value}}'
```
Output:

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
/**

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import { Handlebars } from './src/handlebars';

View file

@ -0,0 +1,10 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: ['<rootDir>/src/platform/packages/private/kbn-handlebars'],
};

View file

@ -3,7 +3,7 @@
set -e
TMP=.tmp-handlebars
HASH_FILE=packages/kbn-handlebars/src/spec/.upstream_git_hash
HASH_FILE=src/platform/packages/private/kbn-handlebars/src/spec/.upstream_git_hash
function cleanup {
rm -fr $TMP
@ -32,14 +32,14 @@ else
echo " 1. Investigate the commits in the '4.x' branch of the upstream git repository."
echo " If files inside the 'spec' folder has been updated, sync those updates with"
echo " our local versions of these files (located in"
echo " 'packages/kbn-handlebars/src/spec')."
echo " 'src/platform/packages/private/kbn-handlebars/src/spec')."
echo
echo " https://github.com/handlebars-lang/handlebars.js/compare/$expected_hash...4.x"
echo
echo " 2. Execute the following script and commit the updated '$HASH_FILE'"
echo " file including any changes you made to our own spec files."
echo
echo " ./packages/kbn-handlebars/scripts/update_upstream_git_hash.sh"
echo " ./src/platform/packages/private/kbn-handlebars/scripts/update_upstream_git_hash.sh"
echo
exit 1
fi

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
'use strict'; // eslint-disable-line strict

View file

@ -3,7 +3,7 @@
set -e
TMP=.tmp-handlebars
HASH_FILE=packages/kbn-handlebars/src/spec/.upstream_git_hash
HASH_FILE=src/platform/packages/private/kbn-handlebars/src/spec/.upstream_git_hash
function cleanup {
rm -fr $TMP

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars, {

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
// The handlebars module uses `export =`, so we should technically use `import Handlebars = require('handlebars')`, but Babel will not allow this:

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars, { type HelperOptions } from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
/* eslint-disable max-classes-per-file */

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars, { type HelperOptions } from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars, { type HelperOptions } from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars, { type HelperOptions } from '../..';
@ -273,8 +273,8 @@ describe('Regressions', () => {
it('GH-1135 : Context handling within each iteration', () => {
expectTemplate(
'{{#each array}}\n' +
' 1. IF: {{#if true}}{{../name}}-{{../../name}}-{{../../../name}}{{/if}}\n' +
' 2. MYIF: {{#myif true}}{{../name}}={{../../name}}={{../../../name}}{{/myif}}\n' +
' 1. IF: {{#if true}}{{../name}}-{{../../name}}-{{../../../../../../name}}{{/if}}\n' +
' 2. MYIF: {{#myif true}}{{../name}}={{../../name}}={{../../../../../../name}}{{/myif}}\n' +
'{{/each}}'
)
.withInput({ array: [1], name: 'John' })

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import { expectTemplate } from '../__jest__/test_bench';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars, { type HelperOptions } from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars from '../..';

View file

@ -2,7 +2,7 @@
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import { expectTemplate } from '../__jest__/test_bench';

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
export const kHelper = Symbol('helper');

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import { kHelper, kAmbiguous, kSimple } from './symbols';

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
// @ts-expect-error: Could not find a declaration file for module

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-handlebars/LICENSE` for more information.
* See `src/platform/packages/private/kbn-handlebars/LICENSE` for more information.
*/
import Handlebars from 'handlebars';

View file

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [

View file

@ -33,7 +33,7 @@ webpack_cli(
"//src/platform/packages/shared/kbn-es-query",
"//src/platform/packages/shared/kbn-search-errors",
"//src/platform/packages/shared/kbn-std",
"//packages/kbn-safer-lodash-set",
"//src/platform/packages/shared/kbn-safer-lodash-set",
"//packages/kbn-peggy",
"//packages/kbn-peggy-loader",
"//packages/shared-ux/error_boundary",

View file

@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../..',
roots: ['<rootDir>/packages/kbn-crypto'],
rootDir: '../../../../..',
roots: ['<rootDir>/src/platform/packages/shared/kbn-crypto'],
};

View file

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [

View file

@ -2,7 +2,7 @@
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { assoc } from '.';

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
module.exports = require('./set');

View file

@ -2,7 +2,7 @@
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { assocPath } from '.';

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
module.exports = require('./set');

View file

@ -2,7 +2,7 @@
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import lodash = require('lodash');

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
exports.set = exports.assoc = exports.assocPath = require('./set');

View file

@ -2,7 +2,7 @@
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { set } from '.';

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
/*eslint no-var:0 */

View file

@ -2,7 +2,7 @@
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { setWith } from '.';

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
/*eslint no-var:0 */

View file

@ -2,7 +2,7 @@
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
export = SaferLodashSet;

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
exports.set = require('./lodash/set');

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
/* eslint-disable one-var,prettier/prettier,no-var,eqeqeq,no-nested-ternary */

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
/* eslint-disable no-var */

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
/* eslint-disable no-var,eqeqeq */

View file

@ -3,9 +3,9 @@
"version": "1.0.0",
"description": "A safer version of the lodash set and setWith functions",
"scripts": {
"lint": "../../node_modules/.bin/dependency-check --missing ../../package.json ./packages/kbn-safer-lodash-set/set.js ./packages/kbn-safer-lodash-set/setWith.js ./packages/kbn-safer-lodash-set/fp/*.js",
"test": "npm run lint && ../../node_modules/.bin/tape test/*.js && npm run test:types",
"test:types": "../../node_modules/.bin/tsc --noEmit",
"lint": "../../../../../node_modules/.bin/dependency-check --missing ../../../../../package.json ./src/platform/packages/shared/kbn-safer-lodash-set/set.js ./src/platform/packages/shared/kbn-safer-lodash-set/setWith.js ./src/platform/packages/shared/kbn-safer-lodash-set/fp/*.js",
"test": "npm run lint && ../../../../../node_modules/.bin/tape test/*.js && npm run test:types",
"test:types": "../../../../../node_modules/.bin/tsc --noEmit",
"update": "./scripts/update.sh",
"save_state": "./scripts/save_state.sh"
},

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Elasticsearch B.V licenses this file to you under the MIT License.
# See `packages/kbn-safer-lodash-set/LICENSE` for more information.
# See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
clean_up () {
exit_code=$?

View file

@ -2,6 +2,6 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Elasticsearch B.V licenses this file to you under the MIT License.
# See `packages/kbn-safer-lodash-set/LICENSE` for more information.
# See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
set -e

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Elasticsearch B.V licenses this file to you under the MIT License.
# See `packages/kbn-safer-lodash-set/LICENSE` for more information.
# See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
set -e

View file

@ -2,7 +2,7 @@
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { set } from '.';

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
module.exports = require('./lodash/set');

View file

@ -2,7 +2,7 @@
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { setWith } from '.';

View file

@ -2,7 +2,7 @@
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
module.exports = require('./lodash/setWith');

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { expectType } from 'tsd';

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { expectType } from 'tsd';

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
import { expectType } from 'tsd';

View file

@ -1,6 +1,6 @@
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See `packages/kbn-safer-lodash-set/LICENSE` for more information.
* See `src/platform/packages/shared/kbn-safer-lodash-set/LICENSE` for more information.
*/
const test = require('tape');

Some files were not shown because too many files have changed in this diff Show more