-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Modal says "duplicating 0 rules" when you duplicate an individual rule #162035
Comments
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
Whoever works on fixing it in the future, please also check the Duplicate action behavior on the Rule Details page. |
…te an individual rule (#163908) ## What does this PR do? * It fixes the count on the duplicate modal when duplicating an individual rule. ## Issue References Fixes #162035 ## Video/Screenshot Demo ##### Steps to reproduce & Fix: https://www.loom.com/share/931e42c1490d4483958b8f98dc0ba534?sid=07c67df5-b380-41a5-90f1-f64f326a12d9 ___ This code was written and reviewed by GitStart Community. Growing future engineers, one PR at a time.
…te an individual rule (elastic#163908) ## What does this PR do? * It fixes the count on the duplicate modal when duplicating an individual rule. ## Issue References Fixes elastic#162035 ## Video/Screenshot Demo ##### Steps to reproduce & Fix: https://www.loom.com/share/931e42c1490d4483958b8f98dc0ba534?sid=07c67df5-b380-41a5-90f1-f64f326a12d9 ___ This code was written and reviewed by GitStart Community. Growing future engineers, one PR at a time. (cherry picked from commit 59f2058)
…te an individual rule (elastic#163908) ## What does this PR do? * It fixes the count on the duplicate modal when duplicating an individual rule. ## Issue References Fixes elastic#162035 ## Video/Screenshot Demo ##### Steps to reproduce & Fix: https://www.loom.com/share/931e42c1490d4483958b8f98dc0ba534?sid=07c67df5-b380-41a5-90f1-f64f326a12d9 ___ This code was written and reviewed by GitStart Community. Growing future engineers, one PR at a time. (cherry picked from commit 59f2058)
@vgomez-el @MadameSheema The fix will be available in the 8.10.0 BC3 and in the 8.9.2 BC. Backports: |
…uplicate an individual rule (#163908) (#164687) # Backport This will backport the following commits from `main` to `8.9`: - [[Security Solution] Modal says "duplicating 0 rules" when you duplicate an individual rule (#163908)](#163908) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"GitStart","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-08-24T07:13:17Z","message":"[Security Solution] Modal says \"duplicating 0 rules\" when you duplicate an individual rule (#163908)\n\n ## What does this PR do?\r\n * It fixes the count on the duplicate modal when duplicating an individual rule.\r\n \r\n ## Issue References\r\nFixes #162035\r\n \r\n ## Video/Screenshot Demo\r\n ##### Steps to reproduce & Fix:\r\nhttps://www.loom.com/share/931e42c1490d4483958b8f98dc0ba534?sid=07c67df5-b380-41a5-90f1-f64f326a12d9\r\n\r\n___\r\n \r\n This code was written and reviewed by GitStart Community. Growing future engineers, one PR at a time.","sha":"59f20582605d5dcb489b6534b027ec19475e7136","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","💝community","Team:Detections and Resp","Team: SecuritySolution","Feature:Rule Management","Team:Detection Rule Management","v8.10.0","v8.9.2"],"number":163908,"url":"https://github.com/elastic/kibana/pull/163908","mergeCommit":{"message":"[Security Solution] Modal says \"duplicating 0 rules\" when you duplicate an individual rule (#163908)\n\n ## What does this PR do?\r\n * It fixes the count on the duplicate modal when duplicating an individual rule.\r\n \r\n ## Issue References\r\nFixes #162035\r\n \r\n ## Video/Screenshot Demo\r\n ##### Steps to reproduce & Fix:\r\nhttps://www.loom.com/share/931e42c1490d4483958b8f98dc0ba534?sid=07c67df5-b380-41a5-90f1-f64f326a12d9\r\n\r\n___\r\n \r\n This code was written and reviewed by GitStart Community. Growing future engineers, one PR at a time.","sha":"59f20582605d5dcb489b6534b027ec19475e7136"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","8.9"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: GitStart <[email protected]>
…duplicate an individual rule (#163908) (#164686) # Backport This will backport the following commits from `main` to `8.10`: - [[Security Solution] Modal says "duplicating 0 rules" when you duplicate an individual rule (#163908)](#163908) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"GitStart","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-08-24T07:13:17Z","message":"[Security Solution] Modal says \"duplicating 0 rules\" when you duplicate an individual rule (#163908)\n\n ## What does this PR do?\r\n * It fixes the count on the duplicate modal when duplicating an individual rule.\r\n \r\n ## Issue References\r\nFixes #162035\r\n \r\n ## Video/Screenshot Demo\r\n ##### Steps to reproduce & Fix:\r\nhttps://www.loom.com/share/931e42c1490d4483958b8f98dc0ba534?sid=07c67df5-b380-41a5-90f1-f64f326a12d9\r\n\r\n___\r\n \r\n This code was written and reviewed by GitStart Community. Growing future engineers, one PR at a time.","sha":"59f20582605d5dcb489b6534b027ec19475e7136","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","💝community","Team:Detections and Resp","Team: SecuritySolution","Feature:Rule Management","Team:Detection Rule Management","v8.10.0","v8.9.2"],"number":163908,"url":"https://github.com/elastic/kibana/pull/163908","mergeCommit":{"message":"[Security Solution] Modal says \"duplicating 0 rules\" when you duplicate an individual rule (#163908)\n\n ## What does this PR do?\r\n * It fixes the count on the duplicate modal when duplicating an individual rule.\r\n \r\n ## Issue References\r\nFixes #162035\r\n \r\n ## Video/Screenshot Demo\r\n ##### Steps to reproduce & Fix:\r\nhttps://www.loom.com/share/931e42c1490d4483958b8f98dc0ba534?sid=07c67df5-b380-41a5-90f1-f64f326a12d9\r\n\r\n___\r\n \r\n This code was written and reviewed by GitStart Community. Growing future engineers, one PR at a time.","sha":"59f20582605d5dcb489b6534b027ec19475e7136"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","8.9"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: GitStart <[email protected]>
Tested on latest 8.10.0 branch (c3a088b) and the fix is working fine. Validated:
@karanbirsingh-qasource please validate the same scenarios on next BC. Thanks! |
Hi all, REC-20230831170628.mp4Still pending to get the 8.9.2 version available on Cloud, to check the fix there, before labeling it as Validated |
Hi all, the bug is fixed for 8.9.2 version too: REC-20230901112652.mp4I will mark the bug as validated since it is fixed for 8.10 and 8.9.2 versions. |
Describe the bug:
this bug is an old friend. Re-opening it as it happens again on this version. Rule update counter is not displaying properly the amount of rules to display when updating rules from rule "All Actions" button on Rules table.
Note: It does work properly, when duplicating a single rule from bulk actions. See attached video for more details.
Kibana/Elasticsearch Stack version:
8.9 BC4
Original install method (e.g. download page, yum, from source, etc.):
Cloud deployment
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Rules Management table
Steps to reproduce:
Current behavior:
Confirmation Modal message says: "You're duplicating 0 rules. Choose what to duplicate:"
Expected behavior:
Confirmation Modal message should say: "You're duplicating 1 rules. Choose what to duplicate:"
Screenshots (if relevant):
REC-20230717130542.mp4
The text was updated successfully, but these errors were encountered: