-
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
[Security Solution][SIEM migrations] Onboarding UI improvements #204320
[Security Solution][SIEM migrations] Onboarding UI improvements #204320
Conversation
…_ui' into 10667/siem_migrations/onboarding_ui_flyout
…grations/onboarding_ui_flyout
…ns/onboarding_ui_flyout
…ns/onboarding_ui_flyout' into 10667/siem_migrations/onboarding_ui_flyout
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsasync chunk count
References to deprecated APIs
History
cc @semd |
@@ -63,9 +63,9 @@ export const getTranslateRuleNode = ({ | |||
}; | |||
}; | |||
|
|||
const getTranslationResult = (esqlQuery: string): SiemMigrationRuleTranslationResult => { | |||
const getTranslationResult = (esqlQuery: string): RuleTranslationResult => { |
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.
It looks like this method is equivalent of another function in x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/ecs_mapping/ecs_mapping.ts
. Maybe we could re-use this code
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.
Yes, noted. I am creating a list of things to do on the agent side, we can do it in a separate PR.
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.
Tested these changes locally - everything looks great!
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.
...utions/security/plugins/security_solution/public/common/components/panel_text/panel_text.tsx
Outdated
Show resolved
Hide resolved
const connectors = checkCompleteMetadata?.connectors; | ||
const canExecuteConnectors = checkCompleteMetadata?.canExecuteConnectors; | ||
const canCreateConnectors = checkCompleteMetadata?.canCreateConnectors; | ||
if (!checkCompleteMetadata) { |
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.
👍
@angorayc Thanks a lot for the review, about the questions:
After marking a lookup as empty, users can still copy the name and upload the file, if it's provided it's unmarked:
We assume it's a CSV for now, but we'll need to support both formats for the MVP (8.18/9.0). I will add specific parsers in the following PRs
That won't be possible in the MVP. |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsasync chunk count
References to deprecated APIs
History
cc @semd |
Starting backport for target branches: 8.x |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…tic#204320) ## Summary Part of: elastic/security-team#10667 #### Improvements - Implementation of the Onboarding card to create migrations using the flyout - Migration complete summary panel implemented - Migration ready panel improved to detect missing resources - Migration processing improved - Migration missing resources panel implemented - All migration panels and refactored to be reusable by translation table using the - `RuleMigrationDataInputWrapper` implemented to reuse the Flyout from the translation table - Request poll interval increased from 5 to 10 seconds due to event loop usage. > [!NOTE] > This feature needs `siemMigrationsEnabled` experimental flag enabled to work. ## Screenshots Lookups input ![Lookups](https://github.com/user-attachments/assets/73f91e10-7252-44d1-ab0d-89880c78a2b3) Translation "complete" panel ![Translation summary](https://github.com/user-attachments/assets/6fbb451d-c7b3-4a23-a2df-083c91948cbd) Translation "created" panel (w/ and w/o missing macros) ![Ready panels](https://github.com/user-attachments/assets/f8334af2-ccc1-473c-8548-772a9d656aba) Translation processing (preparing) ![preparing panel](https://github.com/user-attachments/assets/0156caba-c6c9-43c1-881a-8bf631f3a8ab) Translation processing (translating) ![translating panel](https://github.com/user-attachments/assets/db523e4b-4858-482f-bfe9-1e36f715fa20) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 303eee8)
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
…tic#204320) ## Summary Part of: elastic/security-team#10667 #### Improvements - Implementation of the Onboarding card to create migrations using the flyout - Migration complete summary panel implemented - Migration ready panel improved to detect missing resources - Migration processing improved - Migration missing resources panel implemented - All migration panels and refactored to be reusable by translation table using the - `RuleMigrationDataInputWrapper` implemented to reuse the Flyout from the translation table - Request poll interval increased from 5 to 10 seconds due to event loop usage. > [!NOTE] > This feature needs `siemMigrationsEnabled` experimental flag enabled to work. ## Screenshots Lookups input ![Lookups](https://github.com/user-attachments/assets/73f91e10-7252-44d1-ab0d-89880c78a2b3) Translation "complete" panel ![Translation summary](https://github.com/user-attachments/assets/6fbb451d-c7b3-4a23-a2df-083c91948cbd) Translation "created" panel (w/ and w/o missing macros) ![Ready panels](https://github.com/user-attachments/assets/f8334af2-ccc1-473c-8548-772a9d656aba) Translation processing (preparing) ![preparing panel](https://github.com/user-attachments/assets/0156caba-c6c9-43c1-881a-8bf631f3a8ab) Translation processing (translating) ![translating panel](https://github.com/user-attachments/assets/db523e4b-4858-482f-bfe9-1e36f715fa20) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Summary
Part of: https://github.com/elastic/security-team/issues/10667
Improvements
RuleMigrationDataInputWrapper
implemented to reuse the Flyout from the translation tableNote
This feature needs
siemMigrationsEnabled
experimental flag enabled to work.Screenshots
Lookups input
Translation "complete" panel
Translation "created" panel (w/ and w/o missing macros)
Translation processing (preparing)
Translation processing (translating)