naftiko: 1.0.0-alpha2 info: label: Cribl Cloud API — Authentication description: 'Cribl Cloud API — Authentication. 1 operations. Lead operation: Authenticate and obtain a bearer token. Self-contained Naftiko capability covering one Cribl business surface.' tags: - Cribl - Authentication created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CRIBL_API_KEY: CRIBL_API_KEY capability: consumes: - type: http namespace: cloud-authentication baseUri: https://{workspaceName}-{organizationId}.cribl.cloud/api/v1 description: Cribl Cloud API — Authentication business capability. Self-contained, no shared references. resources: - name: auth-login path: /auth/login operations: - name: login method: POST description: Authenticate and obtain a bearer token 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.CRIBL_API_KEY}}' exposes: - type: rest namespace: cloud-authentication-rest port: 8080 description: REST adapter for Cribl Cloud API — Authentication. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/auth/login name: auth-login description: REST surface for auth-login. operations: - method: POST name: login description: Authenticate and obtain a bearer token call: cloud-authentication.login with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cloud-authentication-mcp port: 9090 transport: http description: MCP adapter for Cribl Cloud API — Authentication. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: authenticate-and-obtain-bearer-token description: Authenticate and obtain a bearer token hints: readOnly: false destructive: false idempotent: false call: cloud-authentication.login with: body: tools.body outputParameters: - type: object mapping: $.