All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.danielsomerfield.cvecheck.owaspdependencycheck.OWASPScanResult.groovy Maven / Gradle / Ivy

There is a newer version: 0.6.2-100
Show newest version
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
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy