elastic / elastic/docs

Add breaking change note for YAML validation change

Open
#3,349 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
265
Forks
347
Avg merge
3d 15h
Merged PRs (30d)
2

Description

The fleet plugin recently changed from using `js-yaml` to the `yaml` package in https://github.com/elastic/kibana/pull/252345 and with that, we introduced an accidental breaking change.

On Kibana versions 9.4+, the YAML validation is stricter (YAML 1.2 vs the old YAML 1.1), meaning that YAML that would previously pass validation is now rejected. This causes silent failures on upgrade to 9.4+ that the user is unaware of until they try to edit a policy. We are tracking an issue [here](https://github.com/elastic/kibana/issues/280822) to auto-detect this and improve it. In the meantime, we should update the docs to warn users that they will encounter silent breaking-changes and will not see the errors until they go in to edit policies.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.