fix CWE field to read from producer
@@ -88,6 +88,7 @@ public class Vulnerability {
return vectorCVSS3;
}
+ @JsonProperty("cwes")
public List<String> getCweIds() {
return cweIds;
}
@@ -165,6 +166,7 @@ public class Vulnerability {
this.vectorCVSS3 = vectorCVSS3;
}
+ @JsonProperty("cwe_ids")
public void setCweIds(List<String> cweIds) {
this.cweIds = cweIds;
}
