com.cx.restclient.ast.dto.sca.report.Package Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cx-client-common Show documentation
Show all versions of cx-client-common Show documentation
Web client for interaction with Checkmarx SAST, SCA and OSA products
The newest version!
package com.cx.restclient.ast.dto.sca.report;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Info about a package that SCA retrieves by analyzing project dependencies.
*/
@Getter
@Setter
public class Package implements Serializable {
private String id;
private String name;
private String version;
private List licenses = new ArrayList<>();
/**
* The current values are [Filename, Sha1]. Not considered an enum in SCA API.
*/
private String matchType;
private int criticalVulnerabilityCount;
private int highVulnerabilityCount;
private int mediumVulnerabilityCount;
private int lowVulnerabilityCount;
private int ignoredVulnerabilityCount;
private int numberOfVersionsSinceLastUpdate;
private String newestVersionReleaseDate;
private String newestVersion;
private boolean outdated;
private String releaseDate;
private String confidenceLevel;
private double riskScore;
private PackageSeverity severity;
private List locations = new ArrayList<>();
private List dependencyPaths = new ArrayList<>();
private String packageRepository;
private boolean isDirectDependency;
private boolean isDevelopment;
private PackageUsage packageUsage;
}