Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/main/java/com/checkmarx/ast/results/result/Result.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
public class Result {

private final String type;
private final String scaType;
private final String label;
private final String id;
private final String similarityId;
Expand Down Expand Up @@ -50,8 +51,10 @@ public Result(@JsonProperty("type") String type,
@JsonProperty("descriptionHTML") String descriptionHTML,
@JsonProperty("data") Data data,
@JsonProperty("comments") Comments comments,
@JsonProperty("vulnerabilityDetails") VulnerabilityDetails vulnerabilityDetails) {
@JsonProperty("vulnerabilityDetails") VulnerabilityDetails vulnerabilityDetails,
@JsonProperty("scaType") String scaType) {
this.type = type;
this.scaType=scaType;
this.label = label;
this.id = id;
this.similarityId = similarityId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,21 @@ public class ScaPackageData {
List<List<DependencyPath>> dependencyPaths;
boolean outdated;
boolean supportsQuickFix;
String typeOfDependency;


public ScaPackageData(@JsonProperty("Id") String id,
@JsonProperty("fixLink") String fixLink,
@JsonProperty("dependencyPaths") List<List<DependencyPath>> dependencyPaths,
@JsonProperty("outdated") boolean outdated,
@JsonProperty("supportsQuickFix") boolean supportsQuickFix) {
@JsonProperty("supportsQuickFix") boolean supportsQuickFix,
@JsonProperty("typeOfDependency") String typeOfDependency) {

Id = id;
this.fixLink = fixLink;
this.dependencyPaths = dependencyPaths;
this.outdated = outdated;
this.supportsQuickFix = supportsQuickFix;
this.typeOfDependency = typeOfDependency;
}
}