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);