Skip to content

Commit a011c7c

Browse files
keroxpCopilot
andauthored
Update cli/cage/audit/printer.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d468fa7 commit a011c7c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cli/cage/audit/printer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ func (p *printer) Print(scanResults []*ScanResult) {
5858
}
5959
}
6060
result := agg.Result()
61-
p.logVuln("CRITICAL", result.CriticalCves())
62-
p.logVuln("HIGH", result.HighCves())
63-
p.logVuln("MEDIUM", result.MediumCves())
61+
p.logVuln(ecrtypes.FindingSeverityCritical, result.CriticalCves())
62+
p.logVuln(ecrtypes.FindingSeverityHigh, result.HighCves())
63+
p.logVuln(ecrtypes.FindingSeverityMedium, result.MediumCves())
6464
total := agg.TotalCVECount()
6565
color := p.color
6666
if total == 0 {

0 commit comments

Comments
 (0)