[8.19] [Security Solution] Fix MKI tests for prebuilt rules (#222170)#222221
Merged
kibanamachine merged 1 commit intoelastic:8.19from Jun 2, 2025
Merged
[8.19] [Security Solution] Fix MKI tests for prebuilt rules (#222170)#222221kibanamachine merged 1 commit intoelastic:8.19from
kibanamachine merged 1 commit intoelastic:8.19from
Conversation
**Relates to:** elastic#219831 ## Summary This PR fixes MKI tests configuration for prebuilt rules after performing refactoring in elastic#219831. Since shorthand script in `x-pack/test/security_solution_api_integration/package.json` are used only for running MKI tests and local development it didn't cause PR pipeline failures and became prominent after running MKI tests. ## Pipelines [Kibana / Serverless / Security Solution Quality Gate / Rule Management](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management) pipeline was manually ran against this PR. - ✅ [Periodic pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786) - ✅ [Quality gate pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786) (cherry picked from commit d853886)
Contributor
💚 Build Succeeded
Metrics [docs]
cc @maximpn |
maximpn
added a commit
that referenced
this pull request
Jul 4, 2025
…226501) # Backport This will backport the following commits from `main` to `9.0`: - [[Security Solution] Fix MKI tests for prebuilt rules (#222170)](#222170) <!--- 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-06-02T14:16:42Z","message":"[Security Solution] Fix MKI tests for prebuilt rules (#222170)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR fixes MKI tests configuration for prebuilt rules after performing refactoring in #219831. Since shorthand script in `x-pack/test/security_solution_api_integration/package.json` are used only for running MKI tests and local development it didn't cause PR pipeline failures and became prominent after running MKI tests. \n\n## Pipelines\n\n[Kibana / Serverless / Security Solution Quality Gate / Rule Management](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management) pipeline was manually ran against this PR.\n\n- ✅ [Periodic pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)\n- ✅ [Quality gate pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)","sha":"d8538862505c7a7d2f4d6024e479b5ea88b5ddbd","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","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"],"title":"[Security Solution] Fix MKI tests for prebuilt rules","number":222170,"url":"https://github.com/elastic/kibana/pull/222170","mergeCommit":{"message":"[Security Solution] Fix MKI tests for prebuilt rules (#222170)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR fixes MKI tests configuration for prebuilt rules after performing refactoring in #219831. Since shorthand script in `x-pack/test/security_solution_api_integration/package.json` are used only for running MKI tests and local development it didn't cause PR pipeline failures and became prominent after running MKI tests. \n\n## Pipelines\n\n[Kibana / Serverless / Security Solution Quality Gate / Rule Management](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management) pipeline was manually ran against this PR.\n\n- ✅ [Periodic pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)\n- ✅ [Quality gate pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)","sha":"d8538862505c7a7d2f4d6024e479b5ea88b5ddbd"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/222170","number":222170,"mergeCommit":{"message":"[Security Solution] Fix MKI tests for prebuilt rules (#222170)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR fixes MKI tests configuration for prebuilt rules after performing refactoring in #219831. Since shorthand script in `x-pack/test/security_solution_api_integration/package.json` are used only for running MKI tests and local development it didn't cause PR pipeline failures and became prominent after running MKI tests. \n\n## Pipelines\n\n[Kibana / Serverless / Security Solution Quality Gate / Rule Management](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management) pipeline was manually ran against this PR.\n\n- ✅ [Periodic pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)\n- ✅ [Quality gate pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)","sha":"d8538862505c7a7d2f4d6024e479b5ea88b5ddbd"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/222221","number":222221,"state":"MERGED","mergeCommit":{"sha":"ed7df7c000f37c15f137eb99df42d9ccbc76a515","message":"[8.19] [Security Solution] Fix MKI tests for prebuilt rules (#222170) (#222221)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.19`:\n- [[Security Solution] Fix MKI tests for prebuilt rules\n(#222170)](https://github.com/elastic/kibana/pull/222170)\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>"}}]}] BACKPORT-->
maximpn
added a commit
that referenced
this pull request
Jul 4, 2025
…#226502) # Backport This will backport the following commits from `main` to `8.18`: - [[Security Solution] Fix MKI tests for prebuilt rules (#222170)](#222170) <!--- 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-06-02T14:16:42Z","message":"[Security Solution] Fix MKI tests for prebuilt rules (#222170)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR fixes MKI tests configuration for prebuilt rules after performing refactoring in #219831. Since shorthand script in `x-pack/test/security_solution_api_integration/package.json` are used only for running MKI tests and local development it didn't cause PR pipeline failures and became prominent after running MKI tests. \n\n## Pipelines\n\n[Kibana / Serverless / Security Solution Quality Gate / Rule Management](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management) pipeline was manually ran against this PR.\n\n- ✅ [Periodic pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)\n- ✅ [Quality gate pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)","sha":"d8538862505c7a7d2f4d6024e479b5ea88b5ddbd","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","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"],"title":"[Security Solution] Fix MKI tests for prebuilt rules","number":222170,"url":"https://github.com/elastic/kibana/pull/222170","mergeCommit":{"message":"[Security Solution] Fix MKI tests for prebuilt rules (#222170)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR fixes MKI tests configuration for prebuilt rules after performing refactoring in #219831. Since shorthand script in `x-pack/test/security_solution_api_integration/package.json` are used only for running MKI tests and local development it didn't cause PR pipeline failures and became prominent after running MKI tests. \n\n## Pipelines\n\n[Kibana / Serverless / Security Solution Quality Gate / Rule Management](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management) pipeline was manually ran against this PR.\n\n- ✅ [Periodic pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)\n- ✅ [Quality gate pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)","sha":"d8538862505c7a7d2f4d6024e479b5ea88b5ddbd"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/222170","number":222170,"mergeCommit":{"message":"[Security Solution] Fix MKI tests for prebuilt rules (#222170)\n\n**Relates to:** https://github.com/elastic/kibana/pull/219831\n\n## Summary\n\nThis PR fixes MKI tests configuration for prebuilt rules after performing refactoring in #219831. Since shorthand script in `x-pack/test/security_solution_api_integration/package.json` are used only for running MKI tests and local development it didn't cause PR pipeline failures and became prominent after running MKI tests. \n\n## Pipelines\n\n[Kibana / Serverless / Security Solution Quality Gate / Rule Management](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management) pipeline was manually ran against this PR.\n\n- ✅ [Periodic pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)\n- ✅ [Quality gate pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)","sha":"d8538862505c7a7d2f4d6024e479b5ea88b5ddbd"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/222221","number":222221,"state":"MERGED","mergeCommit":{"sha":"ed7df7c000f37c15f137eb99df42d9ccbc76a515","message":"[8.19] [Security Solution] Fix MKI tests for prebuilt rules (#222170) (#222221)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.19`:\n- [[Security Solution] Fix MKI tests for prebuilt rules\n(#222170)](https://github.com/elastic/kibana/pull/222170)\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>"}}]}] BACKPORT-->
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
mainto8.19:Questions ?
Please refer to the Backport tool documentation