Checkmarx · Capability

Checkmarx One API — Queries

Checkmarx One API — Queries. 1 operations. Lead operation: Checkmarx List SAST queries. Self-contained Naftiko capability covering one Checkmarx business surface.

Run with Naftiko CheckmarxQueries

What You Can Do

GET
Listqueries — Checkmarx List SAST queries
/v1/queries

MCP Tools

checkmarx-list-sast-queries

Checkmarx List SAST queries

read-only idempotent

Capability Spec

one-queries.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Checkmarx One API — Queries
  description: 'Checkmarx One API — Queries. 1 operations. Lead operation: Checkmarx List SAST queries. Self-contained Naftiko
    capability covering one Checkmarx business surface.'
  tags:
  - Checkmarx
  - Queries
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHECKMARX_API_KEY: CHECKMARX_API_KEY
capability:
  consumes:
  - type: http
    namespace: one-queries
    baseUri: https://ast.checkmarx.net/api
    description: Checkmarx One API — Queries business capability. Self-contained, no shared references.
    resources:
    - name: queries
      path: /queries
      operations:
      - name: listqueries
        method: GET
        description: Checkmarx List SAST queries
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: offset
          in: query
          type: integer
          description: Pagination offset
        - name: limit
          in: query
          type: integer
          description: Number of results to return
    authentication:
      type: bearer
      token: '{{env.CHECKMARX_API_KEY}}'
  exposes:
  - type: rest
    namespace: one-queries-rest
    port: 8080
    description: REST adapter for Checkmarx One API — Queries. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/queries
      name: queries
      description: REST surface for queries.
      operations:
      - method: GET
        name: listqueries
        description: Checkmarx List SAST queries
        call: one-queries.listqueries
        with:
          offset: rest.offset
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: one-queries-mcp
    port: 9090
    transport: http
    description: MCP adapter for Checkmarx One API — Queries. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: checkmarx-list-sast-queries
      description: Checkmarx List SAST queries
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: one-queries.listqueries
      with:
        offset: tools.offset
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.