Uses of Class
org.owasp.dependencycheck.dependency.Vulnerability
-
Packages that use Vulnerability Package Description org.owasp.dependencycheck.analyzer Analyzers are used to inspect the identified dependencies, collect Evidence, and process the dependencies.org.owasp.dependencycheck.data.nvdcve Contains classes used to work with the NVD CVE data.org.owasp.dependencycheck.dependency Contains the core Dependency implementation. -
-
Uses of Vulnerability in org.owasp.dependencycheck.analyzer
Methods in org.owasp.dependencycheck.analyzer with parameters of type Vulnerability Modifier and Type Method Description protected voidAbstractNpmAnalyzer. replaceOrAddVulnerability(Dependency dependency, Vulnerability vuln)Evaluates if the vulnerability is already present; if it is the vulnerability is not added. -
Uses of Vulnerability in org.owasp.dependencycheck.data.nvdcve
Methods in org.owasp.dependencycheck.data.nvdcve that return Vulnerability Modifier and Type Method Description VulnerabilityCveDB. getVulnerability(java.lang.String cve)Gets a vulnerability for the provided CVE.VulnerabilityCveDB. getVulnerability(java.lang.String cve, java.sql.Connection conn)Gets a vulnerability for the provided CVE.Methods in org.owasp.dependencycheck.data.nvdcve that return types with arguments of type Vulnerability Modifier and Type Method Description java.util.List<Vulnerability>CveDB. getVulnerabilities(us.springett.parsers.cpe.Cpe cpe)Retrieves the vulnerabilities associated with the specified CPE. -
Uses of Vulnerability in org.owasp.dependencycheck.dependency
Methods in org.owasp.dependencycheck.dependency that return types with arguments of type Vulnerability Modifier and Type Method Description java.util.Set<Vulnerability>Dependency. getSuppressedVulnerabilities()Get an unmodifiable set of suppressedVulnerabilities.java.util.Set<Vulnerability>Dependency. getSuppressedVulnerabilities(boolean sorted)Get an unmodifiable, optionally sorted. set of suppressedVulnerabilities.java.util.Set<Vulnerability>Dependency. getVulnerabilities()Get the unmodifiable sorted set of vulnerabilities.java.util.Set<Vulnerability>Dependency. getVulnerabilities(boolean sorted)Get the unmodifiable list of vulnerabilities; optionally sorted.Methods in org.owasp.dependencycheck.dependency with parameters of type Vulnerability Modifier and Type Method Description voidDependency. addSuppressedVulnerability(Vulnerability vulnerability)Adds a vulnerability to the set of suppressed vulnerabilities.voidDependency. addVulnerability(Vulnerability vulnerability)Adds a vulnerability to the dependency.intVulnerability. compareTo(@NotNull Vulnerability o)Compares two vulnerabilities.
Natural order of vulnerabilities is defined as decreasing in severity and alphabetically by name for equal severity.voidDependency. removeVulnerability(Vulnerability v)Removes the given vulnerability from the list.Method parameters in org.owasp.dependencycheck.dependency with type arguments of type Vulnerability Modifier and Type Method Description voidDependency. addSuppressedVulnerabilities(java.util.List<Vulnerability> vulns)Add a list of suppressed vulnerabilities to the collection.voidDependency. addVulnerabilities(java.util.List<Vulnerability> vulnerabilities)Adds a list of vulnerabilities to the dependency.
-