html report not readable
i run a trivy scan on my cluster k8s with the plugin scan2html, i got a report not readable on browsers i tested it on https://codepen.io/ and i got a javascript error "Uncaught TypeError: Cannot read properties of undefined (reading 'forEach')"
trivy version: 0.52.2 scan2html version : latest
any solution please
Hi @Lahcentidrarin ,
Thank you for using our plugin. Could you give us more details?
- What command did you execute?
- What is the size of the report?
- Could you upload a screenshot?
Regards, Fatih
Hi @fatihtokus
Thank you for your response
Here is the command: trivy scan2html k8s --report all --include-namespaces xxx interactive_result.html the size is 1.1M actualy i got a white page on browser and when i refresh i see kind some of the content but it disappear quickly.
Hi @Lahcentidrarin ,
1- Can you try following and let me know if still it works? trivy scan2html k8s --report all interactive_result.html
2- Can you share the interactive_result.html file ?
3- Can you share the console(like below) that shows the error stack trace so that we can debug?
Hi @fatihtokus
Unfortunately i can't share the report
here is sceen of the console
Hi @Lahcentidrarin,
Unfortunately, without the report, we couldn't reproduce it locally. But we put some extra checks with the latest release. Please try and let us know.
please consider giving us a GitHub star ⭐️. Thank you!
Hi @Lahcentidrarin,
By any chance, have you tried the latest version?
Hi @Lahcentidrarin ,
Have you tried the latest version which has excellent features like creating report from multiple json scan results?