File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/main/java/com/checkmarx/ast/results/result Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 13
13
public class Result {
14
14
15
15
private final String type ;
16
+ private final String scaType ;
16
17
private final String label ;
17
18
private final String id ;
18
19
private final String similarityId ;
@@ -50,8 +51,10 @@ public Result(@JsonProperty("type") String type,
50
51
@ JsonProperty ("descriptionHTML" ) String descriptionHTML ,
51
52
@ JsonProperty ("data" ) Data data ,
52
53
@ JsonProperty ("comments" ) Comments comments ,
53
- @ JsonProperty ("vulnerabilityDetails" ) VulnerabilityDetails vulnerabilityDetails ) {
54
+ @ JsonProperty ("vulnerabilityDetails" ) VulnerabilityDetails vulnerabilityDetails ,
55
+ @ JsonProperty ("scaType" ) String scaType ) {
54
56
this .type = type ;
57
+ this .scaType =scaType ;
55
58
this .label = label ;
56
59
this .id = id ;
57
60
this .similarityId = similarityId ;
Original file line number Diff line number Diff line change @@ -19,18 +19,21 @@ public class ScaPackageData {
19
19
List <List <DependencyPath >> dependencyPaths ;
20
20
boolean outdated ;
21
21
boolean supportsQuickFix ;
22
+ String typeOfDependency ;
22
23
23
24
24
25
public ScaPackageData (@ JsonProperty ("Id" ) String id ,
25
26
@ JsonProperty ("fixLink" ) String fixLink ,
26
27
@ JsonProperty ("dependencyPaths" ) List <List <DependencyPath >> dependencyPaths ,
27
28
@ JsonProperty ("outdated" ) boolean outdated ,
28
- @ JsonProperty ("supportsQuickFix" ) boolean supportsQuickFix ) {
29
+ @ JsonProperty ("supportsQuickFix" ) boolean supportsQuickFix ,
30
+ @ JsonProperty ("typeOfDependency" ) String typeOfDependency ) {
29
31
30
32
Id = id ;
31
33
this .fixLink = fixLink ;
32
34
this .dependencyPaths = dependencyPaths ;
33
35
this .outdated = outdated ;
34
36
this .supportsQuickFix = supportsQuickFix ;
37
+ this .typeOfDependency = typeOfDependency ;
35
38
}
36
39
}
You can’t perform that action at this time.
0 commit comments