naftiko: 1.0.0-alpha2 info: label: Sysdig Monitor API — Alerts description: 'Sysdig Monitor API — Alerts. 5 operations. Lead operation: List Alerts. Self-contained Naftiko capability covering one Sysdig business surface.' tags: - Sysdig - Alerts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SYSDIG_API_KEY: SYSDIG_API_KEY capability: consumes: - type: http namespace: monitor-alerts baseUri: https://api.us1.sysdig.com description: Sysdig Monitor API — Alerts business capability. Self-contained, no shared references. resources: - name: api-v2-alerts path: /api/v2/alerts operations: - name: listalerts method: GET description: List Alerts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Maximum number of alerts to return - name: offset in: query type: integer description: Offset for pagination - name: createalert method: POST description: Create Alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-alerts-alertId path: /api/v2/alerts/{alertId} operations: - name: getalert method: GET description: Get Alert outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatealert method: PUT description: Update Alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletealert method: DELETE description: Delete Alert outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SYSDIG_API_KEY}}' exposes: - type: rest namespace: monitor-alerts-rest port: 8080 description: REST adapter for Sysdig Monitor API — Alerts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/alerts name: api-v2-alerts description: REST surface for api-v2-alerts. operations: - method: GET name: listalerts description: List Alerts call: monitor-alerts.listalerts with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createalert description: Create Alert call: monitor-alerts.createalert with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/alerts/{alertid} name: api-v2-alerts-alertid description: REST surface for api-v2-alerts-alertId. operations: - method: GET name: getalert description: Get Alert call: monitor-alerts.getalert outputParameters: - type: object mapping: $. - method: PUT name: updatealert description: Update Alert call: monitor-alerts.updatealert with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletealert description: Delete Alert call: monitor-alerts.deletealert outputParameters: - type: object mapping: $. - type: mcp namespace: monitor-alerts-mcp port: 9090 transport: http description: MCP adapter for Sysdig Monitor API — Alerts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-alerts description: List Alerts hints: readOnly: true destructive: false idempotent: true call: monitor-alerts.listalerts with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: create-alert description: Create Alert hints: readOnly: false destructive: false idempotent: false call: monitor-alerts.createalert with: body: tools.body outputParameters: - type: object mapping: $. - name: get-alert description: Get Alert hints: readOnly: true destructive: false idempotent: true call: monitor-alerts.getalert outputParameters: - type: object mapping: $. - name: update-alert description: Update Alert hints: readOnly: false destructive: false idempotent: true call: monitor-alerts.updatealert with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-alert description: Delete Alert hints: readOnly: false destructive: true idempotent: true call: monitor-alerts.deletealert outputParameters: - type: object mapping: $.