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 boolean
equals(java.lang.Object other)
java.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
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)java.lang.String
getDateAdded()
The date the vulnerability was added to the catalog in the format YYYY-MM-DD (Required)java.lang.String
getDueDate()
The date the required action is due in the format YYYY-MM-DD (Required)java.lang.String
getNotes()
Any additional notes about the vulnerabilityjava.lang.String
getProduct()
The vulnerability product (Required)java.lang.String
getRequiredAction()
The required action to address the vulnerability (Required)java.lang.String
getShortDescription()
A short description of the vulnerability (Required)java.lang.String
getVendorProject()
The vendor or project name for the vulnerability (Required)java.lang.String
getVulnerabilityName()
The name of the vulnerability (Required)int
hashCode()
void
setAdditionalProperty(java.lang.String name, java.lang.Object value)
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)void
setDateAdded(java.lang.String dateAdded)
The date the vulnerability was added to the catalog in the format YYYY-MM-DD (Required)void
setDueDate(java.lang.String dueDate)
The date the required action is due in the format YYYY-MM-DD (Required)void
setNotes(java.lang.String notes)
Any additional notes about the vulnerabilityvoid
setProduct(java.lang.String product)
The vulnerability product (Required)void
setRequiredAction(java.lang.String requiredAction)
The required action to address the vulnerability (Required)void
setShortDescription(java.lang.String shortDescription)
A short description of the vulnerability (Required)void
setVendorProject(java.lang.String vendorProject)
The vendor or project name for the vulnerability (Required)void
setVulnerabilityName(java.lang.String vulnerabilityName)
The name of the vulnerability (Required)java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-