-
Notifications
You must be signed in to change notification settings - Fork 664
Fix stack-dependent related_integrations.version export #6208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Mikaayenson
merged 18 commits into
main
from
5601-bug-improper-prebuilt-rule-version-usage-in-security_detection_engine-package-versions
Jun 5, 2026
+541
−99
Merged
Changes from 9 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
728e8f6
fix(integrations): emit stack-invariant OR ranges for related_integra…
Mikaayenson 6d88831
fix(integrations): emit stack-invariant OR ranges for related_integra…
Mikaayenson 73c0780
fix(integrations): satisfy ruff SIM110 in _major_has_compatible_stack
Mikaayenson 07cd5a0
fix(integrations): address review feedback for stack-major resolution
Mikaayenson 2ac6605
Merge branch 'main' into 5601-bug-improper-prebuilt-rule-version-usag…
Mikaayenson 1d9fae1
fix(integrations): tighten stack-major overlap and anchor resolution
Mikaayenson 2302006
fix(integrations): annotate majors_to_check for pyright
Mikaayenson 76e0369
fix(integrations): rebase #6208 onto main with #6251 schema-aware OR …
Mikaayenson eef18f2
style(rule): apply ruff format for CI code-checks
Mikaayenson 6ae62b1
fix(integrations): address PR review on version range export
Mikaayenson adc4f10
fix(integrations): anchor RI export to shipped stack backports only
Mikaayenson 655cffc
refactor(integrations): simplify version range export helpers
Mikaayenson 9adb920
fix(rule): dedupe ES|QL related_integrations metadata package row
Mikaayenson d4cc69c
test(integrations): drop brittle ES|QL rule-file export tests
Mikaayenson 0919416
refactor(integrations): dedupe schema floor lookup and trim comments
Mikaayenson 6a37067
fix(integrations): walk shipped stack lines for RI anchor collection
Mikaayenson 429ab99
fix(rule): dedupe NON_DATASET metadata RI rows when datasets cover pa…
Mikaayenson bdbec2a
Merge branch 'main' into 5601-bug-improper-prebuilt-rule-version-usag…
Mikaayenson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this if check:
I don't think any of our manifests include a situation where
hi is Noneunless one were to have a manifest with an unbounded range (e.g. ">=8.12.0"). Fine to have this check, but given this I am not sure that this functions as intended.For the case with an unbounded range
majors_to_checkonly will have[8]and not any other stack majors. Not sure if this accomplishes the goal.Whereas for the case in the note, it correctly has multiple stack versions to check.