Class 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 Detail

      • Advisory

        public Advisory()
    • 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)