-
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]Enable the Export option under Bulk if there is Custom Rule under Selection #127746
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
@yiyangliu9286 , @jethr0null can you please look at this one. What should be expected behaviour in this case? Currently, for export action, if not all rules selected and any of rule is prebuilt, It seems too restirctive condition for disabling I would suggest:
Successfully exported 5 of 10 rules. I propose this approach, instead of one described in ticket(make it similar to edit actions):
|
Thanks for giving suggestion for this improvement @vitaliidm! I'd say we should keep the bulk action experience consistent with other bulk actions like what it describes in this GH for |
per discussion with @elastic/security-detections-response-rules:
|
@yiyangliu9286, should we also change a behaviour for a single rule export? In my opinion, it's looks good, as user don't need to do extra click on menu item to know this rule can't be exported. Screen.Recording.2022-07-18.at.17.36.08.movWhat do you think can be the best solution?
|
Thanks for the question. Yes I think the biggest problem right here is the inconsistency for how we treat and let users know that for prebuilt/immutable rules they cannot do single and bulk actions. However I am leaning towards to leave as it is for now (because I don't see there would be strong negative or blocker for users to see a disable button since immutable rules cannot be edited anyway), and it would be nice if we have time or bandwidth, to Add the same dialog for a single rule export as a future direction to go for but I agree it's not critical for now. |
…lk exporting action (#136418) ## Summary - addresses #127746 - when users select rules for bulk export confirmation dialog is displayed, that shows how many rules can be exported. Only custom rules are exportable - if no rules can be exported, dialog will show users, that action is not available - changes successful export message, by showing note that prebuilt rules are excluded, only when rule have been excluded ### Modal windows #### no rules can be exported <img width="1293" alt="Screenshot 2022-07-18 at 14 01 36" src="https://user-images.githubusercontent.com/92328789/179517392-913f3dd9-4118-46eb-ba35-77d46906efd2.png"> #### some rules can be exported <img width="1267" alt="Screenshot 2022-07-18 at 14 02 30" src="https://user-images.githubusercontent.com/92328789/179517376-cff64ee2-af9a-448b-aa2a-ce19e1542d6b.png"> ### Implementation details - we won't need dry run action here, because export doesn't mutate state - once user click on export, we download file in browser, read it, and display message to user how many rules can/can't be exported - since all failed export are immutable rules, we can safely display immutable message error to users in modal window - user can proceed with download of exported rules OR cancel export action, thus experience will become consistent with bulk edit ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Release note improves user experience for bulk export of security rules, by displaying confirmation modal, that show how many rules can be exported
@karanbirsingh-qasource, issue has been addressed in #136418 |
Hi @vitaliidm thanks for updating. we have validated this issue on Build Details: Snap-Shoot: Hence we are closing this issue and adding "QA:Validated" tag to it. thanks !! c.c @MadameSheema |
we have validated this issue on 8.4.0 BC1 and found the issue to be fixed ✔️ . Build Details:
Snap-Shoot/Screen-Cast Hence we are closing this issue and adding "QA:Validated" tag to it. thanks !! |
Describe the bug
Enable the Export action under bulk for Elastic Rule if there is Custom Rule under selection
Build Details
Steps
Screen-Cast
Export-Action.mp4
The text was updated successfully, but these errors were encountered: