naftiko: 1.0.0-alpha2 info: label: Palo Alto Networks Prisma Cloud Code Security API — Scans description: 'Palo Alto Networks Prisma Cloud Code Security API — Scans. 3 operations. Lead operation: Palo Alto Networks Trigger a Scan. Self-contained Naftiko capability covering one Palo Alto Networks business surface.' tags: - Palo Alto Networks - Scans created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PALO_ALTO_NETWORKS_API_KEY: PALO_ALTO_NETWORKS_API_KEY capability: consumes: - type: http namespace: palo-alto-prisma-cloud-code-security-scans baseUri: https://api.prismacloud.io/code/api/v1 description: Palo Alto Networks Prisma Cloud Code Security API — Scans business capability. Self-contained, no shared references. resources: - name: scans path: /scans operations: - name: triggerscan method: POST description: Palo Alto Networks Trigger a Scan outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: scans-integrations path: /scans/integrations operations: - name: listscanintegrations method: GET description: Palo Alto Networks List CI/CD Scan Integrations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: offset in: query type: integer description: Number of records to skip for pagination. - name: limit in: query type: integer description: Maximum number of records to return. - name: scans-scan_id path: /scans/{scan_id} operations: - name: getscanstatus method: GET description: Palo Alto Networks Get Scan Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: scan_id in: path type: string description: Unique scan identifier. required: true authentication: type: apikey key: x-redlock-auth value: '{{env.PALO_ALTO_NETWORKS_API_KEY}}' placement: header exposes: - type: rest namespace: palo-alto-prisma-cloud-code-security-scans-rest port: 8080 description: REST adapter for Palo Alto Networks Prisma Cloud Code Security API — Scans. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/scans name: scans description: REST surface for scans. operations: - method: POST name: triggerscan description: Palo Alto Networks Trigger a Scan call: palo-alto-prisma-cloud-code-security-scans.triggerscan with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/scans/integrations name: scans-integrations description: REST surface for scans-integrations. operations: - method: GET name: listscanintegrations description: Palo Alto Networks List CI/CD Scan Integrations call: palo-alto-prisma-cloud-code-security-scans.listscanintegrations with: offset: rest.offset limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/scans/{scan-id} name: scans-scan-id description: REST surface for scans-scan_id. operations: - method: GET name: getscanstatus description: Palo Alto Networks Get Scan Status call: palo-alto-prisma-cloud-code-security-scans.getscanstatus with: scan_id: rest.scan_id outputParameters: - type: object mapping: $. - type: mcp namespace: palo-alto-prisma-cloud-code-security-scans-mcp port: 9090 transport: http description: MCP adapter for Palo Alto Networks Prisma Cloud Code Security API — Scans. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: palo-alto-networks-trigger-scan description: Palo Alto Networks Trigger a Scan hints: readOnly: false destructive: false idempotent: false call: palo-alto-prisma-cloud-code-security-scans.triggerscan with: body: tools.body outputParameters: - type: object mapping: $. - name: palo-alto-networks-list-ci description: Palo Alto Networks List CI/CD Scan Integrations hints: readOnly: true destructive: false idempotent: true call: palo-alto-prisma-cloud-code-security-scans.listscanintegrations with: offset: tools.offset limit: tools.limit outputParameters: - type: object mapping: $. - name: palo-alto-networks-get-scan description: Palo Alto Networks Get Scan Status hints: readOnly: true destructive: false idempotent: true call: palo-alto-prisma-cloud-code-security-scans.getscanstatus with: scan_id: tools.scan_id outputParameters: - type: object mapping: $.