Search in sources :

Example 1 with ScaScanner

use of com.checkmarx.sdk.service.scanner.ScaScanner in project checkmarx-spring-boot-java-sdk by checkmarx-ltd.

the class ScaTest method getLatestResults.

private AstScaResults getLatestResults(RestClientConfig config) {
    ScaScanner client = getScanner();
    Assert.assertNotNull(client);
    ScanParams params = getScanParams(config);
    return client.getLatestScanResults(params);
}
Also used : ScaScanner(com.checkmarx.sdk.service.scanner.ScaScanner) ScanParams(com.checkmarx.sdk.dto.ast.ScanParams)

Example 2 with ScaScanner

use of com.checkmarx.sdk.service.scanner.ScaScanner in project checkmarx-spring-boot-java-sdk by checkmarx-ltd.

the class ScaTest method runScan.

protected AstScaResults runScan(RestClientConfig config) {
    ScaScanner scanner = getScanner();
    AstScaResults results = scanner.scan(getScanParams(config));
    return results;
}
Also used : ScaScanner(com.checkmarx.sdk.service.scanner.ScaScanner) AstScaResults(com.checkmarx.sdk.dto.AstScaResults)

Aggregations

ScaScanner (com.checkmarx.sdk.service.scanner.ScaScanner)2 AstScaResults (com.checkmarx.sdk.dto.AstScaResults)1 ScanParams (com.checkmarx.sdk.dto.ast.ScanParams)1