Skip to content

Commit 5564f93

Browse files
Changed variable from id to CVE as per OSS response
1 parent ece0319 commit 5564f93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/checkmarx/ast/ossrealtime/OssRealtimeVulnerability.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
@JsonInclude(JsonInclude.Include.NON_NULL)
1313
@JsonIgnoreProperties(ignoreUnknown = true)
1414
public class OssRealtimeVulnerability {
15-
@JsonProperty("Id") String id;
15+
@JsonProperty("CVE") String cve;
1616
@JsonProperty("Severity") String severity;
1717
@JsonProperty("Description") String description;
1818
@JsonProperty("FixVersion") String fixVersion;
1919

2020
@JsonCreator
21-
public OssRealtimeVulnerability(@JsonProperty("Id") String id,
21+
public OssRealtimeVulnerability(@JsonProperty("CVE") String cve,
2222
@JsonProperty("Severity") String severity,
2323
@JsonProperty("Description") String description,
2424
@JsonProperty("FixVersion") String fixVersion) {
25-
this.id = id;
25+
this.cve = cve;
2626
this.severity = severity;
2727
this.description = description;
2828
this.fixVersion = fixVersion;

0 commit comments

Comments
 (0)