com.danielsomerfield.cvecheck.owaspdependencycheck.OWASPScanResult.groovy Maven / Gradle / Ivy
package com.danielsomerfield.cvecheck.owaspdependencycheck
import com.danielsomerfield.cvecheck.ScanResult
import com.danielsomerfield.cvecheck.Vulnerability
class OWASPScanResult implements ScanResult {
private final List vulnerabilities;
public OWASPScanResult(final List vulnerabilities) {
this.vulnerabilities = vulnerabilities
}
public int getVulnCount() {
vulnerabilities.size()
}
@Override
List getVulnerabilities() {
vulnerabilities
}
}