naftiko: 1.0.0-alpha2 info: label: Google Cloud Binary Authorization API — Attestors description: 'Google Cloud Binary Authorization API — Attestors. 5 operations. Lead operation: Google Cloud Binary Authorization List attestors. Self-contained Naftiko capability covering one Google Cloud Binary Authorization business surface.' tags: - Google Cloud Binary Authorization - Attestors created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_BINARY_AUTHORIZATION_API_KEY: GOOGLE_CLOUD_BINARY_AUTHORIZATION_API_KEY capability: consumes: - type: http namespace: binary-authorization-attestors baseUri: https://binaryauthorization.googleapis.com/v1 description: Google Cloud Binary Authorization API — Attestors business capability. Self-contained, no shared references. resources: - name: projects-projectId-attestors path: /projects/{projectId}/attestors operations: - name: listattestors method: GET description: Google Cloud Binary Authorization List attestors outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createattestor method: POST description: Google Cloud Binary Authorization Create an attestor outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attestorId in: query type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-attestors-attestorId path: /projects/{projectId}/attestors/{attestorId} operations: - name: getattestor method: GET description: Google Cloud Binary Authorization Get an attestor outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateattestor method: PUT description: Google Cloud Binary Authorization Update an attestor outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteattestor method: DELETE description: Google Cloud Binary Authorization Delete an attestor outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GOOGLE_CLOUD_BINARY_AUTHORIZATION_API_KEY}}' exposes: - type: rest namespace: binary-authorization-attestors-rest port: 8080 description: REST adapter for Google Cloud Binary Authorization API — Attestors. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/attestors name: projects-projectid-attestors description: REST surface for projects-projectId-attestors. operations: - method: GET name: listattestors description: Google Cloud Binary Authorization List attestors call: binary-authorization-attestors.listattestors outputParameters: - type: object mapping: $. - method: POST name: createattestor description: Google Cloud Binary Authorization Create an attestor call: binary-authorization-attestors.createattestor with: attestorId: rest.attestorId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/attestors/{attestorid} name: projects-projectid-attestors-attestorid description: REST surface for projects-projectId-attestors-attestorId. operations: - method: GET name: getattestor description: Google Cloud Binary Authorization Get an attestor call: binary-authorization-attestors.getattestor outputParameters: - type: object mapping: $. - method: PUT name: updateattestor description: Google Cloud Binary Authorization Update an attestor call: binary-authorization-attestors.updateattestor with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteattestor description: Google Cloud Binary Authorization Delete an attestor call: binary-authorization-attestors.deleteattestor outputParameters: - type: object mapping: $. - type: mcp namespace: binary-authorization-attestors-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Binary Authorization API — Attestors. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-binary-authorization-list description: Google Cloud Binary Authorization List attestors hints: readOnly: true destructive: false idempotent: true call: binary-authorization-attestors.listattestors outputParameters: - type: object mapping: $. - name: google-cloud-binary-authorization-create description: Google Cloud Binary Authorization Create an attestor hints: readOnly: false destructive: false idempotent: false call: binary-authorization-attestors.createattestor with: attestorId: tools.attestorId body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-binary-authorization-get description: Google Cloud Binary Authorization Get an attestor hints: readOnly: true destructive: false idempotent: true call: binary-authorization-attestors.getattestor outputParameters: - type: object mapping: $. - name: google-cloud-binary-authorization-update description: Google Cloud Binary Authorization Update an attestor hints: readOnly: false destructive: false idempotent: true call: binary-authorization-attestors.updateattestor with: body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-binary-authorization-delete description: Google Cloud Binary Authorization Delete an attestor hints: readOnly: false destructive: true idempotent: true call: binary-authorization-attestors.deleteattestor outputParameters: - type: object mapping: $.