Microsoft Azure · Capability

Microsoft Azure MicrosoftScanningClient — ScanResult

Microsoft Azure MicrosoftScanningClient — ScanResult. 3 operations. Lead operation: Microsoft Azure Get Datasources Datasourcename Scans Scanname Runs. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureScanResult

What You Can Do

GET
Microsoftazurescanresultlistscanhistory — Microsoft Azure Get Datasources Datasourcename Scans Scanname Runs
/v1/datasources/{datasourcename}/scans/{scanname}/runs
PUT
Microsoftazurescanresultrunscan — Microsoft Azure Put Datasources Datasourcename Scans Scanname Runs Runid
/v1/datasources/{datasourcename}/scans/{scanname}/runs/{runid}
POST
Microsoftazurescanresultcancelscan — Microsoft Azure Post Datasources Datasourcename Scans Scanname Runs Runid :cancel
/v1/datasources/{datasourcename}/scans/{scanname}/runs/{runid}/cancel

MCP Tools

microsoft-azure-get-datasources-datasourcename

Microsoft Azure Get Datasources Datasourcename Scans Scanname Runs

read-only idempotent
microsoft-azure-put-datasources-datasourcename

Microsoft Azure Put Datasources Datasourcename Scans Scanname Runs Runid

idempotent
microsoft-azure-post-datasources-datasourcename

Microsoft Azure Post Datasources Datasourcename Scans Scanname Runs Runid :cancel

Capability Spec

microsoftscanningclient-scanresult.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure MicrosoftScanningClient — ScanResult
  description: 'Microsoft Azure MicrosoftScanningClient — ScanResult. 3 operations. Lead operation: Microsoft Azure Get Datasources
    Datasourcename Scans Scanname Runs. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - ScanResult
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoftscanningclient-scanresult
    baseUri: https://purview.azure.com/scan
    description: Microsoft Azure MicrosoftScanningClient — ScanResult business capability. Self-contained, no shared references.
    resources:
    - name: datasources-dataSourceName-scans-scanName-runs
      path: /datasources/{dataSourceName}/scans/{scanName}/runs
      operations:
      - name: microsoftazurescanresultlistscanhistory
        method: GET
        description: Microsoft Azure Get Datasources Datasourcename Scans Scanname Runs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dataSourceName
          in: path
          type: string
          required: true
        - name: scanName
          in: path
          type: string
          required: true
    - name: datasources-dataSourceName-scans-scanName-runs-runId
      path: /datasources/{dataSourceName}/scans/{scanName}/runs/{runId}
      operations:
      - name: microsoftazurescanresultrunscan
        method: PUT
        description: Microsoft Azure Put Datasources Datasourcename Scans Scanname Runs Runid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dataSourceName
          in: path
          type: string
          required: true
        - name: scanName
          in: path
          type: string
          required: true
        - name: runId
          in: path
          type: string
          required: true
        - name: scanLevel
          in: query
          type: string
    - name: datasources-dataSourceName-scans-scanName-runs-runId-:cancel
      path: /datasources/{dataSourceName}/scans/{scanName}/runs/{runId}/:cancel
      operations:
      - name: microsoftazurescanresultcancelscan
        method: POST
        description: Microsoft Azure Post Datasources Datasourcename Scans Scanname Runs Runid :cancel
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dataSourceName
          in: path
          type: string
          required: true
        - name: scanName
          in: path
          type: string
          required: true
        - name: runId
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: microsoftscanningclient-scanresult-rest
    port: 8080
    description: REST adapter for Microsoft Azure MicrosoftScanningClient — ScanResult. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/datasources/{datasourcename}/scans/{scanname}/runs
      name: datasources-datasourcename-scans-scanname-runs
      description: REST surface for datasources-dataSourceName-scans-scanName-runs.
      operations:
      - method: GET
        name: microsoftazurescanresultlistscanhistory
        description: Microsoft Azure Get Datasources Datasourcename Scans Scanname Runs
        call: microsoftscanningclient-scanresult.microsoftazurescanresultlistscanhistory
        with:
          dataSourceName: rest.dataSourceName
          scanName: rest.scanName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/{datasourcename}/scans/{scanname}/runs/{runid}
      name: datasources-datasourcename-scans-scanname-runs-runid
      description: REST surface for datasources-dataSourceName-scans-scanName-runs-runId.
      operations:
      - method: PUT
        name: microsoftazurescanresultrunscan
        description: Microsoft Azure Put Datasources Datasourcename Scans Scanname Runs Runid
        call: microsoftscanningclient-scanresult.microsoftazurescanresultrunscan
        with:
          dataSourceName: rest.dataSourceName
          scanName: rest.scanName
          runId: rest.runId
          scanLevel: rest.scanLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/{datasourcename}/scans/{scanname}/runs/{runid}/cancel
      name: datasources-datasourcename-scans-scanname-runs-runid-cancel
      description: REST surface for datasources-dataSourceName-scans-scanName-runs-runId-:cancel.
      operations:
      - method: POST
        name: microsoftazurescanresultcancelscan
        description: Microsoft Azure Post Datasources Datasourcename Scans Scanname Runs Runid :cancel
        call: microsoftscanningclient-scanresult.microsoftazurescanresultcancelscan
        with:
          dataSourceName: rest.dataSourceName
          scanName: rest.scanName
          runId: rest.runId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoftscanningclient-scanresult-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure MicrosoftScanningClient — ScanResult. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-datasources-datasourcename
      description: Microsoft Azure Get Datasources Datasourcename Scans Scanname Runs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoftscanningclient-scanresult.microsoftazurescanresultlistscanhistory
      with:
        dataSourceName: tools.dataSourceName
        scanName: tools.scanName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-datasources-datasourcename
      description: Microsoft Azure Put Datasources Datasourcename Scans Scanname Runs Runid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoftscanningclient-scanresult.microsoftazurescanresultrunscan
      with:
        dataSourceName: tools.dataSourceName
        scanName: tools.scanName
        runId: tools.runId
        scanLevel: tools.scanLevel
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-post-datasources-datasourcename
      description: Microsoft Azure Post Datasources Datasourcename Scans Scanname Runs Runid :cancel
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoftscanningclient-scanresult.microsoftazurescanresultcancelscan
      with:
        dataSourceName: tools.dataSourceName
        scanName: tools.scanName
        runId: tools.runId
      outputParameters:
      - type: object
        mapping: $.