Class Vulnerability
- java.lang.Object
-
- org.owasp.dependencycheck.data.knownexploited.json.Vulnerability
-
public class Vulnerability extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Vulnerability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetCveID()The CVE ID of the vulnerability in the format CVE-YYYY-NNNN, note that the number portion can have more than 4 digits (Required)java.lang.StringgetDateAdded()The date the vulnerability was added to the catalog in the format YYYY-MM-DD (Required)java.lang.StringgetDueDate()The date the required action is due in the format YYYY-MM-DD (Required)java.lang.StringgetNotes()Any additional notes about the vulnerabilityjava.lang.StringgetProduct()The vulnerability product (Required)java.lang.StringgetRequiredAction()The required action to address the vulnerability (Required)java.lang.StringgetShortDescription()A short description of the vulnerability (Required)java.lang.StringgetVendorProject()The vendor or project name for the vulnerability (Required)java.lang.StringgetVulnerabilityName()The name of the vulnerability (Required)inthashCode()voidsetAdditionalProperty(java.lang.String name, java.lang.Object value)voidsetCveID(java.lang.String cveID)The CVE ID of the vulnerability in the format CVE-YYYY-NNNN, note that the number portion can have more than 4 digits (Required)voidsetDateAdded(java.lang.String dateAdded)The date the vulnerability was added to the catalog in the format YYYY-MM-DD (Required)voidsetDueDate(java.lang.String dueDate)The date the required action is due in the format YYYY-MM-DD (Required)voidsetNotes(java.lang.String notes)Any additional notes about the vulnerabilityvoidsetProduct(java.lang.String product)The vulnerability product (Required)voidsetRequiredAction(java.lang.String requiredAction)The required action to address the vulnerability (Required)voidsetShortDescription(java.lang.String shortDescription)A short description of the vulnerability (Required)voidsetVendorProject(java.lang.String vendorProject)The vendor or project name for the vulnerability (Required)voidsetVulnerabilityName(java.lang.String vulnerabilityName)The name of the vulnerability (Required)java.lang.StringtoString()
-
-
-
Method Detail
-
getCveID
public java.lang.String getCveID()
The CVE ID of the vulnerability in the format CVE-YYYY-NNNN, note that the number portion can have more than 4 digits (Required)
-
setCveID
public void setCveID(java.lang.String cveID)
The CVE ID of the vulnerability in the format CVE-YYYY-NNNN, note that the number portion can have more than 4 digits (Required)
-
getVendorProject
public java.lang.String getVendorProject()
The vendor or project name for the vulnerability (Required)
-
setVendorProject
public void setVendorProject(java.lang.String vendorProject)
The vendor or project name for the vulnerability (Required)
-
getProduct
public java.lang.String getProduct()
The vulnerability product (Required)
-
setProduct
public void setProduct(java.lang.String product)
The vulnerability product (Required)
-
getVulnerabilityName
public java.lang.String getVulnerabilityName()
The name of the vulnerability (Required)
-
setVulnerabilityName
public void setVulnerabilityName(java.lang.String vulnerabilityName)
The name of the vulnerability (Required)
-
getDateAdded
public java.lang.String getDateAdded()
The date the vulnerability was added to the catalog in the format YYYY-MM-DD (Required)
-
setDateAdded
public void setDateAdded(java.lang.String dateAdded)
The date the vulnerability was added to the catalog in the format YYYY-MM-DD (Required)
-
getShortDescription
public java.lang.String getShortDescription()
A short description of the vulnerability (Required)
-
setShortDescription
public void setShortDescription(java.lang.String shortDescription)
A short description of the vulnerability (Required)
-
getRequiredAction
public java.lang.String getRequiredAction()
The required action to address the vulnerability (Required)
-
setRequiredAction
public void setRequiredAction(java.lang.String requiredAction)
The required action to address the vulnerability (Required)
-
getDueDate
public java.lang.String getDueDate()
The date the required action is due in the format YYYY-MM-DD (Required)
-
setDueDate
public void setDueDate(java.lang.String dueDate)
The date the required action is due in the format YYYY-MM-DD (Required)
-
getNotes
public java.lang.String getNotes()
Any additional notes about the vulnerability
-
setNotes
public void setNotes(java.lang.String notes)
Any additional notes about the vulnerability
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
setAdditionalProperty
public void setAdditionalProperty(java.lang.String name, java.lang.Object value)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-