[Security Solution] Add detection rules customization status for telemetry snapshot#237583
Conversation
96cc9de to
c91b984
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) |
c91b984 to
9c5fee8
Compare
x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_security.json
Outdated
Show resolved
Hide resolved
...api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/customize_rule.ts
Outdated
Show resolved
Hide resolved
...ity/plugins/security_solution/server/usage/detections/rules/get_rule_customization_status.ts
Outdated
Show resolved
Hide resolved
...ity/plugins/security_solution/server/usage/detections/rules/get_rule_customization_status.ts
Outdated
Show resolved
Hide resolved
|
@elasticmachine run docs-build |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
History
cc @jkelas |
7f5b4f3 to
ca4c8b0
Compare
|
/ci |
|
@elasticmachine run docs-build |
|
Starting backport for target branches: 8.18, 8.19, 9.1, 9.2 https://github.com/elastic/kibana/actions/runs/18505607358 |
…metry snapshot (elastic#237583) **Partially addresses: elastic#140369** ## Summary This is another PR from of a series of PRs I am planning to create to cover the requirements in the elastic#140369 ticket. The requirement covered in this PR is: " Breakdown of which fields are being customized." Testing: Display the snapshot: ``` POST kbn:/internal/telemetry/clusters/_stats?apiVersion=2 { "unencrypted": true, "refreshCache": true } ``` Send the snapshot to staging telemetry cluster. ``` POST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true {} ``` Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co> (cherry picked from commit 1f41564)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…metry snapshot (elastic#237583) **Partially addresses: elastic#140369** ## Summary This is another PR from of a series of PRs I am planning to create to cover the requirements in the elastic#140369 ticket. The requirement covered in this PR is: " Breakdown of which fields are being customized." Testing: Display the snapshot: ``` POST kbn:/internal/telemetry/clusters/_stats?apiVersion=2 { "unencrypted": true, "refreshCache": true } ``` Send the snapshot to staging telemetry cluster. ``` POST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true {} ``` Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
…metry snapshot (elastic#237583) **Partially addresses: elastic#140369** ## Summary This is another PR from of a series of PRs I am planning to create to cover the requirements in the elastic#140369 ticket. The requirement covered in this PR is: " Breakdown of which fields are being customized." Testing: Display the snapshot: ``` POST kbn:/internal/telemetry/clusters/_stats?apiVersion=2 { "unencrypted": true, "refreshCache": true } ``` Send the snapshot to staging telemetry cluster. ``` POST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true {} ``` Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co> (cherry picked from commit 1f41564) # Conflicts: # x-pack/solutions/security/plugins/security_solution/server/usage/detections/ml_jobs/get_metrics.mocks.ts # x-pack/solutions/security/plugins/security_solution/server/usage/detections/rules/get_initial_usage.ts # x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/telemetry/trial_license_complete_tier/usage_collector/detection_rule_upgrade_status.ts
…metry snapshot (elastic#237583) **Partially addresses: elastic#140369** ## Summary This is another PR from of a series of PRs I am planning to create to cover the requirements in the elastic#140369 ticket. The requirement covered in this PR is: " Breakdown of which fields are being customized." Testing: Display the snapshot: ``` POST kbn:/internal/telemetry/clusters/_stats?apiVersion=2 { "unencrypted": true, "refreshCache": true } ``` Send the snapshot to staging telemetry cluster. ``` POST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true {} ``` Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co> (cherry picked from commit 1f41564) # Conflicts: # x-pack/solutions/security/plugins/security_solution/server/usage/detections/ml_jobs/get_metrics.mocks.ts # x-pack/solutions/security/plugins/security_solution/server/usage/detections/rules/get_initial_usage.ts # x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/telemetry/trial_license_complete_tier/usage_collector/detection_rule_upgrade_status.ts
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Not backporting to 8.18 as it doesn't seem there are any more patch releases planned for 8.18 + the main and 8.18 branches have diverged too much to backport it in a reasonable time. |
…r telemetry snapshot (#237583) (#238993) # Backport This will backport the following commits from `main` to `9.2`: - [[Security Solution] Add detection rules customization status for telemetry snapshot (#237583)](#237583) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jacek Kolezynski","email":"jacek.kolezynski+gh@gmail.com"},"sourceCommit":{"committedDate":"2025-10-14T18:00:01Z","message":"[Security Solution] Add detection rules customization status for telemetry snapshot (#237583)\n\n**Partially addresses: #140369**\n\n## Summary\n\nThis is another PR from of a series of PRs I am planning to create to\ncover the requirements in the\nhttps://github.com//issues/140369 ticket.\n\n\nThe requirement covered in this PR is: \" Breakdown of which fields are\nbeing customized.\"\n\nTesting:\n\nDisplay the snapshot:\n```\nPOST kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{ \"unencrypted\": true, \"refreshCache\": true }\n```\n\nSend the snapshot to staging telemetry cluster.\n```\nPOST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true\n{}\n```\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"1f4156499ff9f0e74efeac99e05fa8c2d54bf7e8","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.2.0","v9.3.0","v9.1.6","v8.18.9","v8.19.6"],"title":"[Security Solution] Add detection rules customization status for telemetry snapshot","number":237583,"url":"https://github.com/elastic/kibana/pull/237583","mergeCommit":{"message":"[Security Solution] Add detection rules customization status for telemetry snapshot (#237583)\n\n**Partially addresses: #140369**\n\n## Summary\n\nThis is another PR from of a series of PRs I am planning to create to\ncover the requirements in the\nhttps://github.com//issues/140369 ticket.\n\n\nThe requirement covered in this PR is: \" Breakdown of which fields are\nbeing customized.\"\n\nTesting:\n\nDisplay the snapshot:\n```\nPOST kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{ \"unencrypted\": true, \"refreshCache\": true }\n```\n\nSend the snapshot to staging telemetry cluster.\n```\nPOST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true\n{}\n```\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"1f4156499ff9f0e74efeac99e05fa8c2d54bf7e8"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.18","8.19"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/237583","number":237583,"mergeCommit":{"message":"[Security Solution] Add detection rules customization status for telemetry snapshot (#237583)\n\n**Partially addresses: #140369**\n\n## Summary\n\nThis is another PR from of a series of PRs I am planning to create to\ncover the requirements in the\nhttps://github.com//issues/140369 ticket.\n\n\nThe requirement covered in this PR is: \" Breakdown of which fields are\nbeing customized.\"\n\nTesting:\n\nDisplay the snapshot:\n```\nPOST kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{ \"unencrypted\": true, \"refreshCache\": true }\n```\n\nSend the snapshot to staging telemetry cluster.\n```\nPOST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true\n{}\n```\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"1f4156499ff9f0e74efeac99e05fa8c2d54bf7e8"}},{"branch":"9.1","label":"v9.1.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
|
Not backporting to 8.19 as this telemetry is based on #234793 which has only been backported to 9.2 and 9.1 |
…r telemetry snapshot (#237583) (#239200) # Backport This will backport the following commits from `main` to `9.1`: - [[Security Solution] Add detection rules customization status for telemetry snapshot (#237583)](#237583) <!--- Backport version: 10.0.2 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jacek Kolezynski","email":"jacek.kolezynski+gh@gmail.com"},"sourceCommit":{"committedDate":"2025-10-14T18:00:01Z","message":"[Security Solution] Add detection rules customization status for telemetry snapshot (#237583)\n\n**Partially addresses: #140369**\n\n## Summary\n\nThis is another PR from of a series of PRs I am planning to create to\ncover the requirements in the\nhttps://github.com//issues/140369 ticket.\n\n\nThe requirement covered in this PR is: \" Breakdown of which fields are\nbeing customized.\"\n\nTesting:\n\nDisplay the snapshot:\n```\nPOST kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{ \"unencrypted\": true, \"refreshCache\": true }\n```\n\nSend the snapshot to staging telemetry cluster.\n```\nPOST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true\n{}\n```\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"1f4156499ff9f0e74efeac99e05fa8c2d54bf7e8","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.2.0","v9.3.0","v9.1.6","v8.18.9","v8.19.6"],"title":"[Security Solution] Add detection rules customization status for telemetry snapshot","number":237583,"url":"https://github.com/elastic/kibana/pull/237583","mergeCommit":{"message":"[Security Solution] Add detection rules customization status for telemetry snapshot (#237583)\n\n**Partially addresses: #140369**\n\n## Summary\n\nThis is another PR from of a series of PRs I am planning to create to\ncover the requirements in the\nhttps://github.com//issues/140369 ticket.\n\n\nThe requirement covered in this PR is: \" Breakdown of which fields are\nbeing customized.\"\n\nTesting:\n\nDisplay the snapshot:\n```\nPOST kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{ \"unencrypted\": true, \"refreshCache\": true }\n```\n\nSend the snapshot to staging telemetry cluster.\n```\nPOST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true\n{}\n```\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"1f4156499ff9f0e74efeac99e05fa8c2d54bf7e8"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.18","8.19"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/238993","number":238993,"state":"OPEN"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/237583","number":237583,"mergeCommit":{"message":"[Security Solution] Add detection rules customization status for telemetry snapshot (#237583)\n\n**Partially addresses: #140369**\n\n## Summary\n\nThis is another PR from of a series of PRs I am planning to create to\ncover the requirements in the\nhttps://github.com//issues/140369 ticket.\n\n\nThe requirement covered in this PR is: \" Breakdown of which fields are\nbeing customized.\"\n\nTesting:\n\nDisplay the snapshot:\n```\nPOST kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{ \"unencrypted\": true, \"refreshCache\": true }\n```\n\nSend the snapshot to staging telemetry cluster.\n```\nPOST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true\n{}\n```\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"1f4156499ff9f0e74efeac99e05fa8c2d54bf7e8"}},{"branch":"9.1","label":"v9.1.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…metry snapshot (elastic#237583) **Partially addresses: elastic#140369** ## Summary This is another PR from of a series of PRs I am planning to create to cover the requirements in the elastic#140369 ticket. The requirement covered in this PR is: " Breakdown of which fields are being customized." Testing: Display the snapshot: ``` POST kbn:/internal/telemetry/clusters/_stats?apiVersion=2 { "unencrypted": true, "refreshCache": true } ``` Send the snapshot to staging telemetry cluster. ``` POST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true {} ``` Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
…metry snapshot (elastic#237583) **Partially addresses: elastic#140369** ## Summary This is another PR from of a series of PRs I am planning to create to cover the requirements in the elastic#140369 ticket. The requirement covered in this PR is: " Breakdown of which fields are being customized." Testing: Display the snapshot: ``` POST kbn:/internal/telemetry/clusters/_stats?apiVersion=2 { "unencrypted": true, "refreshCache": true } ``` Send the snapshot to staging telemetry cluster. ``` POST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true {} ``` Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
…metry snapshot (elastic#237583) **Partially addresses: elastic#140369** ## Summary This is another PR from of a series of PRs I am planning to create to cover the requirements in the elastic#140369 ticket. The requirement covered in this PR is: " Breakdown of which fields are being customized." Testing: Display the snapshot: ``` POST kbn:/internal/telemetry/clusters/_stats?apiVersion=2 { "unencrypted": true, "refreshCache": true } ``` Send the snapshot to staging telemetry cluster. ``` POST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true {} ``` Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
…metry snapshot (elastic#237583) **Partially addresses: elastic#140369** ## Summary This is another PR from of a series of PRs I am planning to create to cover the requirements in the elastic#140369 ticket. The requirement covered in this PR is: " Breakdown of which fields are being customized." Testing: Display the snapshot: ``` POST kbn:/internal/telemetry/clusters/_stats?apiVersion=2 { "unencrypted": true, "refreshCache": true } ``` Send the snapshot to staging telemetry cluster. ``` POST kbn:/internal/telemetry/force_send?apiVersion=1&elasticInternalOrigin=true {} ``` Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
Partially addresses: #140369
Summary
This is another PR from of a series of PRs I am planning to create to cover the requirements in the #140369 ticket.
The requirement covered in this PR is: " Breakdown of which fields are being customized."
Testing:
Display the snapshot:
Send the snapshot to staging telemetry cluster.