Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.16] [UII] Drop ssl field from output if it's in an invalid format (#211848) #212152

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

jen-huang
Copy link
Contributor

Backport

This will backport the following commits from main to 8.16:

Questions ?

Please refer to the Backport tool documentation

…c#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
elastic#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
@jen-huang jen-huang enabled auto-merge (squash) February 21, 2025 19:44
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Feb 21, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@jen-huang jen-huang merged commit 4e7e2a1 into elastic:8.16 Feb 22, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants