Sysdig · Capability

Sysdig Secure API — Compliance

Sysdig Secure API — Compliance. 2 operations. Lead operation: List Compliance Tasks. Self-contained Naftiko capability covering one Sysdig business surface.

Run with Naftiko SysdigCompliance

What You Can Do

GET
Listcompliancetasks — List Compliance Tasks
/v1/api/compliance/v2/tasks
GET
Getcomplianceresults — Get Compliance Results
/v1/api/compliance/v2/tasks/{taskid}/results

MCP Tools

list-compliance-tasks

List Compliance Tasks

read-only idempotent
get-compliance-results

Get Compliance Results

read-only idempotent

Capability Spec

secure-compliance.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sysdig Secure API — Compliance
  description: 'Sysdig Secure API — Compliance. 2 operations. Lead operation: List Compliance Tasks. Self-contained Naftiko
    capability covering one Sysdig business surface.'
  tags:
  - Sysdig
  - Compliance
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SYSDIG_API_KEY: SYSDIG_API_KEY
capability:
  consumes:
  - type: http
    namespace: secure-compliance
    baseUri: https://api.us1.sysdig.com
    description: Sysdig Secure API — Compliance business capability. Self-contained, no shared references.
    resources:
    - name: api-compliance-v2-tasks
      path: /api/compliance/v2/tasks
      operations:
      - name: listcompliancetasks
        method: GET
        description: List Compliance Tasks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-compliance-v2-tasks-taskId-results
      path: /api/compliance/v2/tasks/{taskId}/results
      operations:
      - name: getcomplianceresults
        method: GET
        description: Get Compliance Results
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: taskId
          in: path
          type: string
          required: true
        - name: limit
          in: query
          type: integer
    authentication:
      type: bearer
      token: '{{env.SYSDIG_API_KEY}}'
  exposes:
  - type: rest
    namespace: secure-compliance-rest
    port: 8080
    description: REST adapter for Sysdig Secure API — Compliance. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/compliance/v2/tasks
      name: api-compliance-v2-tasks
      description: REST surface for api-compliance-v2-tasks.
      operations:
      - method: GET
        name: listcompliancetasks
        description: List Compliance Tasks
        call: secure-compliance.listcompliancetasks
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/compliance/v2/tasks/{taskid}/results
      name: api-compliance-v2-tasks-taskid-results
      description: REST surface for api-compliance-v2-tasks-taskId-results.
      operations:
      - method: GET
        name: getcomplianceresults
        description: Get Compliance Results
        call: secure-compliance.getcomplianceresults
        with:
          taskId: rest.taskId
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: secure-compliance-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sysdig Secure API — Compliance. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-compliance-tasks
      description: List Compliance Tasks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: secure-compliance.listcompliancetasks
      outputParameters:
      - type: object
        mapping: $.
    - name: get-compliance-results
      description: Get Compliance Results
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: secure-compliance.getcomplianceresults
      with:
        taskId: tools.taskId
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.