Skip to content

Commit 654b470

Browse files
authored
Merge pull request #50 from CheckmarxDev/AST-8622-sast-description
AST-8622 SAST description
2 parents 277f1a9 + 9fbda1b commit 654b470

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/checkmarx/ast/results/result/Data.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public class Data {
2020
String group;
2121
String resultHash;
2222
String languageName;
23-
String description;
2423
String platform;
2524
String issueType;
2625
String expectedValue;
@@ -35,7 +34,6 @@ public Data(@JsonProperty("queryId") String queryId,
3534
@JsonProperty("group") String group,
3635
@JsonProperty("resultHash") String resultHash,
3736
@JsonProperty("languageName") String languageName,
38-
@JsonProperty("description") String description,
3937
@JsonProperty("platform") String platform,
4038
@JsonProperty("issueType") String issueType,
4139
@JsonProperty("expectedValue") String expectedValue,
@@ -49,7 +47,6 @@ public Data(@JsonProperty("queryId") String queryId,
4947
this.group = group;
5048
this.resultHash = resultHash;
5149
this.languageName = languageName;
52-
this.description = description;
5350
this.platform = platform;
5451
this.issueType = issueType;
5552
this.expectedValue = expectedValue;

src/main/java/com/checkmarx/ast/results/result/Result.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public class Result {
2525
private final String firstScanId;
2626
private final String publishedAt;
2727
private final String recommendations;
28+
private final String description;
2829
private final Data data;
2930
private final Comments comments;
3031
private final VulnerabilityDetails vulnerabilityDetails;
@@ -42,6 +43,7 @@ public Result(@JsonProperty("type") String type,
4243
@JsonProperty("firstScanId") String firstScanId,
4344
@JsonProperty("publishedAt") String publishedAt,
4445
@JsonProperty("recommendations") String recommendations,
46+
@JsonProperty("description") String description,
4547
@JsonProperty("data") Data data,
4648
@JsonProperty("comments") Comments comments,
4749
@JsonProperty("vulnerabilityDetails") VulnerabilityDetails vulnerabilityDetails) {
@@ -58,6 +60,7 @@ public Result(@JsonProperty("type") String type,
5860
this.firstScanId = firstScanId;
5961
this.publishedAt = publishedAt;
6062
this.recommendations = recommendations;
63+
this.description = description;
6164
this.data = data;
6265
this.comments = comments;
6366
this.vulnerabilityDetails = vulnerabilityDetails;

0 commit comments

Comments
 (0)