Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution] Per-field diffs test plan #176474

Merged
merged 6 commits into from
Feb 12, 2024

Conversation

dplumlee
Copy link
Contributor

@dplumlee dplumlee commented Feb 8, 2024

Summary

Resolves #176473

This PR introduces a test plan for the per-field diff preview. This preview is displayed in the upgrade prebuilt rule flyout under the Updates tab.

Screenshot 2024-02-08 at 1 35 05 AM

@dplumlee dplumlee added release_note:skip Skip the PR/issue when compiling release notes Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Rule Management Security Detection Rule Management Team Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules area v8.13.0 labels Feb 8, 2024
@dplumlee dplumlee self-assigned this Feb 8, 2024
@dplumlee dplumlee marked this pull request as ready for review February 8, 2024 20:14
@dplumlee dplumlee requested a review from a team as a code owner February 8, 2024 20:14
@dplumlee dplumlee requested a review from nikitaindik February 8, 2024 20:14
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

@dplumlee
Copy link
Contributor Author

dplumlee commented Feb 8, 2024

buildkite test this

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @dplumlee

@dplumlee dplumlee requested a review from jpdjere February 9, 2024 00:25
The <field> diff accordion panel should display its grouped rule properties
And each property should have its name displayed inside the panel above its value

Examples:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good 👍

I think these cases are limited enough that we should have a test case for each (+ one more for normal "ungrouped" fields), as you defined here.

I would just change the word "Examples" for "CASES:"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpdjere Examples is actually a keyword. Basically, this is how you say "cases" in Gherkin.
https://cucumber.io/docs/gherkin/reference/#examples

@banderror banderror removed the request for review from nikitaindik February 9, 2024 14:25
@dplumlee dplumlee requested a review from jpdjere February 9, 2024 18:25
The <field> diff accordion panel should display its grouped rule properties
And each property should have its name displayed inside the panel above its value

CASES:
Copy link
Contributor

@banderror banderror Feb 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's a text block in Gherkin: #176474 (comment)

@dplumlee dplumlee merged commit e93add0 into elastic:main Feb 12, 2024
5 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Feb 12, 2024
@dplumlee dplumlee deleted the per-field-diff-test-plan branch February 12, 2024 19:29
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
## Summary

Resolves elastic#176473

This PR introduces a test plan for the per-field diff preview. This
preview is displayed in the upgrade prebuilt rule flyout under the
`Updates` tab.

<img width="1538" alt="Screenshot 2024-02-08 at 1 35 05 AM"
src="https://github.com/elastic/kibana/assets/56367316/37e25106-f4a5-47e6-9d93-beab8d0f90a4">
dplumlee added a commit that referenced this pull request Feb 22, 2024
## Summary

Addresses test coverage acceptance criteria for
#166489

Adds test coverage in accordance to the recently merged [test
plan](#176474)

[Flaky test
runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5279)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 22, 2024
## Summary

Addresses test coverage acceptance criteria for
elastic#166489

Adds test coverage in accordance to the recently merged [test
plan](elastic#176474)

[Flaky test
runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5279)

(cherry picked from commit 3c34b53)
kibanamachine referenced this pull request Feb 22, 2024
…177645)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Security Solution] Per-field diffs test coverage
(#177399)](#177399)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Davis
Plumlee","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-22T19:57:41Z","message":"[Security
Solution] Per-field diffs test coverage (#177399)\n\n##
Summary\r\n\r\nAddresses test coverage acceptance criteria
for\r\nhttps://github.com//issues/166489\r\n\r\nAdds test
coverage in accordance to the recently merged
[test\r\nplan](https://github.com/elastic/kibana/pull/176474)\r\n\r\n[Flaky
test\r\nrunner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5279)","sha":"3c34b535ceac5a5c869719998d9e03a0d44ce21a","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","test-coverage","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","v8.13.0","v8.14.0"],"title":"[Security Solution] Per-field diffs
test
coverage","number":177399,"url":"https://github.com/elastic/kibana/pull/177399","mergeCommit":{"message":"[Security
Solution] Per-field diffs test coverage (#177399)\n\n##
Summary\r\n\r\nAddresses test coverage acceptance criteria
for\r\nhttps://github.com//issues/166489\r\n\r\nAdds test
coverage in accordance to the recently merged
[test\r\nplan](https://github.com/elastic/kibana/pull/176474)\r\n\r\n[Flaky
test\r\nrunner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5279)","sha":"3c34b535ceac5a5c869719998d9e03a0d44ce21a"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177399","number":177399,"mergeCommit":{"message":"[Security
Solution] Per-field diffs test coverage (#177399)\n\n##
Summary\r\n\r\nAddresses test coverage acceptance criteria
for\r\nhttps://github.com//issues/166489\r\n\r\nAdds test
coverage in accordance to the recently merged
[test\r\nplan](https://github.com/elastic/kibana/pull/176474)\r\n\r\n[Flaky
test\r\nrunner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5279)","sha":"3c34b535ceac5a5c869719998d9e03a0d44ce21a"}}]}]
BACKPORT-->

Co-authored-by: Davis Plumlee <[email protected]>
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
## Summary

Resolves elastic#176473

This PR introduces a test plan for the per-field diff preview. This
preview is displayed in the upgrade prebuilt rule flyout under the
`Updates` tab.

<img width="1538" alt="Screenshot 2024-02-08 at 1 35 05 AM"
src="https://github.com/elastic/kibana/assets/56367316/37e25106-f4a5-47e6-9d93-beab8d0f90a4">
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
## Summary

Addresses test coverage acceptance criteria for
elastic#166489

Adds test coverage in accordance to the recently merged [test
plan](elastic#176474)

[Flaky test
runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5279)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules area release_note:skip Skip the PR/issue when compiling release notes Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Security Solution] Write a test plan for the per-field diff tab of prebuilt rule flyout
6 participants