Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sustainable Kibana Architecture: Move modules under x-pack/packages/security-solution #203522

Conversation

gsoldevila
Copy link
Contributor

@gsoldevila gsoldevila commented Dec 10, 2024

Summary

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

Important

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

Note

This PR has been auto-generated.
Do not attempt to push any changes unless you know what you are doing.
Please use #sustainable_kibana_architecture Slack channel for feedback.

7 package(s) are going to be relocated:

Id Target folder
@kbn/ecs-data-quality-dashboard x-pack/solutions/security/packages/ecs_data_quality_dashboard
@kbn/security-solution-distribution-bar x-pack/solutions/security/packages/distribution_bar
@kbn/security-solution-features x-pack/solutions/security/packages/features
@kbn/security-solution-navigation x-pack/solutions/security/packages/navigation
@kbn/security-solution-side-nav x-pack/solutions/security/packages/side_nav
@kbn/security-solution-upselling x-pack/solutions/security/packages/upselling
@kbn/securitysolution-data-table x-pack/solutions/security/packages/data_table
Updated references
./.eslintrc.js
./package.json
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/solutions/security/packages/data_table/jest.config.js
./x-pack/solutions/security/packages/distribution_bar/jest.config.js
./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js
./x-pack/solutions/security/packages/features/jest.config.js
./x-pack/solutions/security/packages/navigation/jest.config.js
./x-pack/solutions/security/packages/side_nav/jest.config.js
./x-pack/solutions/security/packages/upselling/jest.config.js
./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.json
./yarn.lock
Updated relative paths
x-pack/solutions/security/packages/data_table/jest.config.js:11
x-pack/solutions/security/packages/data_table/tsconfig.json:2
x-pack/solutions/security/packages/distribution_bar/jest.config.js:11
x-pack/solutions/security/packages/distribution_bar/tsconfig.json:2
x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21
x-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2
x-pack/solutions/security/packages/features/jest.config.js:10
x-pack/solutions/security/packages/features/tsconfig.json:2
x-pack/solutions/security/packages/navigation/jest.config.js:10
x-pack/solutions/security/packages/navigation/tsconfig.json:2
x-pack/solutions/security/packages/side_nav/jest.config.js:10
x-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11
x-pack/solutions/security/packages/side_nav/tsconfig.json:2
x-pack/solutions/security/packages/upselling/jest.config.js:10
x-pack/solutions/security/packages/upselling/tsconfig.json:2
Script errors

@gsoldevila gsoldevila added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) labels Dec 10, 2024
@gsoldevila gsoldevila marked this pull request as ready for review December 10, 2024 09:28
@gsoldevila gsoldevila requested review from a team as code owners December 10, 2024 09:28
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM for the @elastic/security-threat-hunting-investigations team as we only own the data-table package.

I want to point out to the @elastic/security-threat-hunting-explore team that running the yarn storybook security_solution_packages command succeeds but going to http://localhost:9001/ throws the following error:
Screenshot 2024-12-10 at 3 15 59 PM

This works fine in main so something in this PR is breaking Storybook

@gsoldevila gsoldevila force-pushed the kbn-team-1309-move-x-pack-packages-security-solution branch from 4b75cea to 5c35d52 Compare December 11, 2024 15:00
Copy link
Contributor

@kapral18 kapral18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PhilippeOberti PhilippeOberti force-pushed the kbn-team-1309-move-x-pack-packages-security-solution branch from ed3aa82 to f3695c9 Compare December 11, 2024 23:28
@PhilippeOberti PhilippeOberti force-pushed the kbn-team-1309-move-x-pack-packages-security-solution branch from f3695c9 to e332c35 Compare December 12, 2024 05:49
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

Copy link
Contributor

@maxcold maxcold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

distribution_bar component changes lgtm

@gsoldevila gsoldevila merged commit 50068fd into elastic:main Dec 12, 2024
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12295307819

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 203522

Questions ?

Please refer to the Backport tool documentation

@gsoldevila
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

gsoldevila added a commit to gsoldevila/kibana that referenced this pull request Dec 12, 2024
…security-solution` (elastic#203522)

## Summary

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

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

> [!NOTE]
> This PR has been auto-generated.
> Do not attempt to push any changes unless you know what you are doing.
> Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

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

  | Id | Target folder |
  | -- | ------------- |
| `@kbn/ecs-data-quality-dashboard` |
`x-pack/solutions/security/packages/ecs_data_quality_dashboard` |
| `@kbn/security-solution-distribution-bar` |
`x-pack/solutions/security/packages/distribution_bar` |
| `@kbn/security-solution-features` |
`x-pack/solutions/security/packages/features` |
| `@kbn/security-solution-navigation` |
`x-pack/solutions/security/packages/navigation` |
| `@kbn/security-solution-side-nav` |
`x-pack/solutions/security/packages/side_nav` |
| `@kbn/security-solution-upselling` |
`x-pack/solutions/security/packages/upselling` |
| `@kbn/securitysolution-data-table` |
`x-pack/solutions/security/packages/data_table` |

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

```
./.eslintrc.js
./package.json
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/solutions/security/packages/data_table/jest.config.js
./x-pack/solutions/security/packages/distribution_bar/jest.config.js
./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js
./x-pack/solutions/security/packages/features/jest.config.js
./x-pack/solutions/security/packages/navigation/jest.config.js
./x-pack/solutions/security/packages/side_nav/jest.config.js
./x-pack/solutions/security/packages/upselling/jest.config.js
./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.json
./yarn.lock
```
</details>
<details>
<summary>Updated relative paths</summary>

```
x-pack/solutions/security/packages/data_table/jest.config.js:11
x-pack/solutions/security/packages/data_table/tsconfig.json:2
x-pack/solutions/security/packages/distribution_bar/jest.config.js:11
x-pack/solutions/security/packages/distribution_bar/tsconfig.json:2
x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21
x-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2
x-pack/solutions/security/packages/features/jest.config.js:10
x-pack/solutions/security/packages/features/tsconfig.json:2
x-pack/solutions/security/packages/navigation/jest.config.js:10
x-pack/solutions/security/packages/navigation/tsconfig.json:2
x-pack/solutions/security/packages/side_nav/jest.config.js:10
x-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11
x-pack/solutions/security/packages/side_nav/tsconfig.json:2
x-pack/solutions/security/packages/upselling/jest.config.js:10
x-pack/solutions/security/packages/upselling/tsconfig.json:2
```
</details>
<details>
<summary>Script errors</summary>

```

```
</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co>
(cherry picked from commit 50068fd)

# Conflicts:
#	.github/CODEOWNERS
gsoldevila added a commit that referenced this pull request Dec 12, 2024
…kages/security-solution` (#203522) (#204006)

# Backport

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

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

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

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

## Summary

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

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

> [!NOTE]
> This PR has been auto-generated.
> Do not attempt to push any changes unless you know what you are doing.
> Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.


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

  | Id | Target folder |
  | -- | ------------- |
| `@kbn/ecs-data-quality-dashboard` |
`x-pack/solutions/security/packages/ecs_data_quality_dashboard` |
| `@kbn/security-solution-distribution-bar` |
`x-pack/solutions/security/packages/distribution_bar` |
| `@kbn/security-solution-features` |
`x-pack/solutions/security/packages/features` |
| `@kbn/security-solution-navigation` |
`x-pack/solutions/security/packages/navigation` |
| `@kbn/security-solution-side-nav` |
`x-pack/solutions/security/packages/side_nav` |
| `@kbn/security-solution-upselling` |
`x-pack/solutions/security/packages/upselling` |
| `@kbn/securitysolution-data-table` |
`x-pack/solutions/security/packages/data_table` |


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

```
./.eslintrc.js
./package.json
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/solutions/security/packages/data_table/jest.config.js
./x-pack/solutions/security/packages/distribution_bar/jest.config.js
./x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js
./x-pack/solutions/security/packages/features/jest.config.js
./x-pack/solutions/security/packages/navigation/jest.config.js
./x-pack/solutions/security/packages/side_nav/jest.config.js
./x-pack/solutions/security/packages/upselling/jest.config.js
./x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.type_check.json
./yarn.lock
```
</details>
<details>
<summary>Updated relative paths</summary>

```
x-pack/solutions/security/packages/data_table/jest.config.js:11
x-pack/solutions/security/packages/data_table/tsconfig.json:2
x-pack/solutions/security/packages/distribution_bar/jest.config.js:11
x-pack/solutions/security/packages/distribution_bar/tsconfig.json:2
x-pack/solutions/security/packages/ecs_data_quality_dashboard/jest.config.js:21
x-pack/solutions/security/packages/ecs_data_quality_dashboard/tsconfig.json:2
x-pack/solutions/security/packages/features/jest.config.js:10
x-pack/solutions/security/packages/features/tsconfig.json:2
x-pack/solutions/security/packages/navigation/jest.config.js:10
x-pack/solutions/security/packages/navigation/tsconfig.json:2
x-pack/solutions/security/packages/side_nav/jest.config.js:10
x-pack/solutions/security/packages/side_nav/src/solution_side_nav.stories.tsx:11
x-pack/solutions/security/packages/side_nav/tsconfig.json:2
x-pack/solutions/security/packages/upselling/jest.config.js:10
x-pack/solutions/security/packages/upselling/tsconfig.json:2
```
</details>
<details>
<summary>Script errors</summary>

```

```
</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
Co-authored-by: Karen Grigoryan <karen.grigoryan@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) plugin groups Relocate all plugins and packages under their respective platform/solution groups release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants