All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.checkmarx.sdk.service.CxOsaClient Maven / Gradle / Ivy

There is a newer version: 0.4.47
Show newest version
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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy