Class Epss
java.lang.Object
io.github.jeremylong.openvulnerability.client.ghsa.Epss
- All Implemented Interfaces:
Serializable
Github Security Advisory EPSS Score
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the percentage of vulnerabilities with a lower EPSS score (0-100).The probability that the vulnerability will be exploited in the next 30 days (0.0-1.0).inthashCode()voidsetPercentage(Float percentage) Sets the percentage of vulnerabilities with a lower EPSS score (0-100).voidsetPercentile(Float percentile) Sets the EPSS score (0.0-1.0).toString()
-
Field Details
-
Constructor Details
-
Epss
public Epss()
-
-
Method Details
-
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
Sets the EPSS score (0.0-1.0).- Parameters:
percentile- the EPSS score (0.0-1.0).
-
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
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
-
hashCode
public int hashCode() -
toString
-