File tree 2 files changed +9
-4
lines changed
src/main/java/io/securecodebox/persistence/defectdojo/models
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ dependencies {
16
16
testImplementation ' org.junit.jupiter:junit-jupiter-api:5.6.0'
17
17
testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine'
18
18
19
- compile group : ' org.springframework' , name : ' spring-web' , version : ' 5.2.12.RELEASE '
19
+ implementation group : ' org.springframework' , name : ' spring-web' , version : ' 5.3.9 '
20
20
21
- compile ' com.fasterxml.jackson.core:jackson-core:2.12.0'
22
- compile ' com.fasterxml.jackson.core:jackson-annotations:2.12.0'
23
- compile ' com.fasterxml.jackson.core:jackson-databind:2.12.0'
21
+ implementation ' com.fasterxml.jackson.core:jackson-core:2.12.4'
22
+ implementation ' com.fasterxml.jackson.core:jackson-annotations:2.12.4'
23
+ implementation ' com.fasterxml.jackson.core:jackson-databind:2.12.4'
24
+ implementation ' com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.4'
24
25
}
25
26
26
27
publishing {
Original file line number Diff line number Diff line change 23
23
import io .securecodebox .persistence .defectdojo .exceptions .DefectDojoPersistenceException ;
24
24
import lombok .*;
25
25
26
+ import java .time .LocalDateTime ;
26
27
import java .util .LinkedList ;
27
28
import java .util .List ;
28
29
import java .util .Map ;
@@ -92,6 +93,9 @@ public class Finding extends DefectDojoModel {
92
93
@ Builder .Default
93
94
List <Long > endpoints = new LinkedList <>();
94
95
96
+ @ JsonProperty ("created" )
97
+ LocalDateTime createdAt ;
98
+
95
99
@ JsonProperty ("numerical_severity" )
96
100
public String getNumericalSeverity () {
97
101
switch (this .severity ) {
You can’t perform that action at this time.
0 commit comments