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

[Cases] Multiple alerts user action on the UI #130265

Merged
merged 5 commits into from
Apr 19, 2022

Conversation

cnasikas
Copy link
Member

@cnasikas cnasikas commented Apr 14, 2022

Summary

This PR shows a user action on the single page of a case when bulk alerts are attached to a case. At the moment users are not able to bulk attach alerts to a case.

Screenshot 2022-04-15 at 11 45 15 AM

Testing

POST /api/cases/<case_id>/comments
{
    // You can add as many alert ids as you want.
    "alertId": [<alert_id>, <alert_id>],
    // Index should have the same length as the alertId array
    "index": [<index>, <index>],
    "rule": { "id": <rule_id>, "name": <rule_name> },
    "type": "alert",
    "owner": "securitySolution"
}

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@cnasikas cnasikas self-assigned this Apr 14, 2022
@cnasikas cnasikas added release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Cases Cases feature v8.3.0 labels Apr 14, 2022
@cnasikas cnasikas force-pushed the bulk_alerts_user_action_ui branch from b7a6a3d to 53ef748 Compare April 19, 2022 07:23
@cnasikas cnasikas marked this pull request as ready for review April 19, 2022 07:25
@cnasikas cnasikas requested a review from a team as a code owner April 19, 2022 07:25
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@cnasikas cnasikas requested a review from academo April 19, 2022 07:25
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
cases 283.9KB 285.6KB +1.7KB
Unknown metric groups

ESLint disabled line counts

id before after diff
cases 76 75 -1

Total ESLint disabled count

id before after diff
cases 92 91 -1

History

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

cc @cnasikas

Copy link
Contributor

@academo academo left a comment

Choose a reason for hiding this comment

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

tested it locally and works well.

@cnasikas cnasikas merged commit a961a96 into elastic:main Apr 19, 2022
@cnasikas cnasikas deleted the bulk_alerts_user_action_ui branch April 19, 2022 12:27
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Apr 19, 2022
kertal pushed a commit to kertal/kibana that referenced this pull request May 24, 2022
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:Cases Cases feature release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants