Search in sources :

Example 11 with AstScaResults

use of com.checkmarx.sdk.dto.AstScaResults in project checkmarx-spring-boot-java-sdk by checkmarx-ltd.

the class ScaTest method scanRemoteRepo.

private void scanRemoteRepo(String repoUrlProp, boolean useOnPremAuthentication) throws MalformedURLException {
    RestClientConfig config = initScaConfig(repoUrlProp, useOnPremAuthentication);
    AstScaResults scanResults = runScan(config);
    verifyScanResults(scanResults);
}
Also used : AstScaResults(com.checkmarx.sdk.dto.AstScaResults) RestClientConfig(com.checkmarx.sdk.config.RestClientConfig)

Aggregations

AstScaResults (com.checkmarx.sdk.dto.AstScaResults)11 RestClientConfig (com.checkmarx.sdk.config.RestClientConfig)5 ScanParams (com.checkmarx.sdk.dto.ast.ScanParams)3 SCAResults (com.checkmarx.sdk.dto.sca.SCAResults)3 Test (org.junit.Test)3 SpringBootTest (org.springframework.boot.test.context.SpringBootTest)3 MachinaRuntimeException (com.checkmarx.flow.exception.MachinaRuntimeException)2 ScanResults (com.checkmarx.sdk.dto.ScanResults)2 ASTResults (com.checkmarx.sdk.dto.ast.ASTResults)2 MalformedURLException (java.net.MalformedURLException)2 Path (java.nio.file.Path)2 CommonClientTest (com.checkmarx.sdk.service.CommonClientTest)1 AstScanner (com.checkmarx.sdk.service.scanner.AstScanner)1 ScaScanner (com.checkmarx.sdk.service.scanner.ScaScanner)1