From 61276aa79d9cddf608f70527d35774d0918dc9e3 Mon Sep 17 00:00:00 2001 From: Subhobrata Dey Date: Thu, 6 Jun 2024 19:50:39 +0000 Subject: [PATCH] fix compilation issues Signed-off-by: Subhobrata Dey --- .../opensearch/securityanalytics/alerts/AlertsService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/securityanalytics/alerts/AlertsService.java b/src/main/java/org/opensearch/securityanalytics/alerts/AlertsService.java index a61fe9d35..69757bf81 100644 --- a/src/main/java/org/opensearch/securityanalytics/alerts/AlertsService.java +++ b/src/main/java/org/opensearch/securityanalytics/alerts/AlertsService.java @@ -141,6 +141,7 @@ public void getAlertsByMonitorIds( alertIndex, monitorIds, null, + null, null ); @@ -255,7 +256,8 @@ public void getAlerts(List alertIds, DetectorMonitorConfig.getAllAlertsIndicesPattern(detector.getDetectorType()), null, null, - alertIds); + alertIds, + null); AlertingPluginInterface.INSTANCE.getAlerts( (NodeClient) client, request, actionListener);