mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Security Solution] Integrations card in automatic migrations (#221493)
## 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: - 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>
This commit is contained in:
parent
a83a837e8d
commit
b5915de827
61 changed files with 1516 additions and 572 deletions
|
@ -1073,6 +1073,16 @@ finalize it.
|
|||
.set(ELASTIC_HTTP_VERSION_HEADER, '1')
|
||||
.set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana');
|
||||
},
|
||||
/**
|
||||
* Retrieves the stats of all the integrations for all the rule migrations, including the number of rules associated with the integration
|
||||
*/
|
||||
getRuleMigrationIntegrationsStats(kibanaSpace: string = 'default') {
|
||||
return supertest
|
||||
.get(routeWithNamespace('/internal/siem_migrations/rules/integrations/stats', kibanaSpace))
|
||||
.set('kbn-xsrf', 'true')
|
||||
.set(ELASTIC_HTTP_VERSION_HEADER, '1')
|
||||
.set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana');
|
||||
},
|
||||
/**
|
||||
* Retrieves all available prebuilt rules (installed and installable)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue