Closed siloed closed 2 years ago
found the location.
I could find the report format id within /report_formats/report_format.xml
then the actual latex.xsl location that is used for PDF generation seems to be at:
/var/lib/gvm/gvmd/report_formats/<theonlyavailable_folder_id_here>/<id_from_above_file>/latex.xsl
you can also find this by searching for latex.xsl files within the docker container for e.g.:
find / -type f | grep latex.xsl
Hi,
I am running v21.4 docker image and trying to create a custom PDF report template.
So far, I've tried editing the following file, which was the only PDF related template location I could identify on the docker image: /report_formats/latex.xsl
I've edited this and tested trying to change the report name e.g. from the text 'Scan Report' to something else. Saved, and tried re-generating PDF but it did not seem to have an affect. Tried restarting the container, and also creating the report out of a fresh scan task, but its still the same.
Can you please provide some guidance where I could find the correct PDF template to edit and how to enforce those changes?
Much appreciated