Skip to content

Commit

Permalink
[8.9] [Security Solution] Create test plan for prebuilt rule installa…
Browse files Browse the repository at this point in the history
…tion and upgrade workflows (#160685) (#161259)

# Backport

This will backport the following commits from `main` to `8.9`:
- [[Security Solution] Create test plan for prebuilt rule installation
and upgrade workflows
(#160685)](#160685)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-05T13:50:20Z","message":"[Security
Solution] Create test plan for prebuilt rule installation and upgrade
workflows (#160685)\n\n## Summary\r\n\r\nCombines the two following test
plans into one:\r\n\r\n- [Test plan for the legacy workflows of
installing/upgrading
prebuilt\r\nrules](https://docs.google.com/document/d/1d_1DYnHlnCaPznWTjeCxhoaRUwxc2O_V0LToAPG0xLE/edit)\r\n-
this google doc is deprecated and will be replaced by the
consolidated\r\ntest plan created in this PR\r\n- [Test plan for the new
workflows of installing/upgrading
prebuilt\r\nrules](https://docs.google.com/document/d/1cYvwtpzk0uLn5R88BlCX-fRIwR2n_NoqkSjIXkY9k34/edit)\r\n-
this google doc is deprecated and will be replaced by the
consolidated\r\ntest plan created in this PR\r\n\r\nAdds a template for
writing new test plans.\r\n\r\n---------\r\n\r\nCo-authored-by: Georgii
Gorbachev <[email protected]>\r\nCo-authored-by: Kibana
Machine
<[email protected]>","sha":"e379f0a97d66b53e130f1046811225b0fa91678a","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","test-plan","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","v8.9.0","v8.10.0"],"number":160685,"url":"https://github.com/elastic/kibana/pull/160685","mergeCommit":{"message":"[Security
Solution] Create test plan for prebuilt rule installation and upgrade
workflows (#160685)\n\n## Summary\r\n\r\nCombines the two following test
plans into one:\r\n\r\n- [Test plan for the legacy workflows of
installing/upgrading
prebuilt\r\nrules](https://docs.google.com/document/d/1d_1DYnHlnCaPznWTjeCxhoaRUwxc2O_V0LToAPG0xLE/edit)\r\n-
this google doc is deprecated and will be replaced by the
consolidated\r\ntest plan created in this PR\r\n- [Test plan for the new
workflows of installing/upgrading
prebuilt\r\nrules](https://docs.google.com/document/d/1cYvwtpzk0uLn5R88BlCX-fRIwR2n_NoqkSjIXkY9k34/edit)\r\n-
this google doc is deprecated and will be replaced by the
consolidated\r\ntest plan created in this PR\r\n\r\nAdds a template for
writing new test plans.\r\n\r\n---------\r\n\r\nCo-authored-by: Georgii
Gorbachev <[email protected]>\r\nCo-authored-by: Kibana
Machine
<[email protected]>","sha":"e379f0a97d66b53e130f1046811225b0fa91678a"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160685","number":160685,"mergeCommit":{"message":"[Security
Solution] Create test plan for prebuilt rule installation and upgrade
workflows (#160685)\n\n## Summary\r\n\r\nCombines the two following test
plans into one:\r\n\r\n- [Test plan for the legacy workflows of
installing/upgrading
prebuilt\r\nrules](https://docs.google.com/document/d/1d_1DYnHlnCaPznWTjeCxhoaRUwxc2O_V0LToAPG0xLE/edit)\r\n-
this google doc is deprecated and will be replaced by the
consolidated\r\ntest plan created in this PR\r\n- [Test plan for the new
workflows of installing/upgrading
prebuilt\r\nrules](https://docs.google.com/document/d/1cYvwtpzk0uLn5R88BlCX-fRIwR2n_NoqkSjIXkY9k34/edit)\r\n-
this google doc is deprecated and will be replaced by the
consolidated\r\ntest plan created in this PR\r\n\r\nAdds a template for
writing new test plans.\r\n\r\n---------\r\n\r\nCo-authored-by: Georgii
Gorbachev <[email protected]>\r\nCo-authored-by: Kibana
Machine
<[email protected]>","sha":"e379f0a97d66b53e130f1046811225b0fa91678a"}}]}]
BACKPORT-->

Co-authored-by: Juan Pablo Djeredjian <[email protected]>
  • Loading branch information
kibanamachine and jpdjere authored Jul 5, 2023
1 parent f2f32e0 commit cd4bd06
Show file tree
Hide file tree
Showing 4 changed files with 712 additions and 3 deletions.
13 changes: 11 additions & 2 deletions x-pack/plugins/security_solution/cypress/test_plans/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This folder contains test plans for the features of Security Solution.

## Folder Structure
## Folder structure

The folder is first split into major Security Solution domains:

Expand All @@ -28,6 +28,15 @@ Within each subdomain, you can organize test plans as you like, for example:
- you might want to have a folder per feature, if your features are large and you have multiple test plans per feature
- or you might want to have a plain list of test plans if features are relatively small

## Ownership
## Folder ownership

Each subdomain folder should be owned by a single GitHub team in the `.github/CODEOWNERS` file.

## Test plan structure

Some examples for reference:

- [Test plan template](./test_plan_template.md).
- [Installation and Upgrade of Prebuilt Rules](./detection_response/prebuilt_rules/installation_and_upgrade.md).

Feel free to tune the structure whenever it makes sense and improves readability or maintainability of your plan: add more sections to `Useful info`, add more top-level sections in addition to `Useful info` and `Scenarios`, etc.
Loading

0 comments on commit cd4bd06

Please sign in to comment.