Skip to content

[9.1] [Detection Engine][Telemetry] Update test (#225937)#226228

Merged
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-225937
Jul 2, 2025
Merged

[9.1] [Detection Engine][Telemetry] Update test (#225937)#226228
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-225937

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

## Summary

Updated a test to check that the value of `has_exceptions` is greater
than 0 instead of checking for `1` specifically. Found that in MKI
alone, the prebuilt rules utilities don't seem to clean up. Prebuilt
rule installation gets called 8 times in these tests, each time
installing one rule with exceptions. Then in my test I add an exception
to one of the prebuilt rules without exceptions so it shows a total of
`has_exceptions: 9`.

(cherry picked from commit e974006)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Jul 2, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) July 2, 2025 14:17
@kibanamachine kibanamachine merged commit c3e681c into elastic:9.1 Jul 2, 2025
14 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @yctercero

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