Custom Wazuh Reports

2,223 views
Skip to first unread message

methmu...@gmail.com

unread,
Jan 12, 2021, 5:50:50 AM1/12/21
to Wazuh mailing list
Hello everybody,

currently I am trying to change the appearance of the PDF that is generated by Wazuh (https://documentation.wazuh.com/4.0/user-manual/kibana-app/features/reporting.html). 

I would like to have another headline and other information added to the PDF that is generated. Is it possible to alter this on the manager?

Thanks a lot in advance.


System: Wazuh 4.0 on CentOS

Julio José Reyes Hurtado

unread,
Jan 13, 2021, 5:25:12 AM1/13/21
to Wazuh mailing list
Hi methmuffin91,

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.
change_custom.png
default.png
custom.png
Reply all
Reply to author
Forward
0 new messages