Microsoft Azure · Capability

Microsoft Azure Defender EASM — Assets

Microsoft Azure Defender EASM — Assets. 3 operations. Lead operation: Microsoft Azure Get Assets. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureAssets

What You Can Do

GET
Microsoftazureassetslistassetresource — Microsoft Azure Get Assets
/v1/assets
POST
Microsoftazureassetsupdateassets — Microsoft Azure Post Assets
/v1/assets
GET
Microsoftazureassetsgetassetresource — Microsoft Azure Get Assets Assetid
/v1/assets/{assetid}

MCP Tools

microsoft-azure-get-assets

Microsoft Azure Get Assets

read-only idempotent
microsoft-azure-post-assets

Microsoft Azure Post Assets

microsoft-azure-get-assets-assetid

Microsoft Azure Get Assets Assetid

read-only idempotent

Capability Spec

defender-easm-assets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Defender EASM — Assets
  description: 'Microsoft Azure Defender EASM — Assets. 3 operations. Lead operation: Microsoft Azure Get Assets. Self-contained
    Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Assets
  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: defender-easm-assets
    baseUri: ''
    description: Microsoft Azure Defender EASM — Assets business capability. Self-contained, no shared references.
    resources:
    - name: assets
      path: /assets
      operations:
      - name: microsoftazureassetslistassetresource
        method: GET
        description: Microsoft Azure Get Assets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazureassetsupdateassets
        method: POST
        description: Microsoft Azure Post Assets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          required: true
    - name: assets-assetId
      path: /assets/{assetId}
      operations:
      - name: microsoftazureassetsgetassetresource
        method: GET
        description: Microsoft Azure Get Assets Assetid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: assetId
          in: path
          type: string
          description: The system generated unique id for the resource.
          required: true
  exposes:
  - type: rest
    namespace: defender-easm-assets-rest
    port: 8080
    description: REST adapter for Microsoft Azure Defender EASM — Assets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/assets
      name: assets
      description: REST surface for assets.
      operations:
      - method: GET
        name: microsoftazureassetslistassetresource
        description: Microsoft Azure Get Assets
        call: defender-easm-assets.microsoftazureassetslistassetresource
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: microsoftazureassetsupdateassets
        description: Microsoft Azure Post Assets
        call: defender-easm-assets.microsoftazureassetsupdateassets
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/assets/{assetid}
      name: assets-assetid
      description: REST surface for assets-assetId.
      operations:
      - method: GET
        name: microsoftazureassetsgetassetresource
        description: Microsoft Azure Get Assets Assetid
        call: defender-easm-assets.microsoftazureassetsgetassetresource
        with:
          assetId: rest.assetId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: defender-easm-assets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Defender EASM — Assets. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-azure-get-assets
      description: Microsoft Azure Get Assets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: defender-easm-assets.microsoftazureassetslistassetresource
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-post-assets
      description: Microsoft Azure Post Assets
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: defender-easm-assets.microsoftazureassetsupdateassets
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-assets-assetid
      description: Microsoft Azure Get Assets Assetid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: defender-easm-assets.microsoftazureassetsgetassetresource
      with:
        assetId: tools.assetId
      outputParameters:
      - type: object
        mapping: $.