You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Watches containing one or more chained http inputs with redacted passwords are not returned by the Get Watch API. The following example uses a single http input. The same occurs with multiple http inputs in the chain.
Expect
Watch is returned with password field value ::es_redacted::.
Actual
{
"error": {
"root_cause": [
{
"type": "parse_exception",
"reason": "found redacted password in field [password]"
}
],
"type": "parse_exception",
"reason": "could not parse [http] input for watch [502_errors]. failed to parse http request template",
"caused_by": {
"type": "parse_exception",
"reason": "found redacted password in field [password]"
}
},
"status": 400
}
Workaround
Retrieve the watch by ID directly from the .watches system index.
GET .watches/doc/502_errors
Discovery
This issue surfaced while attempting to edit the watch with the Kibana Watcher UI. Clicking the watch in the UI results in the Watcher: Error 400 Bad Request: [parse_exception] found redacted password in field [password] red banner error at the top of the browser window. The 400 response returned by the Get Watch API prevents Kibana from loading the watch for UI editing.
The text was updated successfully, but these errors were encountered:
I can confirm the issue is resolved for watches created while running 6.3.2. The issue will still surface for watches registered in versions prior to 6.3.2. To fix existing watches after upgrading to 6.3.2 or later:
Fetch the watch by id from the .watches index; e.g., GET .watches/doc/502_errors/_source.
@inqueue What are the steps to "re-register" the watch with the Put Watch API? Do I need to delete the watch before registering it again?
Just grabbing the source from GET .watches/doc/my-watch/_source and passing the returned JSON to PUT _xpack/watcher/watch/my-watch does not fix the issue. I still get the [parse_exception] found redacted password in field [password] error when making changes through the Edit Watcher UI in Kibana.
Elasticsearch version: 6.3.1
Watches containing one or more chained
http
inputs with redacted passwords are not returned by the Get Watch API. The following example uses a singlehttp
input. The same occurs with multiplehttp
inputs in the chain.Fetch Watch
Expect
Watch is returned with
password
field value::es_redacted::
.Actual
Workaround
Retrieve the watch by ID directly from the
.watches
system index.Discovery
This issue surfaced while attempting to edit the watch with the Kibana Watcher UI. Clicking the watch in the UI results in the
Watcher: Error 400 Bad Request: [parse_exception] found redacted password in field [password]
red banner error at the top of the browser window. The400
response returned by the Get Watch API prevents Kibana from loading the watch for UI editing.The text was updated successfully, but these errors were encountered: