From 39846b1ec504388eecc4cda1314ae8158fe627bc Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 6 Jun 2024 16:44:46 -0400 Subject: [PATCH] Update 2.x to 2.15.0 (#1055) Signed-off-by: Peter Zhu Signed-off-by: Subhobrata Dey --- build.gradle | 2 +- .../opensearch/securityanalytics/alerts/AlertsService.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 90db45811..f29c78554 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ import org.opensearch.gradle.test.RestIntegTestTask buildscript { ext { - opensearch_version = System.getProperty("opensearch.version", "2.14.0-SNAPSHOT") + opensearch_version = System.getProperty("opensearch.version", "2.15.0-SNAPSHOT") isSnapshot = "true" == System.getProperty("build.snapshot", "true") buildVersionQualifier = System.getProperty("build.version_qualifier", "") version_tokens = opensearch_version.tokenize('-') 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);