[9.0] [Security Solution] Implement prebuilt rules export test plan (#224611)#226666
Merged
maximpn merged 1 commit intoelastic:9.0from Jul 7, 2025
Merged
[9.0] [Security Solution] Implement prebuilt rules export test plan (#224611)#226666maximpn merged 1 commit intoelastic:9.0from
maximpn merged 1 commit intoelastic:9.0from
Conversation
…c#224611) **Addresses:** elastic#202079 **Relates to:** elastic#222796 ## Summary This PR implements Prebuilt Rules export [test plan](https://github.com/elastic/kibana/blob/main/x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/prebuilt_rule_export.md). Existing tests were adjusted and extended to match the test plan. ## Caveats The test plan describes a scenario to verify prebuilt rules export fails for 10K+ rules but this scenario is tricky to implement. Due to ES limitations on filtering more than 10K the majority of utility functions like `deleteAllRules()` fail. The proper implementation requires proper setup and cleanup to make sure the test doesn't block the testing workflow. As the result of the mentioned complexities implementation of the test scenario for 10K+ rules is skipped in this PR. (cherry picked from commit 6120cae) # Conflicts: # x-pack/solutions/security/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/prebuilt_rule_export.md
871d2f8 to
1899012
Compare
Contributor
💚 Build Succeeded
Metrics [docs]
History
|
banderror
approved these changes
Jul 7, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Backport
This will backport the following commits from
mainto9.0:Questions ?
Please refer to the Backport tool documentation