public class PluginUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CHECKMARX_AST_RESULTS |
static String |
CHECKMARX_AST_RESULTS_HTML |
static String |
CHECKMARX_AST_RESULTS_JSON |
static String |
REGEX_SCAN_ID_FROM_LOGS |
| Constructor and Description |
|---|
PluginUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
authValidate(ScanConfig scanConfig,
String checkmarxCliExecutable) |
static CheckmarxInstallation |
findCheckmarxInstallation(String checkmarxInstallation) |
static List<String> |
generateHTMLReport(UUID scanId,
ScanConfig scanConfig,
String checkmarxCliExecutable,
CxLoggerAdapter log) |
static List<String> |
generateJsonReport(UUID scanId,
ScanConfig scanConfig,
String checkmarxCliExecutable,
CxLoggerAdapter log) |
static String |
getScanIdFromLogFile(String logs) |
static List<String> |
scanCancel(UUID scanId,
ScanConfig scanConfig,
String checkmarxCliExecutable,
CxLoggerAdapter log) |
static List<String> |
submitScanDetailsToWrapper(ScanConfig scanConfig,
String checkmarxCliExecutable,
CxLoggerAdapter log) |
public static final String CHECKMARX_AST_RESULTS
public static final String CHECKMARX_AST_RESULTS_HTML
public static final String CHECKMARX_AST_RESULTS_JSON
public static final String REGEX_SCAN_ID_FROM_LOGS
public static CheckmarxInstallation findCheckmarxInstallation(String checkmarxInstallation)
public static List<String> submitScanDetailsToWrapper(ScanConfig scanConfig, String checkmarxCliExecutable, CxLoggerAdapter log) throws IOException, InterruptedException, URISyntaxException, com.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigException, com.checkmarx.ast.wrapper.CxException
IOExceptionInterruptedExceptionURISyntaxExceptioncom.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigExceptioncom.checkmarx.ast.wrapper.CxExceptionpublic static List<String> scanCancel(UUID scanId, ScanConfig scanConfig, String checkmarxCliExecutable, CxLoggerAdapter log) throws IOException, InterruptedException, com.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigException
IOExceptionInterruptedExceptioncom.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigExceptionpublic static List<String> generateHTMLReport(UUID scanId, ScanConfig scanConfig, String checkmarxCliExecutable, CxLoggerAdapter log) throws IOException, InterruptedException, com.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigException
IOExceptionInterruptedExceptioncom.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigExceptionpublic static List<String> generateJsonReport(UUID scanId, ScanConfig scanConfig, String checkmarxCliExecutable, CxLoggerAdapter log) throws IOException, InterruptedException, com.checkmarx.ast.wrapper.CxException, URISyntaxException, com.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigException
IOExceptionInterruptedExceptioncom.checkmarx.ast.wrapper.CxExceptionURISyntaxExceptioncom.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigExceptionpublic static String authValidate(ScanConfig scanConfig, String checkmarxCliExecutable) throws IOException, InterruptedException, com.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigException, URISyntaxException, com.checkmarx.ast.wrapper.CxException
IOExceptionInterruptedExceptioncom.checkmarx.ast.wrapper.CxConfig.InvalidCLIConfigExceptionURISyntaxExceptioncom.checkmarx.ast.wrapper.CxExceptionCopyright © 2021–2022. All rights reserved.