Skip to content

Commit 7b54f9d

Browse files
keroxpCopilot
andauthored
Update cli/cage/scan/printer.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 97f4461 commit 7b54f9d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli/cage/scan/printer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ func (p *printer) Print(result []*ScanResult) {
5454
status = "NONE"
5555
} else if critical > 0 || high > 0 {
5656
status = "VULNERABLE"
57+
} else if medium > 0 {
58+
status = "WARNING"
5759
}
5860
p.logger.Printf(
5961
bodyFmt,

0 commit comments

Comments
 (0)