-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UII] Drop ssl field from output if it's in an invalid format (#211848)
## Summary Reported in elastic/sdh-beats#5676. When retrieving outputs information, drop the `ssl` field if it's in an invalid format (causing `JSON.parse` to fail). This can happen for ES output with `ssl` field set via API, and then subsequently editing it from the UI (ES output `ssl` fields are currently unsupported, soon to be supported by #207326. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 0c932fd) # Conflicts: # x-pack/plugins/fleet/server/services/output.test.ts
- Loading branch information
Showing
2 changed files
with
56 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters