Checkmarx · Capability

Checkmarx SAST API — Results

Checkmarx SAST API — Results. 1 operations. Lead operation: Checkmarx Get scan results statistics. Self-contained Naftiko capability covering one Checkmarx business surface.

Run with Naftiko CheckmarxResults

What You Can Do

GET
Getscanresultsstatistics — Checkmarx Get scan results statistics
/v1/sast/scans/{scanid}/resultsstatistics

MCP Tools

checkmarx-get-scan-results-statistics

Checkmarx Get scan results statistics

read-only idempotent

Capability Spec

sast-results.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Checkmarx SAST API — Results
  description: 'Checkmarx SAST API — Results. 1 operations. Lead operation: Checkmarx Get scan results statistics. Self-contained
    Naftiko capability covering one Checkmarx business surface.'
  tags:
  - Checkmarx
  - Results
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHECKMARX_API_KEY: CHECKMARX_API_KEY
capability:
  consumes:
  - type: http
    namespace: sast-results
    baseUri: https://{checkmarx-server}/cxrestapi
    description: Checkmarx SAST API — Results business capability. Self-contained, no shared references.
    resources:
    - name: sast-scans-scanId-resultsStatistics
      path: /sast/scans/{scanId}/resultsStatistics
      operations:
      - name: getscanresultsstatistics
        method: GET
        description: Checkmarx Get scan results statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CHECKMARX_API_KEY}}'
  exposes:
  - type: rest
    namespace: sast-results-rest
    port: 8080
    description: REST adapter for Checkmarx SAST API — Results. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/sast/scans/{scanid}/resultsstatistics
      name: sast-scans-scanid-resultsstatistics
      description: REST surface for sast-scans-scanId-resultsStatistics.
      operations:
      - method: GET
        name: getscanresultsstatistics
        description: Checkmarx Get scan results statistics
        call: sast-results.getscanresultsstatistics
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sast-results-mcp
    port: 9090
    transport: http
    description: MCP adapter for Checkmarx SAST API — Results. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: checkmarx-get-scan-results-statistics
      description: Checkmarx Get scan results statistics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sast-results.getscanresultsstatistics
      outputParameters:
      - type: object
        mapping: $.