mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Response Ops][Connectors] Adding allowPartialTrustChain
for connector usage reporting task (#214193)
## Summary We need to pass this option to allow the CA certificate to be used for pushing to the usage API.
This commit is contained in:
parent
14871c31aa
commit
811d7cb4d4
1 changed files with 2 additions and 0 deletions
|
@ -298,6 +298,8 @@ export class ConnectorUsageReportingTask {
|
|||
headers: { 'Content-Type': 'application/json' },
|
||||
timeout: CONNECTOR_USAGE_REPORTING_TASK_TIMEOUT,
|
||||
httpsAgent: new https.Agent({
|
||||
// @ts-expect-error option added to node 20.18.0 but @types/node has not been updated to reflect this
|
||||
allowPartialTrustChain: true,
|
||||
ca: this.caCertificate,
|
||||
}),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue