Package com.checkmarx.ast.wrapper
Class CxWrapper
- java.lang.Object
-
- com.checkmarx.ast.wrapper.CxWrapper
-
public class CxWrapper extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthValidate()List<String>projectBranches(@NonNull UUID projectId, String filter)List<Project>projectList()List<Project>projectList(String filter)ProjectprojectShow(@NonNull UUID projectId)Resultsresults(@NonNull UUID scanId)Stringresults(@NonNull UUID scanId, ReportFormat reportFormat)ScanscanCreate(@NonNull Map<String,String> params)ScanscanCreate(@NonNull Map<String,String> params, String additionalParameters)List<Scan>scanList()List<Scan>scanList(String filter)ScanscanShow(@NonNull UUID scanId)
-
-
-
Constructor Detail
-
CxWrapper
public CxWrapper(@NonNull @NonNull CxConfig cxConfig) throws CxConfig.InvalidCLIConfigException, IOException
-
CxWrapper
public CxWrapper(@NonNull @NonNull CxConfig cxConfig, @NonNull @NonNull org.slf4j.Logger logger) throws CxConfig.InvalidCLIConfigException, IOException
-
-
Method Detail
-
authValidate
public String authValidate() throws IOException, InterruptedException, CxException
-
scanShow
public Scan scanShow(@NonNull @NonNull UUID scanId) throws IOException, InterruptedException, CxException
-
scanList
public List<Scan> scanList() throws IOException, InterruptedException, CxException
-
scanList
public List<Scan> scanList(String filter) throws IOException, InterruptedException, CxException
-
scanCreate
public Scan scanCreate(@NonNull @NonNull Map<String,String> params) throws IOException, InterruptedException, CxException
-
scanCreate
public Scan scanCreate(@NonNull @NonNull Map<String,String> params, String additionalParameters) throws IOException, InterruptedException, CxException
-
projectShow
public Project projectShow(@NonNull @NonNull UUID projectId) throws IOException, InterruptedException, CxException
-
projectList
public List<Project> projectList() throws IOException, InterruptedException, CxException
-
projectList
public List<Project> projectList(String filter) throws IOException, InterruptedException, CxException
-
projectBranches
public List<String> projectBranches(@NonNull @NonNull UUID projectId, String filter) throws CxException, IOException, InterruptedException
-
results
public Results results(@NonNull @NonNull UUID scanId) throws IOException, InterruptedException, CxException
-
results
public String results(@NonNull @NonNull UUID scanId, ReportFormat reportFormat) throws IOException, InterruptedException, CxException
-
-