use of com.checkmarx.sdk.dto.ast.report.Finding in project checkmarx-spring-boot-java-sdk by checkmarx-ltd.
the class AstClientHelper method retrieveScanResults.
private ASTResults retrieveScanResults() {
try {
ASTResults result = new ASTResults();
result.setScanId(scanId);
AstSummaryResults scanSummary = getSummary();
result.setSummary(scanSummary);
List<Finding> findings = getFindings();
result.setFindings(findings);
String projectLink = getWebReportLink(config.getAstConfig().getWebAppUrl());
result.setWebReportLink(projectLink);
return result;
} catch (IOException e) {
String message = String.format("Error getting %s scan results.", getScannerDisplayName());
throw new ScannerRuntimeException(message, e);
}
}
Aggregations