mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
feat(report): export exitcode for license checks (#2564)
Also export the exit code for license checks fixes #2562
This commit is contained in:
committed by
GitHub
parent
f9be138aab
commit
d93a997800
@@ -114,6 +114,9 @@ func (results Results) Failed() bool {
|
||||
if len(r.Secrets) > 0 {
|
||||
return true
|
||||
}
|
||||
if len(r.Licenses) > 0 {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user