Skip to content

[9.0] [Security Solution] Force upgrading to target version for "Reference URLs" when base version is missing (#214161)#214255

Merged
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-214161
Mar 12, 2025
Merged

[9.0] [Security Solution] Force upgrading to target version for "Reference URLs" when base version is missing (#214161)#214255
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-214161

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

…URLs" when base version is missing (elastic#214161)

**Resolves: elastic#214171

## Summary

This PR fixes an issue with "references" field in -AB situations. When
the base version is missing we try to merge current and target arrays
which leads to old and potentially broken URLs from the current version
ending up in the result.

Now the behaviour is changed to always force merged version to be equal
to target (which always has correct URLs).

(cherry picked from commit 0701281)
@kibanamachine kibanamachine merged commit d9006c5 into elastic:9.0 Mar 12, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @nikitaindik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants