[Security Solution] Move license level independent tests to the common folder#225495
Conversation
9983fe1 to
c6dd267
Compare
|
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
|
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
💚 Build Succeeded
Metrics [docs]
History
cc @maximpn |
There was a problem hiding this comment.
Where are we pulling the changelog, notice, license stuff from?
There was a problem hiding this comment.
This got to the diff by mistake and removed. Thanks for noticing!
dplumlee
left a comment
There was a problem hiding this comment.
File organization changes lgtm
d7aae97 to
8de181a
Compare
… common folder (#225495) (#226229) # Backport This will backport the following commits from `main` to `9.1`: - [[Security Solution] Move license level independent tests to the common folder (#225495)](#225495) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-02T14:10:01Z","message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","refactoring","release_note:skip","impact:medium","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security Solution] Move license level independent tests to the common folder","number":225495,"url":"https://github.com/elastic/kibana/pull/225495","mergeCommit":{"message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/225495","number":225495,"mergeCommit":{"message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f"}}]}] BACKPORT--> Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
…e common folder (#225495) (#226240) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] Move license level independent tests to the common folder (#225495)](#225495) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-02T14:10:01Z","message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","refactoring","release_note:skip","impact:medium","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security Solution] Move license level independent tests to the common folder","number":225495,"url":"https://github.com/elastic/kibana/pull/225495","mergeCommit":{"message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226229","number":226229,"state":"OPEN"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/225495","number":225495,"mergeCommit":{"message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f"}}]}] BACKPORT-->
…n folder (elastic#225495) **Relates to:** elastic#219831 ## Summary This PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder. (cherry picked from commit 55e3292) # Conflicts: # .buildkite/ftr_security_stateful_configs.yml # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/revert_prebuilt_rules/get_prebuilt_rule_base_version.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/revert_prebuilt_rules/index.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/revert_prebuilt_rules/revert_prebuilt_rules.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/customization_enabled/revert_prebuilt_rules/index.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/ml_disabled/perform_installation/index.ts
…n folder (elastic#225495) **Relates to:** elastic#219831 ## Summary This PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder. (cherry picked from commit 55e3292) # Conflicts: # .buildkite/ftr_security_stateful_configs.yml # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/install_prebuilt_rules/install_mocked_prebuilt_rule_assets.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/revert_prebuilt_rules/get_prebuilt_rule_base_version.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/revert_prebuilt_rules/index.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/revert_prebuilt_rules/revert_prebuilt_rules.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/customization_enabled/revert_prebuilt_rules/index.ts # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/ml_disabled/perform_installation/index.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…n folder (elastic#225495) **Relates to:** elastic#219831 This PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder. (cherry picked from commit 55e3292)
…n folder (elastic#225495) **Relates to:** elastic#219831 This PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder. (cherry picked from commit 55e3292)
… common folder (#225495) (#226672) # Backport This will backport the following commits from `main` to `9.0`: - [[Security Solution] Move license level independent tests to the common folder (#225495)](#225495) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-02T14:10:01Z","message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","refactoring","release_note:skip","impact:medium","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security Solution] Move license level independent tests to the common folder","number":225495,"url":"https://github.com/elastic/kibana/pull/225495","mergeCommit":{"message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226229","number":226229,"state":"MERGED","mergeCommit":{"sha":"9de182dd3c597c921fb387d932a57c7a4a39da54","message":"[9.1] [Security Solution] Move license level independent tests to the common folder (#225495) (#226229)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.1`:\n- [[Security Solution] Move license level independent tests to the\ncommon folder (#225495)](https://github.com/elastic/kibana/pull/225495)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Maxim Palenov <maxim.palenov@elastic.co>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226240","number":226240,"state":"MERGED","mergeCommit":{"sha":"677f63901a7bfec074cde51bcff0aa3cfe4bc3ca","message":"[8.19] [Security Solution] Move license level independent tests to the common folder (#225495) (#226240)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.19`:\n- [[Security Solution] Move license level independent tests to the\ncommon folder (#225495)](https://github.com/elastic/kibana/pull/225495)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/225495","number":225495,"mergeCommit":{"message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f"}}]}] BACKPORT-->
|
Starting backport for target branches: 8.19, 9.0, 9.1 https://github.com/elastic/kibana/actions/runs/16089251958 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…e common folder (#225495) (#226673) # Backport This will backport the following commits from `main` to `8.18`: - [[Security Solution] Move license level independent tests to the common folder (#225495)](#225495) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-02T14:10:01Z","message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","refactoring","release_note:skip","impact:medium","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security Solution] Move license level independent tests to the common folder","number":225495,"url":"https://github.com/elastic/kibana/pull/225495","mergeCommit":{"message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226229","number":226229,"state":"MERGED","mergeCommit":{"sha":"9de182dd3c597c921fb387d932a57c7a4a39da54","message":"[9.1] [Security Solution] Move license level independent tests to the common folder (#225495) (#226229)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.1`:\n- [[Security Solution] Move license level independent tests to the\ncommon folder (#225495)](https://github.com/elastic/kibana/pull/225495)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Maxim Palenov <maxim.palenov@elastic.co>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/226240","number":226240,"state":"MERGED","mergeCommit":{"sha":"677f63901a7bfec074cde51bcff0aa3cfe4bc3ca","message":"[8.19] [Security Solution] Move license level independent tests to the common folder (#225495) (#226240)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.19`:\n- [[Security Solution] Move license level independent tests to the\ncommon folder (#225495)](https://github.com/elastic/kibana/pull/225495)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/225495","number":225495,"mergeCommit":{"message":"[Security Solution] Move license level independent tests to the common folder (#225495)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.","sha":"55e329206dae0e4ba76a5eebdd759dec6c8dd46f"}}]}] BACKPORT-->
|
Starting backport for target branches: 8.18, 8.19, 9.0, 9.1 https://github.com/elastic/kibana/actions/runs/16089517291 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…e integration tests (#226759) ## Summary This PR enables accidentally skipped prebuilt rules package integration tests. ## Details The integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts. Enabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license. Just for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.
…e integration tests (elastic#226759) ## Summary This PR enables accidentally skipped prebuilt rules package integration tests. ## Details The integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in elastic#225495 as the result of merge conflicts. Enabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license. Just for the record, ML related UI issues has been addressed in elastic#224676. It means that users may observe this error under low-tier license only by using the API directly. (cherry picked from commit 189cfb5)
…e integration tests (elastic#226759) ## Summary This PR enables accidentally skipped prebuilt rules package integration tests. ## Details The integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in elastic#225495 as the result of merge conflicts. Enabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license. Just for the record, ML related UI issues has been addressed in elastic#224676. It means that users may observe this error under low-tier license only by using the API directly. (cherry picked from commit 189cfb5)
…package integration tests (#226759) (#227506) # Backport This will backport the following commits from `main` to `9.1`: - [[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)](#226759) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T17:32:29Z","message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests","number":226759,"url":"https://github.com/elastic/kibana/pull/226759","mergeCommit":{"message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226759","number":226759,"mergeCommit":{"message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
… package integration tests (#226759) (#227505) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)](#226759) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T17:32:29Z","message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests","number":226759,"url":"https://github.com/elastic/kibana/pull/226759","mergeCommit":{"message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226759","number":226759,"mergeCommit":{"message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
…e integration tests (elastic#226759) ## Summary This PR enables accidentally skipped prebuilt rules package integration tests. ## Details The integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in elastic#225495 as the result of merge conflicts. Enabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license. Just for the record, ML related UI issues has been addressed in elastic#224676. It means that users may observe this error under low-tier license only by using the API directly. (cherry picked from commit 189cfb5) # Conflicts: # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/index.ts
…e integration tests (elastic#226759) ## Summary This PR enables accidentally skipped prebuilt rules package integration tests. ## Details The integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in elastic#225495 as the result of merge conflicts. Enabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license. Just for the record, ML related UI issues has been addressed in elastic#224676. It means that users may observe this error under low-tier license only by using the API directly. (cherry picked from commit 189cfb5) # Conflicts: # x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/index.ts
…package integration tests (#226759) (#227565) # Backport This will backport the following commits from `main` to `9.0`: - [[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)](#226759) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T17:32:29Z","message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests","number":226759,"url":"https://github.com/elastic/kibana/pull/226759","mergeCommit":{"message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227506","number":227506,"state":"MERGED","mergeCommit":{"sha":"93f21228e7cf49d7f93ea857c2a815203083181d","message":"[9.1] [Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759) (#227506)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.1`:\n- [[Security Solution] Enable accidentally skipped prebuilt rules\npackage integration tests\n(#226759)](https://github.com/elastic/kibana/pull/226759)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Maxim Palenov <maxim.palenov@elastic.co>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227505","number":227505,"state":"MERGED","mergeCommit":{"sha":"4c9c5dfadc63a489fbdba79f18f94134cb08c80b","message":"[8.19] [Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759) (#227505)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.19`:\n- [[Security Solution] Enable accidentally skipped prebuilt rules\npackage integration tests\n(#226759)](https://github.com/elastic/kibana/pull/226759)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Maxim Palenov <maxim.palenov@elastic.co>"}},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226759","number":226759,"mergeCommit":{"message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
… package integration tests (#226759) (#227566) # Backport This will backport the following commits from `main` to `8.18`: - [[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)](#226759) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T17:32:29Z","message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests","number":226759,"url":"https://github.com/elastic/kibana/pull/226759","mergeCommit":{"message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227506","number":227506,"state":"MERGED","mergeCommit":{"sha":"93f21228e7cf49d7f93ea857c2a815203083181d","message":"[9.1] [Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759) (#227506)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.1`:\n- [[Security Solution] Enable accidentally skipped prebuilt rules\npackage integration tests\n(#226759)](https://github.com/elastic/kibana/pull/226759)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Maxim Palenov <maxim.palenov@elastic.co>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227505","number":227505,"state":"MERGED","mergeCommit":{"sha":"4c9c5dfadc63a489fbdba79f18f94134cb08c80b","message":"[8.19] [Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759) (#227505)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.19`:\n- [[Security Solution] Enable accidentally skipped prebuilt rules\npackage integration tests\n(#226759)](https://github.com/elastic/kibana/pull/226759)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Maxim Palenov <maxim.palenov@elastic.co>"}},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226759","number":226759,"mergeCommit":{"message":"[Security Solution] Enable accidentally skipped prebuilt rules package integration tests (#226759)\n\n## Summary\n\nThis PR enables accidentally skipped prebuilt rules package integration tests.\n\n## Details\n\nThe integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in #225495 as the result of merge conflicts.\n\nEnabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license.\n\nJust for the record, ML related UI issues has been addressed in #224676. It means that users may observe this error under low-tier license only by using the API directly.","sha":"189cfb5bce4e490e73e1c16faf8bddbd203d8b2a"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…n folder (elastic#225495) **Relates to:** elastic#219831 ## Summary This PR moves prebuilt rules license independent integration tests to the `prebuilt_rules/common` folder.
…e integration tests (elastic#226759) ## Summary This PR enables accidentally skipped prebuilt rules package integration tests. ## Details The integration tests were accidentally skipped by missing `loadTestFile(require.resolve('./prebuilt_rules_package'));` line in elastic#225495 as the result of merge conflicts. Enabling those integration tests revealed an issue with the installing all prebuilt rules integration tests. Since the prebuilt rules package contains ML rules all rules installation fails under the low-tier license as ML rules require high-tier license. So this single test was changed to run under high-tier license. Just for the record, ML related UI issues has been addressed in elastic#224676. It means that users may observe this error under low-tier license only by using the API directly.
Relates to: #219831
Summary
This PR moves prebuilt rules license independent integration tests to the
prebuilt_rules/commonfolder.