Skip to content

SKA: Fix kebab-case issues in cloud-security-posture packages#211314

Merged
seanrathier merged 1 commit intoelastic:mainfrom
gsoldevila:kbn-team-1309-relocate-20250214185622
Feb 14, 2025
Merged

SKA: Fix kebab-case issues in cloud-security-posture packages#211314
seanrathier merged 1 commit intoelastic:mainfrom
gsoldevila:kbn-team-1309-relocate-20250214185622

Conversation

@gsoldevila
Copy link
Copy Markdown
Member

@gsoldevila gsoldevila commented Feb 14, 2025

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 Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe here.

1 packages(s) are going to be relocated:

Id Target folder
@kbn/security-solution-distribution-bar x-pack/solutions/security/packages/distribution-bar
Updated references
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./x-pack/solutions/security/packages/distribution-bar/jest.config.js
./yarn.lock
.github/CODEOWNERS
Updated relative paths
x-pack/solutions/security/packages/distribution-bar/jest.config.js:11
x-pack/solutions/security/packages/distribution-bar/tsconfig.json:2

@gsoldevila gsoldevila requested a review from a team as a code owner February 14, 2025 18:58
@gsoldevila gsoldevila added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Security Solution Platform backport:version Backport to applied version labels v8.19.0 labels Feb 14, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-detection-engine (Team:Security Solution Platform)

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@seanrathier seanrathier merged commit 89b0545 into elastic:main Feb 14, 2025
12 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.x, 9.0

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

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

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

You might need to backport the following PRs to 8.x:
- SKA: Fix kebab-case issues in observability-ui packages (#211248)
- [scout] adding test helper @kbn/scout-oblt package and uptate onboarding tests (#209761)
9.0

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 211314

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 14, 2025
…211314) (#211326)

# Backport

This will backport the following commits from `main` to `9.0`:
- [SKA: Fix kebab-case issues in cloud-security-posture packages
(#211314)](#211314)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T21:12:16Z","message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Security
Solution Platform","backport:version","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in cloud-security-posture
packages","number":211314,"url":"https://github.com/elastic/kibana/pull/211314","mergeCommit":{"message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211314","number":211314,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
gsoldevila added a commit to gsoldevila/kibana that referenced this pull request Feb 17, 2025
…c#211314)

(cherry picked from commit 89b0545)

# Conflicts:
#	.github/CODEOWNERS
@gsoldevila
Copy link
Copy Markdown
Member 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 that referenced this pull request Feb 17, 2025
…211314) (#211376)

# Backport

This will backport the following commits from `main` to `8.x`:
- [SKA: Fix kebab-case issues in cloud-security-posture packages
(#211314)](#211314)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T21:12:16Z","message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Security
Solution Platform","backport:version","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in cloud-security-posture
packages","number":211314,"url":"https://github.com/elastic/kibana/pull/211314","mergeCommit":{"message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211326","number":211326,"state":"MERGED","mergeCommit":{"sha":"8eefc6a697fe04e3a38f6ba12c5c48a037633b23","message":"[9.0]
SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)
(#211326)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in
cloud-security-posture
packages\n(#211314)](https://github.com/elastic/kibana/pull/211314)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Gerard\nSoldevila\",\"email\":\"gerard.soldevila@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-14T21:12:16Z\",\"message\":\"SKA:\nFix
kebab-case issues in cloud-security-posture
packages\n(#211314)\",\"sha\":\"89b05458ad291293d9584983a48500976151562b\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"Team:Security\nSolution
Platform\",\"backport:version\",\"v9.1.0\",\"v8.19.0\"],\"title\":\"SKA:\nFix
kebab-case issues in
cloud-security-posture\npackages\",\"number\":211314,\"url\":\"https://github.com/elastic/kibana/pull/211314\",\"mergeCommit\":{\"message\":\"SKA:\nFix
kebab-case issues in cloud-security-posture
packages\n(#211314)\",\"sha\":\"89b05458ad291293d9584983a48500976151562b\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\",\"8.x\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/211314\",\"number\":211314,\"mergeCommit\":{\"message\":\"SKA:\nFix
kebab-case issues in cloud-security-posture
packages\n(#211314)\",\"sha\":\"89b05458ad291293d9584983a48500976151562b\"}},{\"branch\":\"8.x\",\"label\":\"v8.19.0\",\"branchLabelMappingKey\":\"^v8.19.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Gerard Soldevila
<gerard.soldevila@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211314","number":211314,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
gsoldevila added a commit to gsoldevila/kibana that referenced this pull request Feb 19, 2025
…c#211314)

(cherry picked from commit 89b0545)

# Conflicts:
#	.github/CODEOWNERS
@gsoldevila
Copy link
Copy Markdown
Member Author

💚 All backports created successfully

Status Branch Result
8.18

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

Questions ?

Please refer to the Backport tool documentation

gsoldevila added a commit that referenced this pull request Feb 19, 2025
…211314) (#211698)

# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Fix kebab-case issues in cloud-security-posture packages
(#211314)](#211314)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T21:12:16Z","message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Security
Solution
Platform","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in cloud-security-posture
packages","number":211314,"url":"https://github.com/elastic/kibana/pull/211314","mergeCommit":{"message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211326","number":211326,"state":"MERGED","mergeCommit":{"sha":"8eefc6a697fe04e3a38f6ba12c5c48a037633b23","message":"[9.0]
SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)
(#211326)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in
cloud-security-posture
packages\n(#211314)](https://github.com/elastic/kibana/pull/211314)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by:
Gerard Soldevila
<gerard.soldevila@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211314","number":211314,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in cloud-security-posture packages
(#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211376","number":211376,"state":"MERGED","mergeCommit":{"sha":"76d20ae33289e72ffdc3f664c4d7e451e9d03313","message":"[8.x]
SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)
(#211376)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [SKA: Fix kebab-case issues in
cloud-security-posture
packages\n(#211314)](https://github.com/elastic/kibana/pull/211314)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\\n\\n###
Questions ?\\nPlease refer to
the\n[Backport\ntool\\ndocumentation](https://github.com/sqren/backport)\\n\\n\\n\\nCo-authored-by:\nGerard
Soldevila\n<gerard.soldevila@elastic.co>\"}},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/211314\",\"number\":211314,\"mergeCommit\":{\"message\":\"SKA:\nFix
kebab-case issues in cloud-security-posture
packages\n(#211314)\",\"sha\":\"89b05458ad291293d9584983a48500976151562b\"}},{\"branch\":\"8.x\",\"label\":\"v8.19.0\",\"branchLabelMappingKey\":\"^v8.19.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->"}}]}]
BACKPORT-->
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes v8.18.0 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants