Hello Julio,
thank you verry much for your answer.
In my case, I used “Alerting” feature, provided by Open Distro, section to enable ransomware alerts (see the image below)
In particular, following the instructions of wazuh blog, I created a trigger that is working as expected, but I would like to add some info about the agent (or the list of agents) that triggered the alert.
In other words, I would like to change the format of the alert mail message adding something like that "Agent List: {{???????????}}", but I don’t know how to do it using “Mustache”.
Monitor {{
ctx.monitor.name}} just entered alert status. Please investigate the issue.
- Severity: {{ctx.trigger.severity}}
- Period start: {{ctx.periodStart}}
- Period end: {{ctx.periodEnd}}
- Agent List: {{???????????}}
Do you know Mustache syntax that I need to reach the target?
Thank you,
Mauro