Skip to content

[ResponseOps][SecuritySolution][Alerts] Fix cases service missing in detection engine alerts table#215111

Merged
umbopepato merged 3 commits intoelastic:mainfrom
umbopepato:fix-cases-bulk-actions-sec-alerts-table
Mar 20, 2025
Merged

[ResponseOps][SecuritySolution][Alerts] Fix cases service missing in detection engine alerts table#215111
umbopepato merged 3 commits intoelastic:mainfrom
umbopepato:fix-cases-bulk-actions-sec-alerts-table

Conversation

@umbopepato
Copy link
Member

@umbopepato umbopepato commented Mar 19, 2025

Summary

Provides the Cases service to the detection engine alerts table. The missing services caused the cases actions to disappear from the bulk actions menu.

Verification steps

  1. Create Security rules that fire alerts
  2. Visit the Security > Alerts page
  3. Select one or more alert rows from the table
  4. Open the Selected X alerts bulk action menu
  5. Check that the cases bulk actions are available

Release Notes

Fixes a regression that caused the cases actions to disappear from the detections engine alerts table bulk actions menu.

Checklist

  • Unit or functional tests were updated or added to match the most common scenarios
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
@umbopepato umbopepato added release_note:fix Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// backport:version Backport to applied version labels v9.1.0 v8.19.0 labels Mar 19, 2025
@umbopepato umbopepato requested review from a team as code owners March 19, 2025 09:43
@umbopepato umbopepato requested a review from rylnd March 19, 2025 09:43
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

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

Desk tested and code LGTM. Thanks for the quick fix @umbopepato

Copy link
Contributor

@rylnd rylnd left a comment

Choose a reason for hiding this comment

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

Just one nit about test descriptions. Otherwise LGTM!

visit(ALERTS_URL);
});

it('shows the and cases bulk actions', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
it('shows the and cases bulk actions', () => {
it('shows the"add to case" and "add to existing case" bulk actions', () => {
@umbopepato umbopepato enabled auto-merge (squash) March 20, 2025 20:07
@umbopepato umbopepato merged commit 7d65957 into elastic:main Mar 20, 2025
10 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/13980933953

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

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
securitySolution 8.9MB 8.9MB +21.0B

History

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 20, 2025
…detection engine alerts table (elastic#215111)

## Summary

Provides the Cases service to the detection engine alerts table. The
missing services caused the cases actions to disappear from the bulk
actions menu.

## Verification steps

1. Create Security rules that fire alerts
2. Visit the Security > Alerts page
3. Select one or more alert rows from the table
4. Open the `Selected X alerts` bulk action menu
5. Check that the cases bulk actions are available

## Release Notes

Fixes a regression that caused the cases actions to disappear from the
detections engine alerts table bulk actions menu.

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 7d65957)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Mar 21, 2025
…ng in detection engine alerts table (#215111) (#215428)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ResponseOps][SecuritySolution][Alerts] Fix cases service missing in
detection engine alerts table
(#215111)](#215111)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Umberto
Pepato","email":"umbopepato@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-20T22:57:30Z","message":"[ResponseOps][SecuritySolution][Alerts]
Fix cases service missing in detection engine alerts table
(#215111)\n\n## Summary\n\nProvides the Cases service to the detection
engine alerts table. The\nmissing services caused the cases actions to
disappear from the bulk\nactions menu.\n\n## Verification steps\n\n1.
Create Security rules that fire alerts\n2. Visit the Security > Alerts
page\n3. Select one or more alert rows from the table\n4. Open the
`Selected X alerts` bulk action menu\n5. Check that the cases bulk
actions are available\n\n## Release Notes\n\nFixes a regression that
caused the cases actions to disappear from the\ndetections engine alerts
table bulk actions menu.\n\n### Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7d6595768364d762764e8b891a97d85cdd0b259a","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","backport:version","v9.1.0","v8.19.0"],"title":"[ResponseOps][SecuritySolution][Alerts]
Fix cases service missing in detection engine alerts
table","number":215111,"url":"https://github.com/elastic/kibana/pull/215111","mergeCommit":{"message":"[ResponseOps][SecuritySolution][Alerts]
Fix cases service missing in detection engine alerts table
(#215111)\n\n## Summary\n\nProvides the Cases service to the detection
engine alerts table. The\nmissing services caused the cases actions to
disappear from the bulk\nactions menu.\n\n## Verification steps\n\n1.
Create Security rules that fire alerts\n2. Visit the Security > Alerts
page\n3. Select one or more alert rows from the table\n4. Open the
`Selected X alerts` bulk action menu\n5. Check that the cases bulk
actions are available\n\n## Release Notes\n\nFixes a regression that
caused the cases actions to disappear from the\ndetections engine alerts
table bulk actions menu.\n\n### Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7d6595768364d762764e8b891a97d85cdd0b259a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215111","number":215111,"mergeCommit":{"message":"[ResponseOps][SecuritySolution][Alerts]
Fix cases service missing in detection engine alerts table
(#215111)\n\n## Summary\n\nProvides the Cases service to the detection
engine alerts table. The\nmissing services caused the cases actions to
disappear from the bulk\nactions menu.\n\n## Verification steps\n\n1.
Create Security rules that fire alerts\n2. Visit the Security > Alerts
page\n3. Select one or more alert rows from the table\n4. Open the
`Selected X alerts` bulk action menu\n5. Check that the cases bulk
actions are available\n\n## Release Notes\n\nFixes a regression that
caused the cases actions to disappear from the\ndetections engine alerts
table bulk actions menu.\n\n### Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7d6595768364d762764e8b891a97d85cdd0b259a"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Umberto Pepato <umbopepato@users.noreply.github.com>
JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this pull request Mar 24, 2025
…detection engine alerts table (elastic#215111)

## Summary

Provides the Cases service to the detection engine alerts table. The
missing services caused the cases actions to disappear from the bulk
actions menu.

## Verification steps

1. Create Security rules that fire alerts
2. Visit the Security > Alerts page
3. Select one or more alert rows from the table
4. Open the `Selected X alerts` bulk action menu
5. Check that the cases bulk actions are available

## Release Notes

Fixes a regression that caused the cases actions to disappear from the
detections engine alerts table bulk actions menu.

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
cqliu1 pushed a commit to cqliu1/kibana that referenced this pull request Mar 31, 2025
…detection engine alerts table (elastic#215111)

## Summary

Provides the Cases service to the detection engine alerts table. The
missing services caused the cases actions to disappear from the bulk
actions menu.

## Verification steps

1. Create Security rules that fire alerts
2. Visit the Security > Alerts page
3. Select one or more alert rows from the table
4. Open the `Selected X alerts` bulk action menu
5. Check that the cases bulk actions are available

## Release Notes

Fixes a regression that caused the cases actions to disappear from the
detections engine alerts table bulk actions menu.

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:fix Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v8.19.0 v9.1.0

5 participants