naftiko: 1.0.0-alpha2 info: label: Palo Alto Networks Prisma Cloud Code Security API — Repositories description: 'Palo Alto Networks Prisma Cloud Code Security API — Repositories. 3 operations. Lead operation: Palo Alto Networks List Connected Repositories. Self-contained Naftiko capability covering one Palo Alto Networks business surface.' tags: - Palo Alto Networks - Repositories 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-repositories baseUri: https://api.prismacloud.io/code/api/v1 description: Palo Alto Networks Prisma Cloud Code Security API — Repositories business capability. Self-contained, no shared references. resources: - name: repositories path: /repositories operations: - name: listrepositories method: GET description: Palo Alto Networks List Connected Repositories 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: search in: query type: string description: Search term to filter repositories by name or owner. - name: sourceType in: query type: string description: Filter by VCS provider type. - name: addrepository method: POST description: Palo Alto Networks Add a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: removerepository method: DELETE description: Palo Alto Networks Remove a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). 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-repositories-rest port: 8080 description: REST adapter for Palo Alto Networks Prisma Cloud Code Security API — Repositories. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories name: repositories description: REST surface for repositories. operations: - method: GET name: listrepositories description: Palo Alto Networks List Connected Repositories call: palo-alto-prisma-cloud-code-security-repositories.listrepositories with: offset: rest.offset limit: rest.limit search: rest.search sourceType: rest.sourceType outputParameters: - type: object mapping: $. - method: POST name: addrepository description: Palo Alto Networks Add a Repository call: palo-alto-prisma-cloud-code-security-repositories.addrepository with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removerepository description: Palo Alto Networks Remove a Repository call: palo-alto-prisma-cloud-code-security-repositories.removerepository with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: palo-alto-prisma-cloud-code-security-repositories-mcp port: 9090 transport: http description: MCP adapter for Palo Alto Networks Prisma Cloud Code Security API — Repositories. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: palo-alto-networks-list-connected description: Palo Alto Networks List Connected Repositories hints: readOnly: true destructive: false idempotent: true call: palo-alto-prisma-cloud-code-security-repositories.listrepositories with: offset: tools.offset limit: tools.limit search: tools.search sourceType: tools.sourceType outputParameters: - type: object mapping: $. - name: palo-alto-networks-add-repository description: Palo Alto Networks Add a Repository hints: readOnly: false destructive: false idempotent: false call: palo-alto-prisma-cloud-code-security-repositories.addrepository with: body: tools.body outputParameters: - type: object mapping: $. - name: palo-alto-networks-remove-repository description: Palo Alto Networks Remove a Repository hints: readOnly: false destructive: true idempotent: true call: palo-alto-prisma-cloud-code-security-repositories.removerepository with: body: tools.body outputParameters: - type: object mapping: $.