Skip to content

[9.2] [Security Solution][Detection Engine] Fix threshold rule logic with no group by fields defined (#241022)#241125

Merged
kibanamachine merged 1 commit intoelastic:9.2from
kibanamachine:backport/9.2/pr-241022
Oct 29, 2025
Merged

[9.2] [Security Solution][Detection Engine] Fix threshold rule logic with no group by fields defined (#241022)#241125
kibanamachine merged 1 commit intoelastic:9.2from
kibanamachine:backport/9.2/pr-241022

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

…o group by fields defined (elastic#241022)

Fixes a regression in threshold rule logic introduced by
elastic#216887 - threshold rules with no
"group by" fields defined would no longer generate alerts.

(cherry picked from commit fce9007)
@kibanamachine kibanamachine merged commit 341ddbb into elastic:9.2 Oct 29, 2025
16 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/group1/config.ts / Alerting getActionErrorLog get and filter action error logs for rules with multiple action errors
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Basic Operations creates objects with internal privileges
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Basic Operations deletes objects with internal access
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Basic Operations finds objects without security filtering
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Basic Operations performs CRUD operations without user authentication
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Basic Operations updates objects without user context
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Error Handling and Edge Cases handles invalid parameters gracefully
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Error Handling and Edge Cases handles non-existent objects gracefully
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Error Handling and Edge Cases maintains consistency across operations
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Extension Functionality excludes security extension automatically
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Extension Functionality handles extension factories gracefully when undefined
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Extension Functionality respects custom extension exclusions
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Hidden Types Access accesses hidden types when includedHiddenTypes specified
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Hidden Types Access cannot access hidden types when not specified
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Hidden Types Access works with multiple hidden types
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Security Validation accesses restricted objects internally
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Security Validation bypasses user-based security filtering
  • [job] [logs] Jest Integration Tests #5 / SavedObjects Internal Client Integration Security Validation operates with system-level privileges

Metrics [docs]

✅ unchanged

cc @marshallmain

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