diff --git a/x-pack/solutions/security/plugins/security_solution/common/api/quickstart_client.gen.ts b/x-pack/solutions/security/plugins/security_solution/common/api/quickstart_client.gen.ts index 52575bed4e8db..95ecaa8ad4c75 100644 --- a/x-pack/solutions/security/plugins/security_solution/common/api/quickstart_client.gen.ts +++ b/x-pack/solutions/security/plugins/security_solution/common/api/quickstart_client.gen.ts @@ -367,7 +367,6 @@ import type { GetRuleMigrationRequestQueryInput, GetRuleMigrationRequestParamsInput, GetRuleMigrationResponse, - GetRuleMigrationIntegrationsRequestParamsInput, GetRuleMigrationIntegrationsResponse, GetRuleMigrationPrebuiltRulesRequestParamsInput, GetRuleMigrationPrebuiltRulesResponse, @@ -1460,14 +1459,11 @@ finalize it. /** * Retrieves all related integrations */ - async getRuleMigrationIntegrations(props: GetRuleMigrationIntegrationsProps) { + async getRuleMigrationIntegrations() { this.log.info(`${new Date().toISOString()} Calling API GetRuleMigrationIntegrations`); return this.kbnClient .request({ - path: replaceParams( - '/internal/siem_migrations/rules/{migration_id}/integrations', - props.params - ), + path: '/internal/siem_migrations/rules/{migration_id}/integrations', headers: { [ELASTIC_HTTP_VERSION_HEADER]: '1', }, @@ -2479,9 +2475,6 @@ export interface GetRuleMigrationProps { query: GetRuleMigrationRequestQueryInput; params: GetRuleMigrationRequestParamsInput; } -export interface GetRuleMigrationIntegrationsProps { - params: GetRuleMigrationIntegrationsRequestParamsInput; -} export interface GetRuleMigrationPrebuiltRulesProps { params: GetRuleMigrationPrebuiltRulesRequestParamsInput; } diff --git a/x-pack/test/api_integration/services/security_solution_api.gen.ts b/x-pack/test/api_integration/services/security_solution_api.gen.ts index 4e77adee8d36e..61c7766b8b5be 100644 --- a/x-pack/test/api_integration/services/security_solution_api.gen.ts +++ b/x-pack/test/api_integration/services/security_solution_api.gen.ts @@ -100,7 +100,6 @@ import { GetRuleMigrationRequestQueryInput, GetRuleMigrationRequestParamsInput, } from '@kbn/security-solution-plugin/common/siem_migrations/model/api/rules/rule_migration.gen'; -import { GetRuleMigrationIntegrationsRequestParamsInput } from '@kbn/security-solution-plugin/common/siem_migrations/model/api/rules/rule_migration.gen'; import { GetRuleMigrationPrebuiltRulesRequestParamsInput } from '@kbn/security-solution-plugin/common/siem_migrations/model/api/rules/rule_migration.gen'; import { GetRuleMigrationResourcesRequestQueryInput, @@ -978,17 +977,11 @@ finalize it. /** * Retrieves all related integrations */ - getRuleMigrationIntegrations( - props: GetRuleMigrationIntegrationsProps, - kibanaSpace: string = 'default' - ) { + getRuleMigrationIntegrations(kibanaSpace: string = 'default') { return supertest .get( routeWithNamespace( - replaceParams( - '/internal/siem_migrations/rules/{migration_id}/integrations', - props.params - ), + '/internal/siem_migrations/rules/{migration_id}/integrations', kibanaSpace ) ) @@ -1815,9 +1808,6 @@ export interface GetRuleMigrationProps { query: GetRuleMigrationRequestQueryInput; params: GetRuleMigrationRequestParamsInput; } -export interface GetRuleMigrationIntegrationsProps { - params: GetRuleMigrationIntegrationsRequestParamsInput; -} export interface GetRuleMigrationPrebuiltRulesProps { params: GetRuleMigrationPrebuiltRulesRequestParamsInput; }