mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Synthetics] Allow ssl.certificate_authorities arrays (#187952)
## Summary Fixes https://github.com/elastic/kibana/issues/183300 !! Allows arrays of string for `ssl.certificate_authorities` ### test project monitor heartbeat.monitors: - type: http name: Todos Lightweight id: todos-lightweight enabled: true urls: "https://elastic.github.io/synthetics-demo/" schedule: '@every 3m' timeout: 16s ssl: certificate_authorities: ['/etc/ca.crt']
This commit is contained in:
parent
c861f63dd7
commit
e017b0e8ed
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ const ScheduleCodec = t.interface({
|
|||
|
||||
// TLSFields
|
||||
export const TLSFieldsCodec = t.partial({
|
||||
[ConfigKey.TLS_CERTIFICATE_AUTHORITIES]: t.string,
|
||||
[ConfigKey.TLS_CERTIFICATE_AUTHORITIES]: t.union([t.string, t.array(t.string)]),
|
||||
[ConfigKey.TLS_CERTIFICATE]: t.string,
|
||||
[ConfigKey.TLS_VERIFICATION_MODE]: VerificationModeCodec,
|
||||
[ConfigKey.TLS_VERSION]: t.array(TLSVersionCodec),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue