naftiko: 1.0.0-alpha2 info: label: Kibana APIs — Fleet cloud connectors description: 'Kibana APIs — Fleet cloud connectors. 6 operations. Lead operation: Get cloud connectors. Self-contained Naftiko capability covering one Kibana business surface.' tags: - Kibana - Fleet cloud connectors created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KIBANA_API_KEY: KIBANA_API_KEY capability: consumes: - type: http namespace: kibana-fleet-cloud-connectors baseUri: https://{kibana_url} description: Kibana APIs — Fleet cloud connectors business capability. Self-contained, no shared references. resources: - name: api-fleet-cloud_connectors path: /api/fleet/cloud_connectors operations: - name: getfleetcloudconnectors method: GET description: Get cloud connectors outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page in: query type: string description: The page number for pagination. - name: perPage in: query type: string description: The number of items per page. - name: kuery in: query type: string description: KQL query to filter cloud connectors. - name: postfleetcloudconnectors method: POST description: Create cloud connector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: kbn-xsrf in: header type: string description: A required header to protect against CSRF attacks required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-fleet-cloud_connectors-cloudConnectorId path: /api/fleet/cloud_connectors/{cloudConnectorId} operations: - name: deletefleetcloudconnectorscloudconnectorid method: DELETE description: Delete cloud connector (supports force deletion) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: kbn-xsrf in: header type: string description: A required header to protect against CSRF attacks required: true - name: cloudConnectorId in: path type: string description: The unique identifier of the cloud connector to delete. required: true - name: force in: query type: boolean description: If true, forces deletion even if the cloud connector is in use. - name: getfleetcloudconnectorscloudconnectorid method: GET description: Get cloud connector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cloudConnectorId in: path type: string description: The unique identifier of the cloud connector. required: true - name: putfleetcloudconnectorscloudconnectorid method: PUT description: Update cloud connector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: kbn-xsrf in: header type: string description: A required header to protect against CSRF attacks required: true - name: cloudConnectorId in: path type: string description: The unique identifier of the cloud connector to update. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-fleet-cloud_connectors-cloudConnectorId-usage path: /api/fleet/cloud_connectors/{cloudConnectorId}/usage operations: - name: getfleetcloudconnectorscloudconnectoridusage method: GET description: Get cloud connector usage (package policies using the connector) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cloudConnectorId in: path type: string description: The unique identifier of the cloud connector. required: true - name: page in: query type: number description: The page number for pagination. - name: perPage in: query type: number description: The number of items per page. authentication: type: apikey key: Authorization value: '{{env.KIBANA_API_KEY}}' placement: header exposes: - type: rest namespace: kibana-fleet-cloud-connectors-rest port: 8080 description: REST adapter for Kibana APIs — Fleet cloud connectors. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/fleet/cloud-connectors name: api-fleet-cloud-connectors description: REST surface for api-fleet-cloud_connectors. operations: - method: GET name: getfleetcloudconnectors description: Get cloud connectors call: kibana-fleet-cloud-connectors.getfleetcloudconnectors with: page: rest.page perPage: rest.perPage kuery: rest.kuery outputParameters: - type: object mapping: $. - method: POST name: postfleetcloudconnectors description: Create cloud connector call: kibana-fleet-cloud-connectors.postfleetcloudconnectors with: kbn-xsrf: rest.kbn-xsrf body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/fleet/cloud-connectors/{cloudconnectorid} name: api-fleet-cloud-connectors-cloudconnectorid description: REST surface for api-fleet-cloud_connectors-cloudConnectorId. operations: - method: DELETE name: deletefleetcloudconnectorscloudconnectorid description: Delete cloud connector (supports force deletion) call: kibana-fleet-cloud-connectors.deletefleetcloudconnectorscloudconnectorid with: kbn-xsrf: rest.kbn-xsrf cloudConnectorId: rest.cloudConnectorId force: rest.force outputParameters: - type: object mapping: $. - method: GET name: getfleetcloudconnectorscloudconnectorid description: Get cloud connector call: kibana-fleet-cloud-connectors.getfleetcloudconnectorscloudconnectorid with: cloudConnectorId: rest.cloudConnectorId outputParameters: - type: object mapping: $. - method: PUT name: putfleetcloudconnectorscloudconnectorid description: Update cloud connector call: kibana-fleet-cloud-connectors.putfleetcloudconnectorscloudconnectorid with: kbn-xsrf: rest.kbn-xsrf cloudConnectorId: rest.cloudConnectorId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/fleet/cloud-connectors/{cloudconnectorid}/usage name: api-fleet-cloud-connectors-cloudconnectorid-usage description: REST surface for api-fleet-cloud_connectors-cloudConnectorId-usage. operations: - method: GET name: getfleetcloudconnectorscloudconnectoridusage description: Get cloud connector usage (package policies using the connector) call: kibana-fleet-cloud-connectors.getfleetcloudconnectorscloudconnectoridusage with: cloudConnectorId: rest.cloudConnectorId page: rest.page perPage: rest.perPage outputParameters: - type: object mapping: $. - type: mcp namespace: kibana-fleet-cloud-connectors-mcp port: 9090 transport: http description: MCP adapter for Kibana APIs — Fleet cloud connectors. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-cloud-connectors description: Get cloud connectors hints: readOnly: true destructive: false idempotent: true call: kibana-fleet-cloud-connectors.getfleetcloudconnectors with: page: tools.page perPage: tools.perPage kuery: tools.kuery outputParameters: - type: object mapping: $. - name: create-cloud-connector description: Create cloud connector hints: readOnly: false destructive: false idempotent: false call: kibana-fleet-cloud-connectors.postfleetcloudconnectors with: kbn-xsrf: tools.kbn-xsrf body: tools.body outputParameters: - type: object mapping: $. - name: delete-cloud-connector-supports-force description: Delete cloud connector (supports force deletion) hints: readOnly: false destructive: true idempotent: true call: kibana-fleet-cloud-connectors.deletefleetcloudconnectorscloudconnectorid with: kbn-xsrf: tools.kbn-xsrf cloudConnectorId: tools.cloudConnectorId force: tools.force outputParameters: - type: object mapping: $. - name: get-cloud-connector description: Get cloud connector hints: readOnly: true destructive: false idempotent: true call: kibana-fleet-cloud-connectors.getfleetcloudconnectorscloudconnectorid with: cloudConnectorId: tools.cloudConnectorId outputParameters: - type: object mapping: $. - name: update-cloud-connector description: Update cloud connector hints: readOnly: false destructive: false idempotent: true call: kibana-fleet-cloud-connectors.putfleetcloudconnectorscloudconnectorid with: kbn-xsrf: tools.kbn-xsrf cloudConnectorId: tools.cloudConnectorId body: tools.body outputParameters: - type: object mapping: $. - name: get-cloud-connector-usage-package description: Get cloud connector usage (package policies using the connector) hints: readOnly: true destructive: false idempotent: true call: kibana-fleet-cloud-connectors.getfleetcloudconnectorscloudconnectoridusage with: cloudConnectorId: tools.cloudConnectorId page: tools.page perPage: tools.perPage outputParameters: - type: object mapping: $.