naftiko: 1.0.0-alpha2 info: label: JFrog Xray REST API — Scanning description: 'JFrog Xray REST API — Scanning. 2 operations. Lead operation: JFrog Scan Artifact. Self-contained Naftiko capability covering one Jfrog business surface.' tags: - Jfrog - Scanning created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JFROG_API_KEY: JFROG_API_KEY capability: consumes: - type: http namespace: xray-scanning baseUri: https://{server}.jfrog.io/xray/api description: JFrog Xray REST API — Scanning business capability. Self-contained, no shared references. resources: - name: v1-scanArtifact path: /v1/scanArtifact operations: - name: scanartifact method: POST description: JFrog Scan Artifact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-ci-scan path: /v2/ci/scan operations: - name: scanbuild method: POST description: JFrog Scan Build (v2) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.JFROG_API_KEY}}' exposes: - type: rest namespace: xray-scanning-rest port: 8080 description: REST adapter for JFrog Xray REST API — Scanning. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/scanartifact name: v1-scanartifact description: REST surface for v1-scanArtifact. operations: - method: POST name: scanartifact description: JFrog Scan Artifact call: xray-scanning.scanartifact with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/ci/scan name: v2-ci-scan description: REST surface for v2-ci-scan. operations: - method: POST name: scanbuild description: JFrog Scan Build (v2) call: xray-scanning.scanbuild with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: xray-scanning-mcp port: 9090 transport: http description: MCP adapter for JFrog Xray REST API — Scanning. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: jfrog-scan-artifact description: JFrog Scan Artifact hints: readOnly: false destructive: false idempotent: false call: xray-scanning.scanartifact with: body: tools.body outputParameters: - type: object mapping: $. - name: jfrog-scan-build-v2 description: JFrog Scan Build (v2) hints: readOnly: false destructive: false idempotent: false call: xray-scanning.scanbuild with: body: tools.body outputParameters: - type: object mapping: $.