Commit 9c78a55
authored
# Backport
This will backport the following commits from `main` to `9.2`:
- [[Security Solution] Add FTR tests for prebuilt rules OOM testing
(#236891)](#236891)
<!--- 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-10-10T12:27:05Z","message":"[Security
Solution] Add FTR tests for prebuilt rules OOM testing
(#236891)\n\n**Partially addresses:**
https://github.com/elastic/kibana/issues/188090\n\n## Summary\n\nThis PR
contains FTR tests designed to expose potential Out of Memory (OOM)
issues in Kibana when performing memory-intensive operations related to
**Detection Prebuilt Rules**. The tests open a possibility to test
against any Prebuilt Rules fleet package version including prerelease
packages.\n\n## Running test instructions\n\n- Set up QAF by following
to the
[instructions](https://docs.elastic.dev/appex-qa/qaf/getting-started)
(internal)\n- Place the following Elastic Cloud plan in
`~/.qaf/config/cloud_plans/prebuilt_rules_oom_testing.yml`\n```yaml\n---\nname:
{{ deployment_name }}\nsettings:\n autoscaling_enabled: {{
autoscaling_enabled }}\nmetadata:\n system_owned: false\nresources:\n
elasticsearch:\n - region: {{ region }}\n settings:\n
dedicated_masters_threshold: 6\n plan:\n cluster_topology:\n -
zone_count: 1\n elasticsearch:\n node_attributes:\n data: hot\n
instance_configuration_id: gcp.es.datahot.n2.68x10x45\n node_roles:\n -
master\n - ingest\n - remote_cluster_client\n - data_hot\n - transform\n
- data_content\n id: hot_content\n size:\n value: 1024\n resource:
memory\n elasticsearch:\n version: {{ stack_version }}\n
deployment_template:\n id: gcp-storage-optimized\n ref_id:
main-elasticsearch\n enterprise_search: []\n kibana:\n -
elasticsearch_cluster_ref_id: main-elasticsearch\n region: {{ region
}}\n plan:\n cluster_topology:\n - instance_configuration_id:
gcp.kibana.n2.68x32x45\n zone_count: 1\n size:\n value: 1024\n resource:
memory\n kibana:\n version: {{ stack_version }}\n ref_id:
main-kibana\n```\n\n- Create an ECH deployment by running the following
command\n\n```bash\nqaf elastic-cloud deployments create --stack-version
9.3.0 --version-validation --deployment-name
prebuilt-rules-oom-test-9.3.0 --environment production --no-autoscaling
--no-sso --region gcp-us-west2 --plan
prebuilt_rules_oom_testing\n```\n\n- Run the tests by running the
following command\n\n```bash\nqaf kibana ftr run-config
--ec-deployment-name prebuilt-rules-oom-test-9.3.0 --kibana-repo-root
<kibana-root>
<kibana-root>/x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/oom_testing/configs/ess_basic_license.config.ts\n```\n\nwhere
`<kibana-root>` is the absolute path to the Kibana's root
folder.","sha":"d99c5b4b7211c1510f18f2b6260e24ea327b7d5a","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","Team:Detections and Resp","Team:
SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt
Detection
Rules","backport:version","v9.2.0","v9.3.0","v8.19.6","v9.0.9"],"title":"[Security
Solution] Add FTR tests for prebuilt rules OOM
testing","number":236891,"url":"https://github.com/elastic/kibana/pull/236891","mergeCommit":{"message":"[Security
Solution] Add FTR tests for prebuilt rules OOM testing
(#236891)\n\n**Partially addresses:**
https://github.com/elastic/kibana/issues/188090\n\n## Summary\n\nThis PR
contains FTR tests designed to expose potential Out of Memory (OOM)
issues in Kibana when performing memory-intensive operations related to
**Detection Prebuilt Rules**. The tests open a possibility to test
against any Prebuilt Rules fleet package version including prerelease
packages.\n\n## Running test instructions\n\n- Set up QAF by following
to the
[instructions](https://docs.elastic.dev/appex-qa/qaf/getting-started)
(internal)\n- Place the following Elastic Cloud plan in
`~/.qaf/config/cloud_plans/prebuilt_rules_oom_testing.yml`\n```yaml\n---\nname:
{{ deployment_name }}\nsettings:\n autoscaling_enabled: {{
autoscaling_enabled }}\nmetadata:\n system_owned: false\nresources:\n
elasticsearch:\n - region: {{ region }}\n settings:\n
dedicated_masters_threshold: 6\n plan:\n cluster_topology:\n -
zone_count: 1\n elasticsearch:\n node_attributes:\n data: hot\n
instance_configuration_id: gcp.es.datahot.n2.68x10x45\n node_roles:\n -
master\n - ingest\n - remote_cluster_client\n - data_hot\n - transform\n
- data_content\n id: hot_content\n size:\n value: 1024\n resource:
memory\n elasticsearch:\n version: {{ stack_version }}\n
deployment_template:\n id: gcp-storage-optimized\n ref_id:
main-elasticsearch\n enterprise_search: []\n kibana:\n -
elasticsearch_cluster_ref_id: main-elasticsearch\n region: {{ region
}}\n plan:\n cluster_topology:\n - instance_configuration_id:
gcp.kibana.n2.68x32x45\n zone_count: 1\n size:\n value: 1024\n resource:
memory\n kibana:\n version: {{ stack_version }}\n ref_id:
main-kibana\n```\n\n- Create an ECH deployment by running the following
command\n\n```bash\nqaf elastic-cloud deployments create --stack-version
9.3.0 --version-validation --deployment-name
prebuilt-rules-oom-test-9.3.0 --environment production --no-autoscaling
--no-sso --region gcp-us-west2 --plan
prebuilt_rules_oom_testing\n```\n\n- Run the tests by running the
following command\n\n```bash\nqaf kibana ftr run-config
--ec-deployment-name prebuilt-rules-oom-test-9.3.0 --kibana-repo-root
<kibana-root>
<kibana-root>/x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/oom_testing/configs/ess_basic_license.config.ts\n```\n\nwhere
`<kibana-root>` is the absolute path to the Kibana's root
folder.","sha":"d99c5b4b7211c1510f18f2b6260e24ea327b7d5a"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/238438","number":238438,"state":"OPEN"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236891","number":236891,"mergeCommit":{"message":"[Security
Solution] Add FTR tests for prebuilt rules OOM testing
(#236891)\n\n**Partially addresses:**
https://github.com/elastic/kibana/issues/188090\n\n## Summary\n\nThis PR
contains FTR tests designed to expose potential Out of Memory (OOM)
issues in Kibana when performing memory-intensive operations related to
**Detection Prebuilt Rules**. The tests open a possibility to test
against any Prebuilt Rules fleet package version including prerelease
packages.\n\n## Running test instructions\n\n- Set up QAF by following
to the
[instructions](https://docs.elastic.dev/appex-qa/qaf/getting-started)
(internal)\n- Place the following Elastic Cloud plan in
`~/.qaf/config/cloud_plans/prebuilt_rules_oom_testing.yml`\n```yaml\n---\nname:
{{ deployment_name }}\nsettings:\n autoscaling_enabled: {{
autoscaling_enabled }}\nmetadata:\n system_owned: false\nresources:\n
elasticsearch:\n - region: {{ region }}\n settings:\n
dedicated_masters_threshold: 6\n plan:\n cluster_topology:\n -
zone_count: 1\n elasticsearch:\n node_attributes:\n data: hot\n
instance_configuration_id: gcp.es.datahot.n2.68x10x45\n node_roles:\n -
master\n - ingest\n - remote_cluster_client\n - data_hot\n - transform\n
- data_content\n id: hot_content\n size:\n value: 1024\n resource:
memory\n elasticsearch:\n version: {{ stack_version }}\n
deployment_template:\n id: gcp-storage-optimized\n ref_id:
main-elasticsearch\n enterprise_search: []\n kibana:\n -
elasticsearch_cluster_ref_id: main-elasticsearch\n region: {{ region
}}\n plan:\n cluster_topology:\n - instance_configuration_id:
gcp.kibana.n2.68x32x45\n zone_count: 1\n size:\n value: 1024\n resource:
memory\n kibana:\n version: {{ stack_version }}\n ref_id:
main-kibana\n```\n\n- Create an ECH deployment by running the following
command\n\n```bash\nqaf elastic-cloud deployments create --stack-version
9.3.0 --version-validation --deployment-name
prebuilt-rules-oom-test-9.3.0 --environment production --no-autoscaling
--no-sso --region gcp-us-west2 --plan
prebuilt_rules_oom_testing\n```\n\n- Run the tests by running the
following command\n\n```bash\nqaf kibana ftr run-config
--ec-deployment-name prebuilt-rules-oom-test-9.3.0 --kibana-repo-root
<kibana-root>
<kibana-root>/x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/oom_testing/configs/ess_basic_license.config.ts\n```\n\nwhere
`<kibana-root>` is the absolute path to the Kibana's root
folder.","sha":"d99c5b4b7211c1510f18f2b6260e24ea327b7d5a"}},{"branch":"8.19","label":"v8.19.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/238437","number":238437,"state":"OPEN"},{"branch":"9.0","label":"v9.0.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"url":"https://github.com/elastic/kibana/pull/238467","number":238467,"branch":"9.1","state":"OPEN"}]}]
BACKPORT-->
1 parent b1a64ab commit 9c78a55
6 files changed
Lines changed: 276 additions & 0 deletions
File tree
- .buildkite
- x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/oom_testing
- configs
- install_prebuilt_rules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
Lines changed: 124 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
0 commit comments