trigger_scan_image
Triggers a Checkmarx Container Security scan for a specified container image from public or integrated private registries and returns a scan ID for polling results.
Instructions
Scan a specific container image (e.g. 'nginx:1.27-alpine-slim', 'ghcr.io/org/app:v1') via Checkmarx Container Security. Works for any public registry (Docker Hub, GHCR, public ECR, Quay). Returns a scan ID for polling. For private registries, set up a Private Registry Integration in Checkmarx One first.
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": {
"image": "<image>"
},
"name": "trigger_scan_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image reference in {name}:{tag} form, optionally with registry prefix or @sha256 digest | |
| branch | No | Branch label for the scan (defaults to a sanitized form of the image ref) | |
| projectId | No | Project UUID (uses CHECKMARX_PROJECT_ID if not provided) |