Skip to content

Commit 52a6a12

Browse files
Merge branch 'develop' into pr-CXFLW-967-custom-fields
2 parents 219e66d + 14cee15 commit 52a6a12

File tree

22 files changed

+1315
-1
lines changed

22 files changed

+1315
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
</parent>
1111
<groupId>com.github.checkmarx-ltd</groupId>
1212
<artifactId>cx-spring-boot-sdk</artifactId>
13-
<version>0.5.69</version>
13+
14+
<version>0.5.70</version>
1415
<name>cx-spring-boot-sdk</name>
1516
<description>Checkmarx Java Spring Boot SDK</description>
1617
<properties>

src/main/java/com/checkmarx/sdk/dto/ScanResults.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public class ScanResults{
6868
@Setter
6969
private Integer pdfScanID;
7070

71+
@Getter @Setter
72+
private String latestCommitterEmail;
7173
public ScanResults(Boolean osa, String projectId,String deepLink, String reportCreationTime, String scanTime, String team, String project, String link, String files, String loc, String scanType,String version,
7274
List<XIssue> xIssues,List<XIssue> unFilteredIssues, Map<String, Object> additionalDetails, CxScanSummary scanSummary, SCAResults scaResults, ASTResults astResults) {
7375
this.osa = osa;
@@ -654,6 +656,8 @@ public IssueDetails comment(final String comment) {
654656
@Builder
655657
public static class ScaDetails {
656658
private String vulnerabilityLink;
659+
660+
private Map scanTags;
657661
private Finding finding;
658662
private Package vulnerabilityPackage;
659663
}

src/main/java/com/checkmarx/sdk/dto/sca/SCAResults.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import java.io.Serializable;
99
import java.util.List;
10+
import java.util.Map;
1011

1112
@Builder
1213
@Getter
@@ -25,6 +26,8 @@ public class SCAResults extends ResultsBase implements Serializable {
2526
private boolean isPolicyViolated;
2627
private List<String> violatedPolicies;
2728
private String output;
29+
30+
private Map scanTags;
2831

2932
public void calculateVulnerableAndOutdatedPackages() {
3033
int sum;
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
2+
package com.checkmarx.sdk.remotesettings.custom;
3+
4+
import java.util.LinkedHashMap;
5+
import java.util.Map;
6+
import javax.annotation.Generated;
7+
8+
@Generated("jsonschema2pojo")
9+
public class Customremotemain {
10+
11+
private String path;
12+
private Integer pullingCommandId;
13+
private Link link;
14+
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();
15+
16+
public String getPath() {
17+
return path;
18+
}
19+
20+
public void setPath(String path) {
21+
this.path = path;
22+
}
23+
24+
public Customremotemain withPath(String path) {
25+
this.path = path;
26+
return this;
27+
}
28+
29+
public Integer getPullingCommandId() {
30+
return pullingCommandId;
31+
}
32+
33+
public void setPullingCommandId(Integer pullingCommandId) {
34+
this.pullingCommandId = pullingCommandId;
35+
}
36+
37+
public Customremotemain withPullingCommandId(Integer pullingCommandId) {
38+
this.pullingCommandId = pullingCommandId;
39+
return this;
40+
}
41+
42+
public Link getLink() {
43+
return link;
44+
}
45+
46+
public void setLink(Link link) {
47+
this.link = link;
48+
}
49+
50+
public Customremotemain withLink(Link link) {
51+
this.link = link;
52+
return this;
53+
}
54+
55+
public Map<String, Object> getAdditionalProperties() {
56+
return this.additionalProperties;
57+
}
58+
59+
public void setAdditionalProperty(String name, Object value) {
60+
this.additionalProperties.put(name, value);
61+
}
62+
63+
public Customremotemain withAdditionalProperty(String name, Object value) {
64+
this.additionalProperties.put(name, value);
65+
return this;
66+
}
67+
68+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
package com.checkmarx.sdk.remotesettings.custom;
3+
4+
import java.util.LinkedHashMap;
5+
import java.util.Map;
6+
import javax.annotation.Generated;
7+
8+
@Generated("jsonschema2pojo")
9+
public class Link {
10+
11+
private String rel;
12+
private String uri;
13+
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();
14+
15+
public String getRel() {
16+
return rel;
17+
}
18+
19+
public void setRel(String rel) {
20+
this.rel = rel;
21+
}
22+
23+
public Link withRel(String rel) {
24+
this.rel = rel;
25+
return this;
26+
}
27+
28+
public String getUri() {
29+
return uri;
30+
}
31+
32+
public void setUri(String uri) {
33+
this.uri = uri;
34+
}
35+
36+
public Link withUri(String uri) {
37+
this.uri = uri;
38+
return this;
39+
}
40+
41+
public Map<String, Object> getAdditionalProperties() {
42+
return this.additionalProperties;
43+
}
44+
45+
public void setAdditionalProperty(String name, Object value) {
46+
this.additionalProperties.put(name, value);
47+
}
48+
49+
public Link withAdditionalProperty(String name, Object value) {
50+
this.additionalProperties.put(name, value);
51+
return this;
52+
}
53+
54+
}
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
2+
package com.checkmarx.sdk.remotesettings.exclude;
3+
4+
import java.util.LinkedHashMap;
5+
import java.util.Map;
6+
import javax.annotation.Generated;
7+
8+
@Generated("jsonschema2pojo")
9+
public class ExcludeSettingsmain {
10+
11+
private Integer projectId;
12+
private String excludeFoldersPattern;
13+
private String excludeFilesPattern;
14+
private Link link;
15+
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();
16+
17+
public Integer getProjectId() {
18+
return projectId;
19+
}
20+
21+
public void setProjectId(Integer projectId) {
22+
this.projectId = projectId;
23+
}
24+
25+
public ExcludeSettingsmain withProjectId(Integer projectId) {
26+
this.projectId = projectId;
27+
return this;
28+
}
29+
30+
public String getExcludeFoldersPattern() {
31+
return excludeFoldersPattern;
32+
}
33+
34+
public void setExcludeFoldersPattern(String excludeFoldersPattern) {
35+
this.excludeFoldersPattern = excludeFoldersPattern;
36+
}
37+
38+
public ExcludeSettingsmain withExcludeFoldersPattern(String excludeFoldersPattern) {
39+
this.excludeFoldersPattern = excludeFoldersPattern;
40+
return this;
41+
}
42+
43+
public String getExcludeFilesPattern() {
44+
return excludeFilesPattern;
45+
}
46+
47+
public void setExcludeFilesPattern(String excludeFilesPattern) {
48+
this.excludeFilesPattern = excludeFilesPattern;
49+
}
50+
51+
public ExcludeSettingsmain withExcludeFilesPattern(String excludeFilesPattern) {
52+
this.excludeFilesPattern = excludeFilesPattern;
53+
return this;
54+
}
55+
56+
public Link getLink() {
57+
return link;
58+
}
59+
60+
public void setLink(Link link) {
61+
this.link = link;
62+
}
63+
64+
public ExcludeSettingsmain withLink(Link link) {
65+
this.link = link;
66+
return this;
67+
}
68+
69+
public Map<String, Object> getAdditionalProperties() {
70+
return this.additionalProperties;
71+
}
72+
73+
public void setAdditionalProperty(String name, Object value) {
74+
this.additionalProperties.put(name, value);
75+
}
76+
77+
public ExcludeSettingsmain withAdditionalProperty(String name, Object value) {
78+
this.additionalProperties.put(name, value);
79+
return this;
80+
}
81+
82+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
package com.checkmarx.sdk.remotesettings.exclude;
3+
4+
import java.util.LinkedHashMap;
5+
import java.util.Map;
6+
import javax.annotation.Generated;
7+
8+
@Generated("jsonschema2pojo")
9+
public class Link {
10+
11+
private String rel;
12+
private String uri;
13+
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();
14+
15+
public String getRel() {
16+
return rel;
17+
}
18+
19+
public void setRel(String rel) {
20+
this.rel = rel;
21+
}
22+
23+
public Link withRel(String rel) {
24+
this.rel = rel;
25+
return this;
26+
}
27+
28+
public String getUri() {
29+
return uri;
30+
}
31+
32+
public void setUri(String uri) {
33+
this.uri = uri;
34+
}
35+
36+
public Link withUri(String uri) {
37+
this.uri = uri;
38+
return this;
39+
}
40+
41+
public Map<String, Object> getAdditionalProperties() {
42+
return this.additionalProperties;
43+
}
44+
45+
public void setAdditionalProperty(String name, Object value) {
46+
this.additionalProperties.put(name, value);
47+
}
48+
49+
public Link withAdditionalProperty(String name, Object value) {
50+
this.additionalProperties.put(name, value);
51+
return this;
52+
}
53+
54+
}
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
2+
package com.checkmarx.sdk.remotesettings.git;
3+
4+
import java.util.LinkedHashMap;
5+
import java.util.Map;
6+
import javax.annotation.Generated;
7+
8+
@Generated("jsonschema2pojo")
9+
public class Gitremotemain {
10+
11+
private String url;
12+
private String branch;
13+
private Boolean useSsh;
14+
private Link link;
15+
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();
16+
17+
public String getUrl() {
18+
return url;
19+
}
20+
21+
public void setUrl(String url) {
22+
this.url = url;
23+
}
24+
25+
public Gitremotemain withUrl(String url) {
26+
this.url = url;
27+
return this;
28+
}
29+
30+
public String getBranch() {
31+
return branch;
32+
}
33+
34+
public void setBranch(String branch) {
35+
this.branch = branch;
36+
}
37+
38+
public Gitremotemain withBranch(String branch) {
39+
this.branch = branch;
40+
return this;
41+
}
42+
43+
public Boolean getUseSsh() {
44+
return useSsh;
45+
}
46+
47+
public void setUseSsh(Boolean useSsh) {
48+
this.useSsh = useSsh;
49+
}
50+
51+
public Gitremotemain withUseSsh(Boolean useSsh) {
52+
this.useSsh = useSsh;
53+
return this;
54+
}
55+
56+
public Link getLink() {
57+
return link;
58+
}
59+
60+
public void setLink(Link link) {
61+
this.link = link;
62+
}
63+
64+
public Gitremotemain withLink(Link link) {
65+
this.link = link;
66+
return this;
67+
}
68+
69+
public Map<String, Object> getAdditionalProperties() {
70+
return this.additionalProperties;
71+
}
72+
73+
public void setAdditionalProperty(String name, Object value) {
74+
this.additionalProperties.put(name, value);
75+
}
76+
77+
public Gitremotemain withAdditionalProperty(String name, Object value) {
78+
this.additionalProperties.put(name, value);
79+
return this;
80+
}
81+
82+
}

0 commit comments

Comments
 (0)