-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(output): add HTML output format #1258
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1258 +/- ##
========================================
Coverage 68.47% 68.48%
========================================
Files 175 177 +2
Lines 16832 17155 +323
========================================
+ Hits 11526 11748 +222
- Misses 4679 4769 +90
- Partials 627 638 +11 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Did a quick first pass at reviewing this.
Added a tooltip for layer command file name and enabled UT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks awesome!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last review!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one minor comment
HTML output added #1258 New design (sample one: https://hogo6002.github.io/scanner-report/): - Changed the color scheme to match osv.dev. - Merged the package view and vulnerability view into a single nested table. - Added a layer view. - Added a vulnerability type filter (project, OS, and uncalled). - Added a vulnerability search bar. - Refined the vulnerability severity count design. - Integrated the osv.dev vulnerability page into results (allowing users to click to view details). - Improved the UI. Future plan: Use frontend framework to enhance code maintainability and readability ![image](https://github.com/user-attachments/assets/5aa1559d-3d41-4ce1-9aff-6e68c25200ac) ![image](https://github.com/user-attachments/assets/e23d7a97-b295-4d10-a8cc-1350dd33576e) ![image](https://github.com/user-attachments/assets/849dc0cf-2b12-4bc9-a08a-10b426d16155) ![image](https://github.com/user-attachments/assets/ba787cda-3e07-479a-976d-171de4db6c7e) --------- Signed-off-by: Holly Gong <gongh@google.com>
Implement #1274
Add an HTML output format to display results more effectively, particularly for container scanning.
This format retains all the information from the existing table output, including called/uncalled vulnerability details.
New features: