-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Alerting] Enables AlertTypes to define the custom recovery action groups #84408
Merged
gmmorris
merged 29 commits into
elastic:master
from
gmmorris:alerts/custom-recovery-action-group
Dec 4, 2020
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
8716b86
renamed Resolved to Recovered
gmmorris 6dd664d
fixed missing import
gmmorris 00f7ef3
fixed buggy default message behaviour
gmmorris f9c7560
added missing test
gmmorris b1eb47b
fixed typing
gmmorris 2c5348f
Merge branch 'master' into alerts/fix-buggy-default-message
gmmorris 0d57716
fixed resolved in tests
gmmorris f2bd0e0
Merge branch 'master' into alerts/rename-resolved-to-recovered
gmmorris 50e612e
allows alert types to specify their own custom recovery group name
gmmorris 095159a
removed unnecesery field on always fires
gmmorris 0ea276f
allows alert types to specify their own custom recovery group
gmmorris c040c6f
fixed mock alert types throughout unit tests
gmmorris 455d295
Merge remote-tracking branch 'origin/alerts/fix-buggy-default-message…
gmmorris 2699660
fixed typing issues
gmmorris 23f1433
reduce repetition of mock data
gmmorris 09732bd
Merge branch 'master' into alerts/custom-recovery-action-group
gmmorris 4c20c3b
fixed alert type list test
gmmorris a4f8a9c
support legacy event log alert recovery syntax
gmmorris 3421a0f
Merge branch 'master' into alerts/custom-recovery-action-group
gmmorris 94a30d5
added doc
gmmorris b92d4b8
Merge branch 'master' into alerts/custom-recovery-action-group
gmmorris 0010947
removed unneeded change in jira
gmmorris 124d002
correct callback name in siem
gmmorris c690e67
renamed resolved to recovered
gmmorris d7b3b34
fixed mistaken rename
gmmorris 7762864
Merge remote-tracking branch 'upstream/master' into alerts/custom-rec…
gmmorris ca54013
elvated default params to alert concern instead of actions concern
gmmorris 69fa7af
made default params optional
gmmorris 8940592
Merge branch 'master' into alerts/custom-recovery-action-group
gmmorris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming nit: It seems like we use
recovered
everywhere except here where it isrecovery
. What if we renamed the built-in action groupDefaultRecoveredActionGroup
and then named the field on the alertrecoveredActionGroup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize I put my comment on the wrong line where it doesn't actually say
recovery
🤦♀️There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha interesting, I just thought of recovery as the verb for becoming Recovered ...which is why the default AG for is Recovered. The term
recoveredActionGroup
could work.... but the past tense feels wrong to me 🤔I don't know... Having two first languages makes these weird i my head at times.
Any thoughts from someone else in @elastic/kibana-alerting-services ?