Kibana version:
8.10.4
Elasticsearch version:
8.10.4
Server OS version:
Centos 8
Browser version:
Firefox 112+ , chrome 122.x+
Describe the bug:
When creating a watcher with a scripted condition through the Kibana user interface, JSON validation fails on version 8.10.4, whereas on version 7.16.2, the validation passes without any issues. However, creating the watcher via the API works correctly on both versions.
Steps to reproduce:
Create a watcher with a multiline script condition.
simulate it
Expected behavior:
validate multiline script
Screenshots (if relevant):
On Kibana 8.10.4:
On kibana 7.16.2 it's work fine:
Errors in browser console (if relevant):
Kibana version: 8.10.4 Elasticsearch version: 8.10.4 Server OS version: Centos 8 Browser version: Firefox 112+ , chrome 122.x+
Describe the bug: When creating a watcher with a scripted condition through the Kibana user interface, JSON validation fails on version 8.10.4, whereas on version 7.16.2, the validation passes without any issues. However, creating the watcher via the API works correctly on both versions.
Steps to reproduce:
Expected behavior: validate multiline script Screenshots (if relevant): On Kibana 8.10.4: On kibana 7.16.2 it's work fine: Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context: