trigger_scan_git
Start a Checkmarx One scan from a Git repository URL and branch, then return the created scan ID for status polling.
Instructions
Trigger a new scan from a Git repository URL. Returns the created scan with its ID for status polling.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repoUrl": "<repoUrl>",
"branch": "<branch>"
},
"name": "trigger_scan_git"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name to scan | |
| repoUrl | Yes | Git repository URL to scan | |
| projectId | No | Project UUID (uses CHECKMARX_PROJECT_ID if not provided) | |
| scanTypes | No | Scanner engines to run (defaults to sast, sca, kics). Use 'containers' to scan Dockerfiles and their base image layers for CVEs. |