Skip to content

[8.x] [Security Solution] Force upgrading to target version for "Reference URLs" when base version is missing (#214161)#214254

Merged
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-214161
Mar 12, 2025
Merged

[8.x] [Security Solution] Force upgrading to target version for "Reference URLs" when base version is missing (#214161)#214254
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-214161

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

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 added the backport This PR is a backport of another PR label Mar 12, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 12, 2025 17:48
@kibanamachine kibanamachine merged commit 98bec01 into elastic:8.x Mar 12, 2025
11 checks passed
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.

2 participants