diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/MonitorRunner.kt b/alerting/src/main/kotlin/org/opensearch/alerting/MonitorRunner.kt index f0d07c839..972bcbcfd 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/MonitorRunner.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/MonitorRunner.kt @@ -24,6 +24,7 @@ import org.opensearch.alerting.core.JobRunner import org.opensearch.alerting.core.model.ScheduledJob import org.opensearch.alerting.elasticapi.InjectorContextElement import org.opensearch.alerting.elasticapi.retry +import org.opensearch.alerting.elasticapi.string import org.opensearch.alerting.model.ActionRunResult import org.opensearch.alerting.model.Alert import org.opensearch.alerting.model.AlertingConfigAccessor @@ -79,6 +80,7 @@ import org.opensearch.common.component.AbstractLifecycleComponent import org.opensearch.common.settings.Settings import org.opensearch.common.xcontent.NamedXContentRegistry import org.opensearch.common.xcontent.ToXContent +import org.opensearch.common.xcontent.XContentBuilder import org.opensearch.common.xcontent.XContentFactory import org.opensearch.common.xcontent.XContentType import org.opensearch.index.query.BoolQueryBuilder