Skip to content

Commit 381fdc1

Browse files
Merge pull request #443 from checkmarx-ltd/develop
CXFLW-1607 Added code to turnoff comments.
2 parents 770ded4 + cefcb94 commit 381fdc1

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<groupId>com.github.checkmarx-ltd</groupId>
1212
<artifactId>cx-spring-boot-sdk</artifactId>
13-
<version>0.6.23</version>
13+
<version>0.6.24</version>
1414

1515

1616
<name>cx-spring-boot-sdk</name>

src/main/java/com/checkmarx/sdk/dto/sast/CxConfig.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ public class CxConfig implements Serializable {
2525
@JsonProperty("scanSubmittedComment")
2626
private Boolean scanSubmittedComment = true;
2727

28+
@JsonProperty("turnOffComment")
29+
private Boolean turnOffComment = false;
30+
31+
@JsonProperty("turnOffPrSummary")
32+
private Boolean turnOffPrSummary = false;
33+
2834
@JsonProperty("host")
2935
private String host;
3036
@JsonProperty("credential")
@@ -201,6 +207,23 @@ public void setEmailNotifications(CxEmailNotifications emailNotifications) {
201207
this.emailNotifications = emailNotifications;
202208
}
203209

210+
@JsonProperty("turnOffComment")
211+
public void setTurnOffComment(Boolean turnOffComment) {
212+
this.turnOffComment = turnOffComment;
213+
}
214+
215+
@JsonProperty("turnOffComment")
216+
public Boolean getTurnOffComment() {
217+
return turnOffComment;
218+
}
219+
@JsonProperty("turnOffPrSummary")
220+
public Boolean getTurnOffPrSummary() {
221+
return turnOffPrSummary;
222+
}
223+
@JsonProperty("turnOffPrSummary")
224+
public void setTurnOffPrSummary(Boolean turnOffPrSummary) {
225+
this.turnOffPrSummary = turnOffPrSummary;
226+
}
204227

205228
@JsonProperty("postActionPostbackId")
206229
public Integer getPostActionPostbackId() {

0 commit comments

Comments
 (0)