Skip to content

[8.x] [Security Solution] Allow prebuilt rules import and export (#212509)#213420

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

[8.x] [Security Solution] Allow prebuilt rules import and export (#212509)#213420
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-212509

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

…12509)

**Resolves: elastic/security-team#11502
(internal)

This PR implements following changes and adds API integration tests for
them:
- [x] Users with any license can export prebuilt rules (with enabled
feature flag)
- [x] Users with Basic/Essentials license can import prebuilt rules only
if they are non-customized and the feature flag is enabled
- [x] Users with Enterprise/Complete license can import prebuilt rules
without restrictions

Flaky test runner (had to create 4 separate runs to test all configs):
-
[1](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7987)
-
[2](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7986)
-
[3](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7988)
-
[4](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7989)

(cherry picked from commit ebe90e5)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 6, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 6, 2025 16:04
@kibanamachine kibanamachine merged commit 1531e20 into elastic:8.x Mar 6, 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.

3 participants