Search in sources :

Example 1 with AstScanner

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

the class AstTest method scan_remotePublicRepo.

@Test
public void scan_remotePublicRepo() throws MalformedURLException {
    RestClientConfig config = getScanConfig();
    AstScanner scanner = getScanner();
    AstScaResults scanResults = scanner.scan(toSdkScanParams(config));
    validateFinalResults(scanResults);
}
Also used : AstScanner(com.checkmarx.sdk.service.scanner.AstScanner) AstScaResults(com.checkmarx.sdk.dto.AstScaResults) RestClientConfig(com.checkmarx.sdk.config.RestClientConfig) Test(org.junit.Test) CommonClientTest(com.checkmarx.sdk.service.CommonClientTest) SpringBootTest(org.springframework.boot.test.context.SpringBootTest)

Aggregations

RestClientConfig (com.checkmarx.sdk.config.RestClientConfig)1 AstScaResults (com.checkmarx.sdk.dto.AstScaResults)1 CommonClientTest (com.checkmarx.sdk.service.CommonClientTest)1 AstScanner (com.checkmarx.sdk.service.scanner.AstScanner)1 Test (org.junit.Test)1 SpringBootTest (org.springframework.boot.test.context.SpringBootTest)1