extra fields vuln_statement
@@ -93,6 +93,9 @@ public class Vulnerability {
private List<String> firstPatchedPurls;
private Double scoreCVSS2;
private Double scoreCVSS3;
+ private String vectorCVSS2;
+ private String vectorCVSS3;
+ private List<String> cweIds;
private Severity severity;
private String publishedDate;
@@ -141,6 +144,18 @@ public class Vulnerability {
return scoreCVSS3;
}
+ public String getVectorCVSS2() {
+ return vectorCVSS2;
+ }
+
+ public String getVectorCVSS3() {
+ return vectorCVSS3;
+ }
+
+ public List<String> getCweIds() {
+ return cweIds;
+ }
+
public Severity getSeverity() {
return severity;
}
@@ -206,6 +221,18 @@ public class Vulnerability {
this.scoreCVSS3 = scoreCVSS3;
}
+ public void setVectorCVSS2(String vectorCVSS2) {
+ this.vectorCVSS2 = vectorCVSS2;
+ }
+
+ public void setVectorCVSS3(String vectorCVSS3) {
+ this.vectorCVSS3 = vectorCVSS3;
+ }
+
+ public void setCweIds(List<String> cweIds) {
+ this.cweIds = cweIds;
+ }
+
public void setSeverity(Severity severity) {
this.severity = severity;
}
