-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [ResponseOps][Cases] Fix case actions bug in serverless security (
#195281) (#195600) # Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Cases] Fix case actions bug in serverless security (#195281)](#195281) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Antonio","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-09T13:41:20Z","message":"[ResponseOps][Cases] Fix case actions bug in serverless security (#195281)\n\nFixes #186270\r\n\r\n## Summary\r\n\r\nThis PR ensures that cases created by the case action in stack\r\nmanagement rules in serverless security projects are assigned the\r\ncorrect owner.\r\n\r\n\r\n### How to test\r\n\r\n1. Add the following line to `serverless.yml` -\r\n`xpack.cloud.serverless.project_id: test-123`\r\n2. Start elastic search in serverless security mode - `yarn es\r\nserverless --projectType security`\r\n3. Start Kibana in serverless security mode - `yarn start\r\n--serverless=security`\r\n4. Go to stack and create a rule with the cases action.\r\n5. When an alert is triggered confirm you can view the case in `Security\r\n> Cases`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"02cc5a83b860713bc61868b766deda2c4e114bda","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","Feature:Cases","backport:prev-minor","v8.16.0"],"title":"[ResponseOps][Cases] Fix case actions bug in serverless security","number":195281,"url":"https://github.com/elastic/kibana/pull/195281","mergeCommit":{"message":"[ResponseOps][Cases] Fix case actions bug in serverless security (#195281)\n\nFixes #186270\r\n\r\n## Summary\r\n\r\nThis PR ensures that cases created by the case action in stack\r\nmanagement rules in serverless security projects are assigned the\r\ncorrect owner.\r\n\r\n\r\n### How to test\r\n\r\n1. Add the following line to `serverless.yml` -\r\n`xpack.cloud.serverless.project_id: test-123`\r\n2. Start elastic search in serverless security mode - `yarn es\r\nserverless --projectType security`\r\n3. Start Kibana in serverless security mode - `yarn start\r\n--serverless=security`\r\n4. Go to stack and create a rule with the cases action.\r\n5. When an alert is triggered confirm you can view the case in `Security\r\n> Cases`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"02cc5a83b860713bc61868b766deda2c4e114bda"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195281","number":195281,"mergeCommit":{"message":"[ResponseOps][Cases] Fix case actions bug in serverless security (#195281)\n\nFixes #186270\r\n\r\n## Summary\r\n\r\nThis PR ensures that cases created by the case action in stack\r\nmanagement rules in serverless security projects are assigned the\r\ncorrect owner.\r\n\r\n\r\n### How to test\r\n\r\n1. Add the following line to `serverless.yml` -\r\n`xpack.cloud.serverless.project_id: test-123`\r\n2. Start elastic search in serverless security mode - `yarn es\r\nserverless --projectType security`\r\n3. Start Kibana in serverless security mode - `yarn start\r\n--serverless=security`\r\n4. Go to stack and create a rule with the cases action.\r\n5. When an alert is triggered confirm you can view the case in `Security\r\n> Cases`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"02cc5a83b860713bc61868b766deda2c4e114bda"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Antonio <[email protected]>
- Loading branch information
1 parent
0556cfc
commit bdcb92a
Showing
10 changed files
with
124 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ | |
"uiActions", | ||
], | ||
"optionalPlugins": [ | ||
"cloud", | ||
"home", | ||
"taskManager", | ||
"usageCollection", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.