fatihtokus / scan2html

A Trivy plugin that scans and outputs the results (vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more) to an interactive html file.
Apache License 2.0
28 stars 4 forks source link

Feature Request: #66

Closed Deathstr0ke1 closed 22 hours ago

Deathstr0ke1 commented 4 days ago

Hi Team,

Is there a plan to develop a simple management page? I have scan result reports for multiple K8s clusters, and I would like to quickly navigate to the scan results of different clusters within the management page (both HTML and JSON loading are acceptable).

fatihtokus commented 4 days ago

Hi @Deathstr0ke1 ,

Thanks for using the plugin. Did you know that we already have the feature?

Deathstr0ke1 commented 3 days ago

Thank you for your response. I understand the feature you mentioned. Perhaps what I need is the ability to load multiple reports simultaneously. For example, if there are multiple JSON-format reports in a folder, I would like to be able to click on the webpage to switch between different reports, similar to your #58 .

fatihtokus commented 3 days ago

Actually, that functionality is also available:

  1. Make your JSON reports available via a url (https://fatih.tokus.gitlab.io/-/scan2html-test/-/jobs/7034668797/artifacts/results.json)
  2. Open any report that you already generated by using the plugin and pass the JSON report url as a parameter (interactive_report.html?reportUrls=https://fatih.tokus.gitlab.io/-/scan2html-test/-/jobs/7034668797/artifacts/results.json)
  3. if you want to load multiple reports at the same time -> interactive_report.html?reportUrls=https://fatih.tokus.gitlab.io/-/scan2html-test/-/jobs/7034668797/artifacts/results.json&reportUrls=https://fatih.tokus.gitlab.io/-/scan2html-test/-/jobs/7034668797/artifacts/results2.json
Deathstr0ke1 commented 22 hours ago

Oh, I see. Thank you for your response, again.