diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts index d9f36f1f69ccf..879d776f83df2 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts @@ -280,7 +280,7 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = ({ logger.info(buildRuleMessage(`Found ${createdSignalsCount} signals for notification.`)); if (ruleSO.attributes.throttle != null) { - scheduleThrottledNotificationActions({ + await scheduleThrottledNotificationActions({ alertInstance: services.alertInstanceFactory(alertId), throttle: ruleSO.attributes.throttle, startedAt, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts index 37db1368baeae..1c4efea0a1d59 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts @@ -407,7 +407,7 @@ export const signalRulesAlertType = ({ ); if (savedObject.attributes.throttle != null) { - scheduleThrottledNotificationActions({ + await scheduleThrottledNotificationActions({ alertInstance: services.alertInstanceFactory(alertId), throttle: savedObject.attributes.throttle, startedAt,