| 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractNpmAnalyzer.replaceOrAddVulnerability(Dependency dependency,
Vulnerability vuln)
Evaluates if the vulnerability is already present; if it is the
vulnerability is not added.
|
| Modifier and Type | Method and Description |
|---|---|
Vulnerability |
CveDB.getVulnerability(java.lang.String cve)
Gets a vulnerability for the provided CVE.
|
Vulnerability |
CveDB.getVulnerability(java.lang.String cve,
java.sql.Connection conn)
Gets a vulnerability for the provided CVE.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Vulnerability> |
CveDB.getVulnerabilities(us.springett.parsers.cpe.Cpe cpe)
Retrieves the vulnerabilities associated with the specified CPE.
|
| Modifier and Type | Method and 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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dependency.addSuppressedVulnerability(Vulnerability vulnerability)
Adds a vulnerability to the set of suppressed vulnerabilities.
|
void |
Dependency.addVulnerability(Vulnerability vulnerability)
Adds a vulnerability to the dependency.
|
int |
Vulnerability.compareTo(@NotNull Vulnerability o)
Compares two vulnerabilities.
Natural order of vulnerabilities is defined as decreasing in severity and alphabetically by name for equal severity. |
void |
Dependency.removeVulnerability(Vulnerability v)
Removes the given vulnerability from the list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dependency.addSuppressedVulnerabilities(java.util.List<Vulnerability> vulns)
Add a list of suppressed vulnerabilities to the collection.
|
void |
Dependency.addVulnerabilities(java.util.List<Vulnerability> vulnerabilities)
Adds a list of vulnerabilities to the dependency.
|
Copyright© 2012-21 Jeremy Long. All Rights Reserved.