Open xavier-isecurity opened 2 years ago
@xavier-isecurity We have tried to reproduce the bug. We discover that when there is some error (i.e. unhealthy index) blocking the policy execution, it can't send the notification. When running docker image, it lacks error messages for sending notification failure. We are going to fix it.
Describe the bug I have an ISM policy working for all my indices on my opensearch environment and I have configured a custom webhook for error notification.
When I force the index to fail, changing the rollover alias to a wrong one, the ISM notification works fine, it sends the notification for my webhook.
But when it fails because of any other issue in Opensearch, it does not send the notification after the state is changed to failed.
There isn't also error logs about the error notification.
To Reproduce Steps to reproduce the behavior:
Expected behavior After the state of the index is changed to failed, in any situation the error notification should send the notification for the custom webhook configured.
Plugins opensearch-alerting opensearch-anomaly-detection opensearch-asynchronous-search opensearch-cross-cluster-replication opensearch-index-management opensearch-job-scheduler opensearch-knn opensearch-ml opensearch-observability opensearch-performance-analyzer opensearch-reports-scheduler opensearch-security opensearch-sql
Host/Environment (please complete the following information):