[Synthetics] ssl.certificate_authorities accepts only string not array #183300
Labels
bug
Fixes for quality problems that affect the customer experience
Synthetics
Team:obs-ux-management
Observability Management User Experience Team
Context
Kibana API returns an error when pushing (with the Synthetics agent) an HTTP monitor with the
ssl.certificate_authorities
set as an array.Error: Invalid value "["/etc/ca.crt"]" supplied to "ssl.certificate_authorities"
Problem
The documentation states that
ssl.certificate_authorities
also accepts array values. Despite so, at the moment it only accepts string. This is contrary to the documented example which shows an array as a valid option and also contrary to the HB documentation which states the following:"By default, you can specify a list of files that heartbeat will read, but you can also embed a certificate directly in the YAML configuration:"
heartbeat.yaml:
Kibana endpoint:
https://YOUR_KIBANA_URL/s/default/api/synthetics/project/THE_NAME_OF_YOUR_PROJECT_MONITOR/monitors/_bulk_update
CURL example
You will see below the associated SDH
The text was updated successfully, but these errors were encountered: