com.checkmarx.sdk.service.CxOsaClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cx-spring-boot-sdk Show documentation
Show all versions of cx-spring-boot-sdk Show documentation
Checkmarx Java Spring Boot SDK
package com.checkmarx.sdk.service;
import com.checkmarx.sdk.dto.Filter;
import com.checkmarx.sdk.dto.ScanResults;
import com.checkmarx.sdk.exception.CheckmarxException;
//import com.cx.restclient.osa.dto.OSAResults;
import java.util.List;
/**
* Class used to orchestrate submitting scans and retrieving results for OSA / SCA scans
*/
public interface CxOsaClient {
public ScanResults createScanAndReport(Integer projectId, String sourceDir, ScanResults results, List filter) throws CheckmarxException;
public String createScan(Integer projectId, String sourceDir) throws CheckmarxException;
public ScanResults waitForOsaScan(String scanId, Integer projectId, ScanResults results, List filter) throws CheckmarxException;
public ScanResults getLatestOsaResults(Integer projectId, ScanResults results, List filter) throws CheckmarxException;
//public ScanResults mapOsaResults(OSAResults osaResults, ScanResults results, List filters) throws CheckmarxException;
}