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][Detections] adds bulk edit rule actions #138900

Merged
merged 54 commits into from
Sep 6, 2022

Conversation

vitaliidm
Copy link
Contributor

@vitaliidm vitaliidm commented Aug 16, 2022

Summary

Feature recording

Note: callouts on recording are not up to date

Screen.Recording.2022-08-18.at.12.11.12.mov

Screen

Screenshot 2022-08-25 at 17 23 56

Checklist

Delete any items that are not applicable to this PR.

For maintainers

Release note

Adding bulk edit of rule actions

@vitaliidm vitaliidm changed the title [Security Solution][Detections/bulk actions [Security Solution][Detections] adds bulk edit rule actions Aug 16, 2022
@vitaliidm vitaliidm self-assigned this Aug 16, 2022
@vitaliidm vitaliidm added Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. release_note:feature Makes this part of the condensed release notes Feature:Rule Management Security Solution Detection Rule Management area Team:Detection Rule Management Security Detection Rule Management Team v8.5.0 ci:cloud-deploy Create or update a Cloud deployment labels Aug 17, 2022
@vitaliidm vitaliidm requested a review from banderror September 5, 2022 15:01
Copy link
Contributor

@banderror banderror left a comment

Choose a reason for hiding this comment

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

@vitaliidm Thank you for addressing the comments and creating the follow-up tickets. I have 2 comments left but none of them seem to be blocking.

Before you merge this PR please assist @elastic/security-docs with anything they might need for reviewing the wording used in the new bulk editing form.

Copy link
Contributor

@joepeeples joepeeples left a comment

Choose a reason for hiding this comment

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

Cool new feature, thanks for adding docs team for review! Added a few line edits.

Also, overall we might want to reconsider the name "Add rule actions" (in the "Bulk actions" menu, the flyout title, etc.), because a user might also use this UI to edit or remove actions, not just add. Maybe just the name "Rule actions" would cover all those use cases.

vitaliidm and others added 5 commits September 6, 2022 16:15
…tion_engine/rules/all/bulk_actions/forms/rule_actions_form.tsx

Co-authored-by: Joe Peeples <[email protected]>
…tion_engine/rules/all/bulk_actions/forms/rule_actions_form.tsx

Co-authored-by: Joe Peeples <[email protected]>
…tion_engine/rules/all/bulk_actions/forms/rule_actions_form.tsx

Co-authored-by: Joe Peeples <[email protected]>
…tion_engine/rules/all/bulk_actions/forms/rule_actions_form.tsx

Co-authored-by: Joe Peeples <[email protected]>
…tion_engine/rules/all/bulk_actions/translations.tsx

Co-authored-by: Joe Peeples <[email protected]>
@vitaliidm
Copy link
Contributor Author

vitaliidm commented Sep 6, 2022

Thanks for your help, @joepeeples

Here is the final version:

  • without list
  • marked menu and button as bold

Screenshot 2022-09-06 at 17 03 58

Also, overall we might want to reconsider the name "Add rule actions" (in the "Bulk actions" menu, the flyout title, etc.), because a user might also use this UI to edit or remove actions, not just add. Maybe just the name "Rule actions" would cover all those use cases.

This name is in line with other bulk edit actions menu:
Tags -> Add tags -> User can overwrite tags by clicking Overwrite checkbox
Index patterns -> Add Index patterns -> User can overwrite patterns by clicking Overwrite checkbox

@joepeeples
Copy link
Contributor

Here is the final version:

  • without list
  • marked menu and button as bold

@vitaliidm Thanks for the updated screenshot! Actually I think it's OK to use a bulleted list for the tips, and they probably work better that way; I was just saying that it wasn't necessary to introduce the list the way the original heading was doing.

This name is in line with other bulk edit actions menu: Tags -> Add tags -> User can overwrite tags by clicking Overwrite checkbox Index patterns -> Add Index patterns -> User can overwrite patterns by clicking Overwrite checkbox

That makes sense to me, thanks for the extra context.

@vitaliidm
Copy link
Contributor Author

@joepeeples

I think it's OK to use a bulleted list for the tips, and they probably work better that way

👍 , got the list back
Screenshot 2022-09-06 at 18 12 54

Copy link
Contributor

@joepeeples joepeeples left a comment

Choose a reason for hiding this comment

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

LGTM, thank you! 🚀

@vitaliidm vitaliidm enabled auto-merge (squash) September 6, 2022 17:20
@kibana-ci
Copy link
Collaborator

kibana-ci commented Sep 6, 2022

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 3049 3054 +5

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 6.4MB 6.4MB +9.9KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 261.0KB 260.3KB -752.0B

History

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

cc @vitaliidm

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 ci:cloud-deploy Create or update a Cloud deployment Feature:Rule Management Security Solution Detection Rule Management area release_note:feature Makes this part of the condensed 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.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.