You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
report vulnerability reports in the aggregated vulnerability report only (#2915)
This commit is contained in:
committed by
GitHub
parent
188e409a87
commit
3fa46f20d3
@@ -781,7 +781,7 @@ func aggregateVersionWideVulnerabilities(config *ScanOptions, utils whitesourceU
|
||||
projectVersion := strings.Split(project.Name, " - ")[1]
|
||||
if projectVersion == config.Version {
|
||||
projectNames += project.Name + "\n"
|
||||
alerts, err := sys.GetProjectAlerts(project.Token)
|
||||
alerts, err := sys.GetProjectAlertsByType(project.Token, "SECURITY_VULNERABILITY")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user