Skip to content
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

BREAKING: add new classes for vulnerabilities #2541

Merged
merged 11 commits into from
Jul 31, 2022
Prev Previous commit
Next Next commit
add a comment
  • Loading branch information
knqyf263 committed Jul 19, 2022
commit 1ed1d28ce127e493ed489109788bd72acaa90f9c
1 change: 1 addition & 0 deletions pkg/report/table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ type Renderer interface {

// Write writes the result on standard output
func (tw Writer) Write(report types.Report) error {
// Iterate results to extract packages first, then write tables for each result
pkgs := map[string][]ftypes.Package{}
for _, result := range report.Results {
if result.Class == types.ClassOSPkg || result.Class == types.ClassLangPkg {
Expand Down