How do i edit the email report template?

259 views
Skip to first unread message

Daniel D'Angeli

unread,
Mar 7, 2021, 7:35:48 AM3/7/21
to Wazuh mailing list
Hi,

i was wondering if there was a way to edit the template that Wazuh uses to send reports via email.

Thanks

Julio José Reyes Hurtado

unread,
Mar 8, 2021, 4:21:21 AM3/8/21
to Wazuh mailing list
Hi Daniel,

You can find the controller file that generates the content of the report is located in our repo but we highly don't recommend do not modify this file and if you do, is under your responsibility, since It can generate troubles with the app and reports. On another part, if you want to change the title of the pdf and the description you can check tab-description.js and you can modify the title and the description following the next steps:

- go to /usr/share/kibana/plugins/wazuh/server/reporting/tab-description.js
- change the title or description that you want to change. (Under responsibility)
- restart Kibana using systemctl restart kibana.

Attached images of the test I made, default>change tab-description.js > custom.

Hope it helps you tell me otherwise.
default.png
custom.png
change_custom.png
Reply all
Reply to author
Forward
0 new messages