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

Alert summaries and conditional actions #3142

Closed
10 tasks done
nastasha-solomon opened this issue Apr 10, 2023 · 1 comment · Fixed by #3245
Closed
10 tasks done

Alert summaries and conditional actions #3142

nastasha-solomon opened this issue Apr 10, 2023 · 1 comment · Fixed by #3245

Comments

@nastasha-solomon
Copy link
Contributor

nastasha-solomon commented Apr 10, 2023

Description

In 8.8, users could specify how often alert notifications were to third-party systems (e.g., Slack, JIRA, email, etc.). The action frequency configuration applied to all actions that were added to the rule.

Screenshot 2023-05-05 at 10 33 31 AM

In 8.8, users can set notification frequency on a per-action basis. Now, they have more control over specifying how often actions send notifications about alerts.
Screenshot 2023-05-04 at 11 05 47 AM

Screenshot 2023-05-05 at 1 29 10 PM

On top of more control over action notification frequency, users can choose to be notified on a per alert basis or with alert summaries:

  • Per alert basis: You'll receive a notification for each alert that's generated.
  • Alert summaries: You'll receive a single notification on the interval schedule that you choose and the notification will summarize multiple alerts.

From here, you can define additional conditions that must be met for the connector to send a notification:

  • if alert matches a query: Notifications are only sent if alerts match the conditions of the KQL query that the user writes. Note that this query searches alert documents in the rule's specified index.
  • if alert is generated during timeframe: Notifications are only sent if alerts are generated within the specified timeframe.

Related:

Questions

Required doc updates

Notes

  • The two notification options were described in the Kibana Actions docs. Might be able to reference those docs or re-use the content when explaining this feature in the Security docs.
  • When users import rules with actions created in 8.7, actions are automatically set to run on a per-alert frequency.
  • @e40pud to create a doc issue for the rule API doc updates.
@lcawl
Copy link
Contributor

lcawl commented May 18, 2023

Since the conditional actions feature is only available to rules in the Security app, IMO it makes sense to add it only in the Security 8.8 highlights. If you agree, here's what's proposed for the release blog:

Conditional Actions

When you create a rule, you define conditions that must be met for an alert to occur. Now you can also add conditions that affect the actions associated with an alert. For example, you might choose to send notifications only if the alert is received between defined hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants