naftiko: 1.0.0-alpha2 info: label: API Reference — ComplianceManagementService description: 'API Reference — ComplianceManagementService. 3 operations. Lead operation: ComplianceManagementService. Self-contained Naftiko capability covering one Stackrox business surface.' tags: - Stackrox - ComplianceManagementService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STACKROX_API_KEY: STACKROX_API_KEY capability: consumes: - type: http namespace: stackrox-compliancemanagementservice baseUri: https://{central-host} description: API Reference — ComplianceManagementService business capability. Self-contained, no shared references. resources: - name: v1-complianceManagement-runs path: /v1/complianceManagement/runs operations: - name: getrecentruns method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterId in: query type: string - name: standardId in: query type: string - name: since in: query type: string - name: v1-compliancemanagement-runs path: /v1/compliancemanagement/runs operations: - name: triggerruns method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-compliancemanagement-runstatuses path: /v1/compliancemanagement/runstatuses operations: - name: getrunstatuses method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: runIds in: query type: array authentication: type: apikey key: Authorization value: '{{env.STACKROX_API_KEY}}' placement: header exposes: - type: rest namespace: stackrox-compliancemanagementservice-rest port: 8080 description: REST adapter for API Reference — ComplianceManagementService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/compliancemanagement/runs name: v1-compliancemanagement-runs description: REST surface for v1-complianceManagement-runs. operations: - method: GET name: getrecentruns description: getrecentruns call: stackrox-compliancemanagementservice.getrecentruns with: clusterId: rest.clusterId standardId: rest.standardId since: rest.since outputParameters: - type: object mapping: $. - path: /v1/v1/compliancemanagement/runs name: v1-compliancemanagement-runs description: REST surface for v1-compliancemanagement-runs. operations: - method: POST name: triggerruns description: triggerruns call: stackrox-compliancemanagementservice.triggerruns with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/compliancemanagement/runstatuses name: v1-compliancemanagement-runstatuses description: REST surface for v1-compliancemanagement-runstatuses. operations: - method: GET name: getrunstatuses description: getrunstatuses call: stackrox-compliancemanagementservice.getrunstatuses with: runIds: rest.runIds outputParameters: - type: object mapping: $. - type: mcp namespace: stackrox-compliancemanagementservice-mcp port: 9090 transport: http description: MCP adapter for API Reference — ComplianceManagementService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: getrecentruns description: getrecentruns hints: readOnly: true destructive: false idempotent: true call: stackrox-compliancemanagementservice.getrecentruns with: clusterId: tools.clusterId standardId: tools.standardId since: tools.since outputParameters: - type: object mapping: $. - name: triggerruns description: triggerruns hints: readOnly: false destructive: false idempotent: false call: stackrox-compliancemanagementservice.triggerruns with: body: tools.body outputParameters: - type: object mapping: $. - name: getrunstatuses description: getrunstatuses hints: readOnly: true destructive: false idempotent: true call: stackrox-compliancemanagementservice.getrunstatuses with: runIds: tools.runIds outputParameters: - type: object mapping: $.