wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Alert Trigger Channel is not loading MS Teams as optional recipients
| Wazuh | Rev | Browser |
|---|---|---|
| Latest | 4.8.0 | Firefox, Chrome, untested on others. |
Description On OpenSearch, I am able to flawlessly create a new channel, add my MS Teams webhook, return to alerting, setup a monitor with an action on a trigger and for the channel to send the POST to, I can select my MS Teams webhook. I am unable to select the proper chanel on the latest version of Wazuh. Previous versions I have installed on other stacks don't even have the option for MS teams webhooks yet.
Preconditions
- Alerts index
- Monitor
- Trigger
- Action <-- Won't show all possible channels
Steps to reproduce
- Navigate to the 'Explore' drop down option from the hamburger menu
- Click on 'Create Monitor'
- Fill out monitor details here, name is a requirement for sure to even test. My Setup:
Per query monitor
Extraction Query Editor
- Add Trigger -- This is where I get "Failed to load Destinations" as a toast alert.
- Add Action
- Channels -> Manage Channels if you need to create an MS Teams webhook channel. See my Screenshot for this. This webhook is described as active by the dashboard and the test message to my endpoint is working, I just cannot select this channel in my alert trigger's actions.
Expected Result
- See all possible channels for alert POST to go to
Actual Result
- Seeing only email/custom webhooks.
Screenshots
Additional context Anything else I might be able to provide to help you help me, please let me know. I've been searching all over for this issue and can't find much on it, so it might be an oversight on my end. Thanks for reading!
I'm having the same issue
Same issue as well, hope for a fix asap. Even if it modifying through JSON.
Same Problem here....
No support for this issue? Anyone got a solution?
No support for this issue? Anyone got a solution?
I've used a very similar setup to the person who helped me on my Reddit thread here. It's not the exact solution we're looking for, nor is it as easy but this works for now, at least for me and my team. Still anxious to see if there is a planned deployment for the fix. https://www.reddit.com/r/Wazuh/comments/1divds2/comment/l977ztv/?context=3
This is the original link to the 'custom integrations.' https://wazuh.com/blog/how-to-integrate-external-software-using-integrator/
Same problem. I have a channel created but I can't use it :-(
I am facing the same problem. Still no solution?
Hi, I could replicate the problem using the Wazuh dashboard 4.8.1 (based on OpenSearch Dashboards 2.10.0).
I was researching and it seems that there is a bug on the Alerting application for Wazuh dashboard 4.8.x (that is based on OpenSearch Dashboards 2.10.0). Reviewing the release notes of recent versions of the alerting plugin for OpenSearch Dashboards, I found a related change for 2.11.0 that could fix the problem:
- Release notes: https://github.com/opensearch-project/alerting-dashboards-plugin/blob/2.11.0.0/release-notes/opensearch-alerting-dashboards-plugin.release-notes-2.11.0.0.md
- Pull request solves the problem: https://github.com/opensearch-project/alerting-dashboards-plugin/pull/743
Using an OpenSearch Dashboards 2.11.0, I could select the Microsoft Teams channel for the monitor:
So, in theory, the problem should be fixed for the Wazuh dashboard is based on OpenSearch Dashboards whose version is later to 2.10.0. At the current moment, the unreleased Wazuh dashboard 4.9.0 will be based on OpenSearch Dashboards 2.13.0, so the fix should be included for this version.
Hi Antonio, sorry for the late reply. So what should I do now? I can't wait for wazuh to get updated to 4.9.0. Is there something else I can do, like getting wazuh to use opensearch dashboard 2.11.0?
On Wed, 14 Aug 2024 at 13:19, Antonio @.***> wrote:
Hi, I could replicate the problem using the Wazuh dashboard 4.8.1 (based on OpenSearch Dashboards 2.10.0).
I was researching and it seems that there is a bug on the Alerting application for Wazuh dashboard 4.8.x (that is based on OpenSearch Dashboards 2.10.0). Reviewing the release notes of recent versions of the alerting plugin for OpenSearch Dashboards, I found a related change for 2.11.0 that could fix the problem:
- Release notes: https://github.com/opensearch-project/alerting-dashboards-plugin/blob/2.11.0.0/release-notes/opensearch-alerting-dashboards-plugin.release-notes-2.11.0.0.md
- Pull request solves the problem: opensearch-project/alerting-dashboards-plugin#743 https://github.com/opensearch-project/alerting-dashboards-plugin/pull/743
Using an OpenSearch Dashboards 2.11.0, I could select the Microsoft Teams channel for the monitor: image.png (view on web) https://github.com/user-attachments/assets/73760d26-610c-4357-9fd0-c90e59dd6885 image.png (view on web) https://github.com/user-attachments/assets/1544265f-9a55-49da-96ba-1cfe5020dc1c
So, in theory, the problem should be fixed for the Wazuh dashboard is based on OpenSearch Dashboards whose version is later to 2.10.0. At the current moment, the unreleased Wazuh dashboard 4.9.0 will be based on OpenSearch Dashboards 2.13.0, so the fix should be included for this version.
— Reply to this email directly, view it on GitHub https://github.com/wazuh/wazuh-dashboard-plugins/issues/6783#issuecomment-2288076761, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7G2B5FVLV6CC2NOC6W6I3LZRMDYXAVCNFSM6AAAAABJSQVXVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYGA3TMNZWGE . You are receiving this because you commented.Message ID: @.***>
Is there something else I can do, like getting wazuh to use opensearch dashboard 2.11.0?
@roishub , I do not know if there is an user-friendly solution for this problem.
If you can not wait to a release of Wazuh dashboard that contains the fix, I guess some solutions could be:
- Build a Wazuh dashboard based on a version of OpenSearch Dashboards (e.g. 2.11.0) that contains the fix.
- Patch the current
Alertingplugin with a fix on the installed Wazuh dashboard. - Replace the built-in
Alertingplugin that contains the bug for a build (with some adaptations) of the plugin for OpenSearch Dashboards 2.11.0.
Note the mentioned approaches require development knowledge and are not user friendly. You could experience multiple problems, incompatibilities, etc...
My recommendation is to wait for the Wazuh dashboard 4.9.0.
I can confirm it is working with 4.9.0. Teams can be selected as a channel for a monitor now.
Thank you so much @supremesyntax for confirming it is working on Wazuh dashboard 4.9.0. I will close the issue.
Wazuh dashboard 4.9.0 lets the selection of Microsoft Teams channel