java.lang.Object
io.github.jeremylong.openvulnerability.client.ghsa.Epss
All Implemented Interfaces:
Serializable

public class Epss extends Object implements Serializable
Github Security Advisory EPSS Score
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • percentage

      Float percentage
      The percentage of vulnerabilities with a lower EPSS score (0-100).
    • percentile

      Float percentile
      The EPSS score (0.0-1.0).
  • Constructor Details

    • Epss

      public Epss()
  • Method Details

    • getPercentile

      public Float getPercentile()
      The probability that the vulnerability will be exploited in the next 30 days (0.0-1.0).
      Returns:
      the EPSS score (0.0-1.0).
    • setPercentile

      public void setPercentile(Float percentile)
      Sets the EPSS score (0.0-1.0).
      Parameters:
      percentile - the EPSS score (0.0-1.0).
    • getPercentage

      public Float getPercentage()
      Returns the percentage of vulnerabilities with a lower EPSS score (0-100).
      Returns:
      the percentage of vulnerabilities with a lower EPSS score (0-100).
    • setPercentage

      public void setPercentage(Float percentage)
      Sets the percentage of vulnerabilities with a lower EPSS score (0-100).
      Parameters:
      percentage - the percentage of vulnerabilities with a lower EPSS score (0-100).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object