You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: scb-persistenceproviders/defectdojo-persistenceprovider/src/main/java/io/securecodebox/persistence/DefectDojoService.java
+111-6Lines changed: 111 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@
18
18
*/
19
19
packageio.securecodebox.persistence;
20
20
21
-
22
21
importio.securecodebox.persistence.models.*;
23
22
importorg.slf4j.Logger;
24
23
importorg.slf4j.LoggerFactory;
@@ -43,6 +42,8 @@
43
42
importjava.time.LocalDate;
44
43
importjava.time.format.DateTimeFormatter;
45
44
importjava.util.Arrays;
45
+
importjava.util.LinkedList;
46
+
importjava.util.List;
46
47
importjava.util.Optional;
47
48
48
49
@Component
@@ -181,8 +182,13 @@ public EngagementResponse createEngagement(EngagementPayload engagementPayload)
181
182
thrownewDefectDojoPersistenceException("Failed to create Engagement for SecurityTest", e);
Copy file name to clipboardExpand all lines: scb-persistenceproviders/defectdojo-persistenceprovider/src/main/java/io/securecodebox/persistence/models/DefectDojoProduct.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,4 +21,11 @@ public class DefectDojoProduct {
Copy file name to clipboardExpand all lines: scb-persistenceproviders/defectdojo-persistenceprovider/src/main/java/io/securecodebox/persistence/models/EngagementPayload.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ public class EngagementPayload {
63
63
protectedStringcommitHash;
64
64
65
65
@JsonProperty("branch_tag")
66
-
protectedStringbranch;
66
+
publicStringbranch;
67
67
68
68
@JsonProperty("source_code_management_uri")
69
69
protectedStringrepo;
@@ -80,6 +80,9 @@ public class EngagementPayload {
80
80
@JsonProperty
81
81
protectedStringdescription;
82
82
83
+
@JsonProperty("deduplication_on_engagement")
84
+
protectedbooleandeduplicationOnEngagement;
85
+
83
86
/**
84
87
* Currently only contains the statuses relevant to us.
Copy file name to clipboardExpand all lines: scb-persistenceproviders/defectdojo-persistenceprovider/src/main/java/io/securecodebox/persistence/models/EngagementResponse.java
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,9 @@ public class EngagementResponse {
Copy file name to clipboardExpand all lines: scb-persistenceproviders/defectdojo-persistenceprovider/src/test/java/io/securecodebox/persistence/DefectDojoPersistenceProviderTest.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -233,4 +233,13 @@ public void createsFindingsForNonSupportedScanner() {
0 commit comments