Checkmarx · Capability

Checkmarx One API — Authentication

Checkmarx One API — Authentication. 1 operations. Lead operation: Checkmarx Obtain access token. Self-contained Naftiko capability covering one Checkmarx business surface.

Run with Naftiko CheckmarxAuthentication

What You Can Do

POST
Authenticate — Checkmarx Obtain access token
/v1/auth/realms/{realm}/protocol/openid-connect/token

MCP Tools

checkmarx-obtain-access-token

Checkmarx Obtain access token

Capability Spec

one-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Checkmarx One API — Authentication
  description: 'Checkmarx One API — Authentication. 1 operations. Lead operation: Checkmarx Obtain access token. Self-contained
    Naftiko capability covering one Checkmarx business surface.'
  tags:
  - Checkmarx
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHECKMARX_API_KEY: CHECKMARX_API_KEY
capability:
  consumes:
  - type: http
    namespace: one-authentication
    baseUri: https://ast.checkmarx.net/api
    description: Checkmarx One API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: auth-realms-realm-protocol-openid-connect-token
      path: /auth/realms/{realm}/protocol/openid-connect/token
      operations:
      - name: authenticate
        method: POST
        description: Checkmarx Obtain access token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: realm
          in: path
          type: string
          description: Authentication realm name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.CHECKMARX_API_KEY}}'
  exposes:
  - type: rest
    namespace: one-authentication-rest
    port: 8080
    description: REST adapter for Checkmarx One API — Authentication. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/auth/realms/{realm}/protocol/openid-connect/token
      name: auth-realms-realm-protocol-openid-connect-token
      description: REST surface for auth-realms-realm-protocol-openid-connect-token.
      operations:
      - method: POST
        name: authenticate
        description: Checkmarx Obtain access token
        call: one-authentication.authenticate
        with:
          realm: rest.realm
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: one-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Checkmarx One API — Authentication. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: checkmarx-obtain-access-token
      description: Checkmarx Obtain access token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: one-authentication.authenticate
      with:
        realm: tools.realm
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.