naftiko: 1.0.0-alpha2 info: label: Checkmarx SCA API — Projects description: 'Checkmarx SCA API — Projects. 5 operations. Lead operation: Checkmarx List all projects. Self-contained Naftiko capability covering one Checkmarx business surface.' tags: - Checkmarx - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CHECKMARX_API_KEY: CHECKMARX_API_KEY capability: consumes: - type: http namespace: sca-projects baseUri: https://api-sca.checkmarx.net description: Checkmarx SCA API — Projects business capability. Self-contained, no shared references. resources: - name: risk-management-projects path: /risk-management/projects operations: - name: listprojects method: GET description: Checkmarx List all projects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createproject method: POST description: Checkmarx Create a new project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: risk-management-projects-projectId path: /risk-management/projects/{projectId} operations: - name: getproject method: GET description: Checkmarx Get project details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateproject method: PUT description: Checkmarx Update a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Checkmarx Delete a project outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CHECKMARX_API_KEY}}' exposes: - type: rest namespace: sca-projects-rest port: 8080 description: REST adapter for Checkmarx SCA API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/risk-management/projects name: risk-management-projects description: REST surface for risk-management-projects. operations: - method: GET name: listprojects description: Checkmarx List all projects call: sca-projects.listprojects outputParameters: - type: object mapping: $. - method: POST name: createproject description: Checkmarx Create a new project call: sca-projects.createproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/risk-management/projects/{projectid} name: risk-management-projects-projectid description: REST surface for risk-management-projects-projectId. operations: - method: GET name: getproject description: Checkmarx Get project details call: sca-projects.getproject outputParameters: - type: object mapping: $. - method: PUT name: updateproject description: Checkmarx Update a project call: sca-projects.updateproject with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Checkmarx Delete a project call: sca-projects.deleteproject outputParameters: - type: object mapping: $. - type: mcp namespace: sca-projects-mcp port: 9090 transport: http description: MCP adapter for Checkmarx SCA API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: checkmarx-list-all-projects description: Checkmarx List all projects hints: readOnly: true destructive: false idempotent: true call: sca-projects.listprojects outputParameters: - type: object mapping: $. - name: checkmarx-create-new-project description: Checkmarx Create a new project hints: readOnly: false destructive: false idempotent: false call: sca-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: checkmarx-get-project-details description: Checkmarx Get project details hints: readOnly: true destructive: false idempotent: true call: sca-projects.getproject outputParameters: - type: object mapping: $. - name: checkmarx-update-project description: Checkmarx Update a project hints: readOnly: false destructive: false idempotent: true call: sca-projects.updateproject with: body: tools.body outputParameters: - type: object mapping: $. - name: checkmarx-delete-project description: Checkmarx Delete a project hints: readOnly: false destructive: true idempotent: true call: sca-projects.deleteproject outputParameters: - type: object mapping: $.