Class Advisory
- java.lang.Object
-
- org.owasp.dependencycheck.data.nodeaudit.Advisory
-
- All Implemented Interfaces:
java.io.Serializable
@ThreadSafe public class Advisory extends java.lang.Object implements java.io.Serializable
The response from NPM Audit API will respond with 0 or more advisories. This class defines the Advisory objects returned.- Author:
- Steve Springett
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Advisory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccess()
java.lang.String
getCreated()
java.util.List<java.lang.String>
getCves()
io.github.jeremylong.openvulnerability.client.nvd.CvssV3
getCvssV3()
java.util.List<java.lang.String>
getCwes()
java.lang.String
getFoundBy()
java.lang.String
getGhsaId()
java.lang.String
getModuleName()
java.lang.String
getOverview()
java.lang.String
getPatchedVersions()
java.lang.String
getRecommendation()
java.lang.String
getReferences()
java.lang.String
getReportedBy()
java.lang.String
getSeverity()
java.lang.String
getTitle()
java.lang.String
getUpdated()
java.lang.String
getVersion()
java.lang.String
getVulnerableVersions()
void
setAccess(java.lang.String access)
void
setCreated(java.lang.String created)
void
setCves(java.util.List<java.lang.String> cves)
void
setCvssV3(io.github.jeremylong.openvulnerability.client.nvd.CvssV3 cvssV3)
void
setCwes(java.util.List<java.lang.String> cwes)
void
setFoundBy(java.lang.String foundBy)
void
setGhsaId(java.lang.String ghsaId)
void
setModuleName(java.lang.String moduleName)
void
setOverview(java.lang.String overview)
void
setPatchedVersions(java.lang.String patchedVersions)
void
setRecommendation(java.lang.String recommendation)
void
setReferences(java.lang.String references)
void
setReportedBy(java.lang.String reportedBy)
void
setSeverity(java.lang.String severity)
void
setTitle(java.lang.String title)
void
setUpdated(java.lang.String updated)
void
setVersion(java.lang.String version)
void
setVulnerableVersions(java.lang.String vulnerableVersions)
-
-
-
Method Detail
-
getCreated
public java.lang.String getCreated()
-
setCreated
public void setCreated(java.lang.String created)
-
getUpdated
public java.lang.String getUpdated()
-
setUpdated
public void setUpdated(java.lang.String updated)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getOverview
public java.lang.String getOverview()
-
setOverview
public void setOverview(java.lang.String overview)
-
getRecommendation
public java.lang.String getRecommendation()
-
setRecommendation
public void setRecommendation(java.lang.String recommendation)
-
getFoundBy
public java.lang.String getFoundBy()
-
setFoundBy
public void setFoundBy(java.lang.String foundBy)
-
getReportedBy
public java.lang.String getReportedBy()
-
setReportedBy
public void setReportedBy(java.lang.String reportedBy)
-
getModuleName
public java.lang.String getModuleName()
-
setModuleName
public void setModuleName(java.lang.String moduleName)
-
getVersion
public java.lang.String getVersion()
-
setVersion
public void setVersion(java.lang.String version)
-
getCves
public java.util.List<java.lang.String> getCves()
-
setCves
public void setCves(java.util.List<java.lang.String> cves)
-
getVulnerableVersions
public java.lang.String getVulnerableVersions()
-
setVulnerableVersions
public void setVulnerableVersions(java.lang.String vulnerableVersions)
-
getPatchedVersions
public java.lang.String getPatchedVersions()
-
setPatchedVersions
public void setPatchedVersions(java.lang.String patchedVersions)
-
getReferences
public java.lang.String getReferences()
-
setReferences
public void setReferences(java.lang.String references)
-
getAccess
public java.lang.String getAccess()
-
setAccess
public void setAccess(java.lang.String access)
-
getSeverity
public java.lang.String getSeverity()
-
setSeverity
public void setSeverity(java.lang.String severity)
-
getCwes
public java.util.List<java.lang.String> getCwes()
-
setCwes
public void setCwes(java.util.List<java.lang.String> cwes)
-
getGhsaId
public java.lang.String getGhsaId()
-
setGhsaId
public void setGhsaId(java.lang.String ghsaId)
-
getCvssV3
public io.github.jeremylong.openvulnerability.client.nvd.CvssV3 getCvssV3()
-
setCvssV3
public void setCvssV3(io.github.jeremylong.openvulnerability.client.nvd.CvssV3 cvssV3)
-
-