[Security Solution] Integrations card in automatic migrations#221493
[Security Solution] Integrations card in automatic migrations#221493semd merged 12 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
|
Pinging @elastic/fleet (Team:Fleet) |
...boarding/components/onboarding_body/cards/siem_migrations/integrations/integrations_card.tsx
Show resolved
Hide resolved
agusruidiazgd
left a comment
There was a problem hiding this comment.
LGTM - Thanks Sergi! 😸
| const { euiTheme, colorMode } = useEuiTheme(); | ||
| if (colorMode !== COLOR_MODES_STANDARD.dark) { | ||
| return undefined; | ||
| } | ||
| // only apply styles in dark mode |
| } | ||
|
|
||
| /** Maximum size for searches, aggregations and terms queries */ | ||
| const QUERY_MAX_SIZE = 10_000 as const; |
…ns/integrations_card' into 12309/siem_migrations/integrations_card
...ugins/security_solution/public/common/lib/integrations/hooks/use_create_auto_import_card.tsx
Show resolved
Hide resolved
...ion/public/onboarding/components/onboarding_body/cards/siem_migrations/integrations/index.ts
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Unknown metric groupsAPI count
async chunk count
ESLint disabled line counts
Total ESLint disabled count
History
cc @semd |
| topCalloutRenderer?: TopCalloutRenderer; | ||
| } | ||
|
|
||
| export const SecurityMigrationIntegrations = withAvailablePackages<SecurityIntegrationsProps>( |
There was a problem hiding this comment.
nit - Consider moving this component in its own file.
logeekal
left a comment
There was a problem hiding this comment.
LGTM 🚀 . Added some small nits but no blocker from my side.
Thank you for incorporating the feedback.
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/15301412830 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…c#221493) ## Summary issue: elastic/security-team#12309 Introduces the integrations card in the SIEM migrations topic, after the "start rule migration" card. Requirements: - The same integrations card UI as the rest of the onboarding topics. - When no migration is complete, show the same recommended integrations as the default topic. - When some migration is complete, show the integrations detected by the rule migrations (all of them). - Render a label next to the title showing the number of migration rules linked to the integration (both prebuilt and custom rules) - Sort the integrations list by the number of rules linked. - As the last integration item in the list, render a card to link the integration auto-import ### Screenshots When no migration has been executed yet:  When some migrations have been completed:  Auto import card is appended at the end:  --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
…c#221493) ## Summary issue: elastic/security-team#12309 Introduces the integrations card in the SIEM migrations topic, after the "start rule migration" card. Requirements: - The same integrations card UI as the rest of the onboarding topics. - When no migration is complete, show the same recommended integrations as the default topic. - When some migration is complete, show the integrations detected by the rule migrations (all of them). - Render a label next to the title showing the number of migration rules linked to the integration (both prebuilt and custom rules) - Sort the integrations list by the number of rules linked. - As the last integration item in the list, render a card to link the integration auto-import ### Screenshots When no migration has been executed yet:  When some migrations have been completed:  Auto import card is appended at the end:  --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
…c#221493) ## Summary issue: elastic/security-team#12309 Introduces the integrations card in the SIEM migrations topic, after the "start rule migration" card. Requirements: - The same integrations card UI as the rest of the onboarding topics. - When no migration is complete, show the same recommended integrations as the default topic. - When some migration is complete, show the integrations detected by the rule migrations (all of them). - Render a label next to the title showing the number of migration rules linked to the integration (both prebuilt and custom rules) - Sort the integrations list by the number of rules linked. - As the last integration item in the list, render a card to link the integration auto-import ### Screenshots When no migration has been executed yet:  When some migrations have been completed:  Auto import card is appended at the end:  --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b5915de) # Conflicts: # x-pack/solutions/security/plugins/security_solution/public/common/lib/integrations/hooks/use_integration_card_list.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…221493) (#222965) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] Integrations card in automatic migrations (#221493)](#221493) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Sergi Massaneda","email":"sergi.massaneda@elastic.co"},"sourceCommit":{"committedDate":"2025-05-28T13:27:59Z","message":"[Security Solution] Integrations card in automatic migrations (#221493)\n\n## Summary\n\nissue: https://github.com/elastic/security-team/issues/12309\n\nIntroduces the integrations card in the SIEM migrations topic, after the\n\"start rule migration\" card.\n\nRequirements:\n\n- The same integrations card UI as the rest of the onboarding topics.\n- When no migration is complete, show the same recommended integrations\nas the default topic.\n- When some migration is complete, show the integrations detected by the\nrule migrations (all of them).\n- Render a label next to the title showing the number of migration rules\nlinked to the integration (both prebuilt and custom rules)\n - Sort the integrations list by the number of rules linked.\n- As the last integration item in the list, render a card to link the\nintegration auto-import\n\n### Screenshots\n\nWhen no migration has been executed yet:\n\n\n\nWhen some migrations have been completed:\n\n\n\nAuto import card is appended at the end:\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"b5915de827ecb1656e242c4e0bc4317b12d546cf","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","Team:Fleet","Team:Threat Hunting","Team: SecuritySolution","backport:version","v9.1.0","v8.19.0"],"title":"[Security Solution] Integrations card in automatic migrations","number":221493,"url":"https://github.com/elastic/kibana/pull/221493","mergeCommit":{"message":"[Security Solution] Integrations card in automatic migrations (#221493)\n\n## Summary\n\nissue: https://github.com/elastic/security-team/issues/12309\n\nIntroduces the integrations card in the SIEM migrations topic, after the\n\"start rule migration\" card.\n\nRequirements:\n\n- The same integrations card UI as the rest of the onboarding topics.\n- When no migration is complete, show the same recommended integrations\nas the default topic.\n- When some migration is complete, show the integrations detected by the\nrule migrations (all of them).\n- Render a label next to the title showing the number of migration rules\nlinked to the integration (both prebuilt and custom rules)\n - Sort the integrations list by the number of rules linked.\n- As the last integration item in the list, render a card to link the\nintegration auto-import\n\n### Screenshots\n\nWhen no migration has been executed yet:\n\n\n\nWhen some migrations have been completed:\n\n\n\nAuto import card is appended at the end:\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"b5915de827ecb1656e242c4e0bc4317b12d546cf"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221493","number":221493,"mergeCommit":{"message":"[Security Solution] Integrations card in automatic migrations (#221493)\n\n## Summary\n\nissue: https://github.com/elastic/security-team/issues/12309\n\nIntroduces the integrations card in the SIEM migrations topic, after the\n\"start rule migration\" card.\n\nRequirements:\n\n- The same integrations card UI as the rest of the onboarding topics.\n- When no migration is complete, show the same recommended integrations\nas the default topic.\n- When some migration is complete, show the integrations detected by the\nrule migrations (all of them).\n- Render a label next to the title showing the number of migration rules\nlinked to the integration (both prebuilt and custom rules)\n - Sort the integrations list by the number of rules linked.\n- As the last integration item in the list, render a card to link the\nintegration auto-import\n\n### Screenshots\n\nWhen no migration has been executed yet:\n\n\n\nWhen some migrations have been completed:\n\n\n\nAuto import card is appended at the end:\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"b5915de827ecb1656e242c4e0bc4317b12d546cf"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…c#221493) ## Summary issue: elastic/security-team#12309 Introduces the integrations card in the SIEM migrations topic, after the "start rule migration" card. Requirements: - The same integrations card UI as the rest of the onboarding topics. - When no migration is complete, show the same recommended integrations as the default topic. - When some migration is complete, show the integrations detected by the rule migrations (all of them). - Render a label next to the title showing the number of migration rules linked to the integration (both prebuilt and custom rules) - Sort the integrations list by the number of rules linked. - As the last integration item in the list, render a card to link the integration auto-import ### Screenshots When no migration has been executed yet:  When some migrations have been completed:  Auto import card is appended at the end:  --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
issue: https://github.com/elastic/security-team/issues/12309
Introduces the integrations card in the SIEM migrations topic, after the "start rule migration" card.
Requirements:
Screenshots
When no migration has been executed yet:
When some migrations have been completed:
Auto import card is appended at the end: