-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[SecuritySolution] Rename security solution plugins #161153
[SecuritySolution] Rename security solution plugins #161153
Conversation
Documentation preview: |
…ithub.com/semd/kibana into 159685_refactor_security_solution_plugins
…ithub.com/semd/kibana into 159685_refactor_security_solution_plugins
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
async chunk count
ESLint disabled line counts
miscellaneous assets size
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @semd |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was a huge change! Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Should this file be called serverless.security_solution
? 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, but this file is coupled with the project type, and inside the Kibana Core the "SecuritySolution" serverless project type is called "security" everywhere, changing that would be out of the scope of this task.
{ product_line: ProductLine.security, product_tier: 'complete' }, | ||
{ product_line: ProductLine.endpoint, product_tier: 'complete' }, | ||
{ product_line: ProductLine.cloud, product_tier: 'complete' }, | ||
{ product_line: ProductLine.security, product_tier: ProductTier.complete }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 👏
@@ -61,7 +60,7 @@ export const sections: Section[] = [ | |||
id: GetSetUpCardId.introduction, | |||
steps: introductionSteps, | |||
timeInMins: introductionSteps.reduce( | |||
(totalMin, { timeInMinutes }) => (totalMin += timeInMinutes), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+=
inside a reduce is very weird... Thanks for cleaning it!
Summary
closes: #159685
Renaming x-pack/plugins:
serverless_security
->security_solution_serverless
ess_security
->security_solution_ess
All the related configurations and types have also been renamed.
i18n translation prefixes updated
relocation of internal
security_solution_serverless
directories to be consistent withsecurity_solution_ess
Eslint
I also added the plugins in the
.eslintrc
configuration, defining the same rules as thesecurity_solution
plugin.All eslint errors have been addressed (mainly type imports errors)