[8.19] [Attack Discovery][Scheduling] Make "For each alert" a default action frequency (#225890)#226155
Merged
kibanamachine merged 2 commits intoelastic:8.19from Jul 2, 2025
Merged
Conversation
… frequency (elastic#225890) ## Summary This came from a testing party which we did with the team on June 30th. There are a list of attack specific fields which are helpful for the user while creating an action for the attack discovery schedule. Those fields are present within the context when the actions frequency set to `"For each alert"` and located under the `context.attack.*`. While testing this functionality, @peluja1012 and @stephmilovic found it not clear that attack context fields are only present in case of `"For each alert"` frequency. One of the reasons was the fact that we set the `"Summary of alerts"` frequency as a default one. <img width="944" alt="Screenshot 2025-06-30 at 19 02 31" src="https://github.com/user-attachments/assets/7f7a8aba-c820-47be-8f10-04df50f5af67" /> With these changes we improve the behaviour and make `"For each alert"` frequency a default one. This way user will have immediately the access to those context fields and more likely to use them. <img width="1259" alt="Screenshot 2025-06-30 at 19 03 23" src="https://github.com/user-attachments/assets/1a5f44b7-2cf8-41b1-9bbd-c0507ef42eda" /> ### To test 1. Navigate to the Attack Discovery page 2. Open Settings flyout 3. Open Schedule tab 4. Click "Create new schedule" button 5. Select one of the actions to add (slack, email etc.) **Expected behaviour**: the `"For each alert"` frequency should be selected by default and `context.attack.*` fields should be available in the `"Add variable"` popover. ## NOTES The feature is hidden behind the feature flag (in `kibana.dev.yml`): ``` feature_flags.overrides: securitySolution.attackDiscoveryAlertsEnabled: true securitySolution.assistantAttackDiscoverySchedulingEnabled: true ``` (cherry picked from commit f606dec)
Contributor
💚 Build Succeeded
Metrics [docs]Async chunks
History
cc @e40pud |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.19:Questions ?
Please refer to the Backport tool documentation