Skip to content

[9.0] [Security Solution] Allow prebuilt rules import and export (#212509)#213421

Merged
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-212509
Mar 6, 2025
Merged

[9.0] [Security Solution] Allow prebuilt rules import and export (#212509)#213421
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-212509

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

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
@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 6, 2025

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Detection Engine - Security Solution Cypress Tests #4 / Custom query rules Custom detection rules creation with data views Creates and enables a new rule Creates and enables a new rule

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 8.8MB 8.8MB +10.0B

History

cc @nikitaindik

@kibanamachine kibanamachine merged commit 3db6edb into elastic:9.0 Mar 6, 2025
12 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