File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/main/java/io/securecodebox/persistence/defectdojo/models Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 1717 */
1818package io .securecodebox .persistence .defectdojo .models ;
1919
20+ import com .fasterxml .jackson .annotation .JsonAlias ;
2021import com .fasterxml .jackson .annotation .JsonInclude ;
2122import com .fasterxml .jackson .annotation .JsonProperty ;
2223import io .securecodebox .persistence .defectdojo .exceptions .DefectDojoPersistenceException ;
@@ -125,7 +126,10 @@ public enum Severity {
125126 Medium (3 ),
126127 @ JsonProperty ("Low" )
127128 Low (2 ),
129+ // Depending on the Scanner DefectDojo uses either Info or Informational
130+ // E.g. Nmap uses Info, Zap uses Informational
128131 @ JsonProperty ("Info" )
132+ @ JsonAlias ("Informational" )
129133 Informational (1 ),
130134 ;
131135
You can’t perform that action at this time.
0 commit comments