Skip to content

[Security Rules] Update security rules package to v9.2.9-beta.2#17739

Merged
shashank-elastic merged 2 commits into
backport-security_detection_engine-9.2from
detection-rules/9.2.9-beta.2-c68a5f2c2
Mar 10, 2026
Merged

[Security Rules] Update security rules package to v9.2.9-beta.2#17739
shashank-elastic merged 2 commits into
backport-security_detection_engine-9.2from
detection-rules/9.2.9-beta.2-c68a5f2c2

Conversation

@tradebot-elastic
Copy link
Copy Markdown
Contributor

What does this PR do?

Update the Security Rules package to version 9.2.9-beta.2.
Autogenerated from commit https://github.com/elastic/detection-rules/tree/c68a5f2c2ca83a0989c6f3197d69bb3a833f09c7

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • If I'm introducing a new feature, I have modified the Kibana version constraint in my package's manifest.yml file to point to the latest Elastic stack release (e.g. ^7.13.0).

Author's Checklist

  • Install the most recently release security rules in the Detection Engine
  • Install the package
  • Confirm the update is available in Kibana. Click "Update X rules" or "Install X rules"
  • Look at the changes made after the install and confirm they are consistent

How to test this PR locally

  • Perform the above checklist, and use package-storage to build EPR from source

Related issues

None

Screenshots

None

@shashank-elastic shashank-elastic marked this pull request as ready for review March 10, 2026 14:12
@shashank-elastic shashank-elastic requested a review from a team as a code owner March 10, 2026 14:12
@shashank-elastic shashank-elastic enabled auto-merge (squash) March 10, 2026 14:12
@shashank-elastic shashank-elastic added enhancement New feature or request Integration:security_detection_engine Prebuilt Security Detection Rules labels Mar 10, 2026
@shashank-elastic shashank-elastic merged commit 2da8f5c into backport-security_detection_engine-9.2 Mar 10, 2026
11 checks passed
@shashank-elastic shashank-elastic deleted the detection-rules/9.2.9-beta.2-c68a5f2c2 branch March 10, 2026 14:53
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

cc @shashank-elastic

@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

Package security_detection_engine - 9.2.9-beta.2 containing this change is available at https://epr.elastic.co/package/security_detection_engine/9.2.9-beta.2/

maximpn added a commit to elastic/kibana that referenced this pull request Mar 12, 2026
…tion FTR tests (#257073)

**Resolves: #256891

## Summary

This PR unskips the tests skipped in the scope of #256891. The failure was caused by publishing a malformed prebuilt rule in a  **security_detection_engine** prerelease package version. The problem has been fixed in the release package version.

## Details

The following **security_detection_engine** prerelease package versions have a malformed prebuilt rule
- [9.3.5-beta.1](elastic/integrations#17735)
- [9.2.9-beta.1](elastic/integrations#17734)
- [9.1.17-beta.1](elastic/integrations#17733)
- [8.19.17-beta.1](elastic/integrations#17732)

`First Time Seen DNS Query to RMM Domain` (rule_id = `e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a small history window size. The failed functional test installs all prebuilt rules. And the error `params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'` gets thrown upon this rule installation.

The problem has been fixed and the tests pass for the following prerelese and release versions
- [9.3.5-beta.2](elastic/integrations#17740) released [9.3.5](elastic/integrations#17749)
- [9.2.9-beta.2](elastic/integrations#17739) released [9.2.9](elastic/integrations#17747)
- [9.1.17-beta.2](elastic/integrations#17738) released [9.1.17](elastic/integrations#17746)
- [8.19.17-beta.2](elastic/integrations#17737) released [8.19.17](elastic/integrations#17745)

This PR unskips previously skipped in the scope of #256891 FTR tests.

On top of that this PR improves related debug logging message to be able to faster troubleshoot similar issues in the future. An example error message looks like

````
createPrebuiltRules: Creating prebuilt rules - done. Rules created: 1532. Rules failed to create: 1.
Errors: [{"rule_id":"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b","ruleName":"First Time Seen DNS Query to RMM
Domain","error":"params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'"}]
````
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 12, 2026
…tion FTR tests (elastic#257073)

**Resolves: elastic#256891

## Summary

This PR unskips the tests skipped in the scope of elastic#256891. The failure was caused by publishing a malformed prebuilt rule in a  **security_detection_engine** prerelease package version. The problem has been fixed in the release package version.

## Details

The following **security_detection_engine** prerelease package versions have a malformed prebuilt rule
- [9.3.5-beta.1](elastic/integrations#17735)
- [9.2.9-beta.1](elastic/integrations#17734)
- [9.1.17-beta.1](elastic/integrations#17733)
- [8.19.17-beta.1](elastic/integrations#17732)

`First Time Seen DNS Query to RMM Domain` (rule_id = `e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a small history window size. The failed functional test installs all prebuilt rules. And the error `params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'` gets thrown upon this rule installation.

The problem has been fixed and the tests pass for the following prerelese and release versions
- [9.3.5-beta.2](elastic/integrations#17740) released [9.3.5](elastic/integrations#17749)
- [9.2.9-beta.2](elastic/integrations#17739) released [9.2.9](elastic/integrations#17747)
- [9.1.17-beta.2](elastic/integrations#17738) released [9.1.17](elastic/integrations#17746)
- [8.19.17-beta.2](elastic/integrations#17737) released [8.19.17](elastic/integrations#17745)

This PR unskips previously skipped in the scope of elastic#256891 FTR tests.

On top of that this PR improves related debug logging message to be able to faster troubleshoot similar issues in the future. An example error message looks like

````
createPrebuiltRules: Creating prebuilt rules - done. Rules created: 1532. Rules failed to create: 1.
Errors: [{"rule_id":"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b","ruleName":"First Time Seen DNS Query to RMM
Domain","error":"params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'"}]
````

(cherry picked from commit 9370986)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 12, 2026
…tion FTR tests (elastic#257073)

**Resolves: elastic#256891

## Summary

This PR unskips the tests skipped in the scope of elastic#256891. The failure was caused by publishing a malformed prebuilt rule in a  **security_detection_engine** prerelease package version. The problem has been fixed in the release package version.

## Details

The following **security_detection_engine** prerelease package versions have a malformed prebuilt rule
- [9.3.5-beta.1](elastic/integrations#17735)
- [9.2.9-beta.1](elastic/integrations#17734)
- [9.1.17-beta.1](elastic/integrations#17733)
- [8.19.17-beta.1](elastic/integrations#17732)

`First Time Seen DNS Query to RMM Domain` (rule_id = `e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a small history window size. The failed functional test installs all prebuilt rules. And the error `params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'` gets thrown upon this rule installation.

The problem has been fixed and the tests pass for the following prerelese and release versions
- [9.3.5-beta.2](elastic/integrations#17740) released [9.3.5](elastic/integrations#17749)
- [9.2.9-beta.2](elastic/integrations#17739) released [9.2.9](elastic/integrations#17747)
- [9.1.17-beta.2](elastic/integrations#17738) released [9.1.17](elastic/integrations#17746)
- [8.19.17-beta.2](elastic/integrations#17737) released [8.19.17](elastic/integrations#17745)

This PR unskips previously skipped in the scope of elastic#256891 FTR tests.

On top of that this PR improves related debug logging message to be able to faster troubleshoot similar issues in the future. An example error message looks like

````
createPrebuiltRules: Creating prebuilt rules - done. Rules created: 1532. Rules failed to create: 1.
Errors: [{"rule_id":"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b","ruleName":"First Time Seen DNS Query to RMM
Domain","error":"params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'"}]
````

(cherry picked from commit 9370986)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 12, 2026
…tion FTR tests (elastic#257073)

**Resolves: elastic#256891

## Summary

This PR unskips the tests skipped in the scope of elastic#256891. The failure was caused by publishing a malformed prebuilt rule in a  **security_detection_engine** prerelease package version. The problem has been fixed in the release package version.

## Details

The following **security_detection_engine** prerelease package versions have a malformed prebuilt rule
- [9.3.5-beta.1](elastic/integrations#17735)
- [9.2.9-beta.1](elastic/integrations#17734)
- [9.1.17-beta.1](elastic/integrations#17733)
- [8.19.17-beta.1](elastic/integrations#17732)

`First Time Seen DNS Query to RMM Domain` (rule_id = `e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a small history window size. The failed functional test installs all prebuilt rules. And the error `params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'` gets thrown upon this rule installation.

The problem has been fixed and the tests pass for the following prerelese and release versions
- [9.3.5-beta.2](elastic/integrations#17740) released [9.3.5](elastic/integrations#17749)
- [9.2.9-beta.2](elastic/integrations#17739) released [9.2.9](elastic/integrations#17747)
- [9.1.17-beta.2](elastic/integrations#17738) released [9.1.17](elastic/integrations#17746)
- [8.19.17-beta.2](elastic/integrations#17737) released [8.19.17](elastic/integrations#17745)

This PR unskips previously skipped in the scope of elastic#256891 FTR tests.

On top of that this PR improves related debug logging message to be able to faster troubleshoot similar issues in the future. An example error message looks like

````
createPrebuiltRules: Creating prebuilt rules - done. Rules created: 1532. Rules failed to create: 1.
Errors: [{"rule_id":"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b","ruleName":"First Time Seen DNS Query to RMM
Domain","error":"params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'"}]
````

(cherry picked from commit 9370986)
kibanamachine added a commit to elastic/kibana that referenced this pull request Mar 12, 2026
…stallation FTR tests (#257073) (#257373)

# Backport

This will backport the following commits from `main` to `9.3`:
- [[Security Solution] Unskip security_detection_engine package
installation FTR tests
(#257073)](#257073)

<!--- 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":"2026-03-12T10:18:25Z","message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["failed-test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v9.4.0","v8.19.13","v9.2.7","v9.3.2"],"title":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests","number":257073,"url":"https://github.com/elastic/kibana/pull/257073","mergeCommit":{"message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/257073","number":257073,"mergeCommit":{"message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933"}},{"branch":"8.19","label":"v8.19.13","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
kibanamachine added a commit to elastic/kibana that referenced this pull request Mar 12, 2026
…stallation FTR tests (#257073) (#257372)

# Backport

This will backport the following commits from `main` to `9.2`:
- [[Security Solution] Unskip security_detection_engine package
installation FTR tests
(#257073)](#257073)

<!--- 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":"2026-03-12T10:18:25Z","message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["failed-test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v9.4.0","v8.19.13","v9.2.7","v9.3.2"],"title":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests","number":257073,"url":"https://github.com/elastic/kibana/pull/257073","mergeCommit":{"message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/257073","number":257073,"mergeCommit":{"message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933"}},{"branch":"8.19","label":"v8.19.13","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
tylersmalley pushed a commit to elastic/kibana that referenced this pull request Mar 14, 2026
…nstallation FTR tests (#257073) (#257371)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Security Solution] Unskip security_detection_engine package
installation FTR tests
(#257073)](#257073)

<!--- 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":"2026-03-12T10:18:25Z","message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["failed-test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v9.4.0","v8.19.13","v9.2.7","v9.3.2"],"title":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests","number":257073,"url":"https://github.com/elastic/kibana/pull/257073","mergeCommit":{"message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/257073","number":257073,"mergeCommit":{"message":"[Security
Solution] Unskip security_detection_engine package installation FTR
tests (#257073)\n\n**Resolves:
https://github.com/elastic/kibana/issues/256891**\n\n## Summary\n\nThis
PR unskips the tests skipped in the scope of
#256891. The failure was caused
by publishing a malformed prebuilt rule in a
**security_detection_engine** prerelease package version. The problem
has been fixed in the release package version.\n\n## Details\n\nThe
following **security_detection_engine** prerelease package versions have
a malformed prebuilt rule\n-
[9.3.5-beta.1](https://github.com/elastic/integrations/pull/17735)\n-
[9.2.9-beta.1](https://github.com/elastic/integrations/pull/17734)\n-
[9.1.17-beta.1](https://github.com/elastic/integrations/pull/17733)\n-
[8.19.17-beta.1](https://github.com/elastic/integrations/pull/17732)\n\n`First
Time Seen DNS Query to RMM Domain` (rule_id =
`e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a
small history window size. The failed functional test installs all
prebuilt rules. And the error `params invalid: History window size is
smaller than rule interval + additional lookback, 'historyWindowStart'
must be earlier than 'from'` gets thrown upon this rule
installation.\n\nThe problem has been fixed and the tests pass for the
following prerelese and release versions\n-
[9.3.5-beta.2](elastic/integrations#17740)
released [9.3.5](https://github.com/elastic/integrations/pull/17749)\n-
[9.2.9-beta.2](elastic/integrations#17739)
released [9.2.9](https://github.com/elastic/integrations/pull/17747)\n-
[9.1.17-beta.2](elastic/integrations#17738)
released [9.1.17](https://github.com/elastic/integrations/pull/17746)\n-
[8.19.17-beta.2](elastic/integrations#17737)
released
[8.19.17](https://github.com/elastic/integrations/pull/17745)\n\nThis PR
unskips previously skipped in the scope of
#256891 FTR tests.\n\nOn top of
that this PR improves related debug logging message to be able to faster
troubleshoot similar issues in the future. An example error message
looks like\n\n````\ncreatePrebuiltRules: Creating prebuilt rules - done.
Rules created: 1532. Rules failed to create: 1.\nErrors:
[{\"rule_id\":\"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b\",\"ruleName\":\"First
Time Seen DNS Query to RMM\nDomain\",\"error\":\"params invalid: History
window size is smaller than rule interval + additional lookback,
'historyWindowStart' must be earlier than
'from'\"}]\n````","sha":"9370986075f99f77d6442d666bda7bf28051b933"}},{"branch":"8.19","label":"v8.19.13","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
sorenlouv pushed a commit to elastic/kibana that referenced this pull request Mar 17, 2026
…tion FTR tests (#257073)

**Resolves: #256891

## Summary

This PR unskips the tests skipped in the scope of #256891. The failure was caused by publishing a malformed prebuilt rule in a  **security_detection_engine** prerelease package version. The problem has been fixed in the release package version.

## Details

The following **security_detection_engine** prerelease package versions have a malformed prebuilt rule
- [9.3.5-beta.1](elastic/integrations#17735)
- [9.2.9-beta.1](elastic/integrations#17734)
- [9.1.17-beta.1](elastic/integrations#17733)
- [8.19.17-beta.1](elastic/integrations#17732)

`First Time Seen DNS Query to RMM Domain` (rule_id = `e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a small history window size. The failed functional test installs all prebuilt rules. And the error `params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'` gets thrown upon this rule installation.

The problem has been fixed and the tests pass for the following prerelese and release versions
- [9.3.5-beta.2](elastic/integrations#17740) released [9.3.5](elastic/integrations#17749)
- [9.2.9-beta.2](elastic/integrations#17739) released [9.2.9](elastic/integrations#17747)
- [9.1.17-beta.2](elastic/integrations#17738) released [9.1.17](elastic/integrations#17746)
- [8.19.17-beta.2](elastic/integrations#17737) released [8.19.17](elastic/integrations#17745)

This PR unskips previously skipped in the scope of #256891 FTR tests.

On top of that this PR improves related debug logging message to be able to faster troubleshoot similar issues in the future. An example error message looks like

````
createPrebuiltRules: Creating prebuilt rules - done. Rules created: 1532. Rules failed to create: 1.
Errors: [{"rule_id":"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b","ruleName":"First Time Seen DNS Query to RMM
Domain","error":"params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'"}]
````
jeramysoucy pushed a commit to jeramysoucy/kibana that referenced this pull request Mar 26, 2026
…tion FTR tests (elastic#257073)

**Resolves: elastic#256891

## Summary

This PR unskips the tests skipped in the scope of elastic#256891. The failure was caused by publishing a malformed prebuilt rule in a  **security_detection_engine** prerelease package version. The problem has been fixed in the release package version.

## Details

The following **security_detection_engine** prerelease package versions have a malformed prebuilt rule
- [9.3.5-beta.1](elastic/integrations#17735)
- [9.2.9-beta.1](elastic/integrations#17734)
- [9.1.17-beta.1](elastic/integrations#17733)
- [8.19.17-beta.1](elastic/integrations#17732)

`First Time Seen DNS Query to RMM Domain` (rule_id = `e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b`) in those package versions has a small history window size. The failed functional test installs all prebuilt rules. And the error `params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'` gets thrown upon this rule installation.

The problem has been fixed and the tests pass for the following prerelese and release versions
- [9.3.5-beta.2](elastic/integrations#17740) released [9.3.5](elastic/integrations#17749)
- [9.2.9-beta.2](elastic/integrations#17739) released [9.2.9](elastic/integrations#17747)
- [9.1.17-beta.2](elastic/integrations#17738) released [9.1.17](elastic/integrations#17746)
- [8.19.17-beta.2](elastic/integrations#17737) released [8.19.17](elastic/integrations#17745)

This PR unskips previously skipped in the scope of elastic#256891 FTR tests.

On top of that this PR improves related debug logging message to be able to faster troubleshoot similar issues in the future. An example error message looks like

````
createPrebuiltRules: Creating prebuilt rules - done. Rules created: 1532. Rules failed to create: 1.
Errors: [{"rule_id":"e5f6a7b8-c9d0-8e1f-2a3b-4c5d6e7f8a9b","ruleName":"First Time Seen DNS Query to RMM
Domain","error":"params invalid: History window size is smaller than rule interval + additional lookback, 'historyWindowStart' must be earlier than 'from'"}]
````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:security_detection_engine Prebuilt Security Detection Rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants