Checkmary is a simple command line tool to perform scans with Checkmarx.
Checkmary uses the Checkmarx CxCAST API and is a replacement for the CxConsole tool. The main advantage is that it just queues a scan and does not wait until the scan is completed.
Each command requires these common parameters
- username, your Checkmarx username.
- password, your Checkmarx password.
- apiurl, the URL of the Checkmarx server.
The startscan
command collects source code and starts a Checkmarx scan.
- team, the full name of the team.
- project, the project name.
- sourcecodepath, the path to the source code.
- dayssincelastscan: if the last scan was less than the specifield number of day ago, no scan will be started.
- dryrun, if set to true, no actual scan will be started.
Checkmary.exe startscan --username=scanner --password=*** --apiurl=https://myserver --team="My Company\My Team" --project="My Project" --sourcecodepath="C:\Source\MyProject"
The getprojects
command gets a list of projects.
Checkmary.exe getprojects --Username=scanner --Password=*** --ApiUrl=https://myserver
The getpresets
command gets a list of presets.
The getconfigsets
command gets a list of configuration sets.
See the LICENSE file for license rights and limitations.