From ea71ac14365bfe5d83c46f9a74492533125b9b3d Mon Sep 17 00:00:00 2001 From: Ashokaditya Date: Thu, 14 Nov 2024 09:58:35 +0100 Subject: [PATCH] exclude CA from auto-ops service setup config follow up of https://github.com/elastic/kibana/pull/200073 --- x-pack/plugins/data_usage/server/services/autoops_api.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/x-pack/plugins/data_usage/server/services/autoops_api.ts b/x-pack/plugins/data_usage/server/services/autoops_api.ts index 03b56df08e9b5..d08a18159f929 100644 --- a/x-pack/plugins/data_usage/server/services/autoops_api.ts +++ b/x-pack/plugins/data_usage/server/services/autoops_api.ts @@ -46,8 +46,7 @@ export class AutoOpsAPIService { logger.debug( `[AutoOps API] Creating autoops agent with TLS cert: ${ autoopsConfig?.api?.tls?.certificate ? '[REDACTED]' : 'undefined' - } and TLS key: ${autoopsConfig?.api?.tls?.key ? '[REDACTED]' : 'undefined'} - and TLS ca: ${autoopsConfig?.api?.tls?.ca ? '[REDACTED]' : 'undefined'}` + } and TLS key: ${autoopsConfig?.api?.tls?.key ? '[REDACTED]' : 'undefined'}` ); const tlsConfig = this.createTlsConfig(autoopsConfig); @@ -146,7 +145,6 @@ export class AutoOpsAPIService { enabled: true, certificate: autoopsConfig?.api?.tls?.certificate, key: autoopsConfig?.api?.tls?.key, - certificateAuthorities: autoopsConfig?.api?.tls?.ca, }) ); } @@ -164,7 +162,6 @@ export class AutoOpsAPIService { ...requestConfig.httpsAgent.options, cert: requestConfig.httpsAgent.options.cert ? 'REDACTED' : undefined, key: requestConfig.httpsAgent.options.key ? 'REDACTED' : undefined, - ca: requestConfig.httpsAgent.options.ca ? 'REDACTED' : undefined, }, }, });