Skip to content

[8.x][Fleet] fix schema validation to allow undefined/null (#202732)#202877

Merged
juliaElastic merged 1 commit intoelastic:8.xfrom
juliaElastic:backport-202732-8.x
Dec 9, 2024
Merged

[8.x][Fleet] fix schema validation to allow undefined/null (#202732)#202877
juliaElastic merged 1 commit intoelastic:8.xfrom
juliaElastic:backport-202732-8.x

Conversation

@juliaElastic
Copy link
Contributor

Backport #202732 to 8.x

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
@juliaElastic juliaElastic enabled auto-merge (squash) December 4, 2024 08:12
@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)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@juliaElastic juliaElastic merged commit 01a3368 into elastic:8.x 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