Skip to content

[8.17][Fleet] fix schema validation to allow undefined/null (#202732)#202878

Merged
juliaElastic merged 1 commit intoelastic:8.17from
juliaElastic:backport-202732-8.17
Dec 9, 2024
Merged

[8.17][Fleet] fix schema validation to allow undefined/null (#202732)#202878
juliaElastic merged 1 commit intoelastic:8.17from
juliaElastic:backport-202732-8.17

Conversation

@juliaElastic
Copy link
Contributor

Backport #202732 to 8.17

Fix a few issues encountered with schema validation.

One of them reported here:
https://discuss.elastic.co/t/fleet-error-updating-policy-settings/371332

The other encountered locally when testing upgrades:
```
"Failed output validation: [request body.items.0.upgrade_details]: expected a plain object value, but found [null] instead."
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@juliaElastic juliaElastic added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Dec 4, 2024
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Dec 4, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@juliaElastic juliaElastic enabled auto-merge (squash) December 4, 2024 08:17
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@juliaElastic juliaElastic merged commit bace51f into elastic:8.17 Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes 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