Microsoft Defender IoT Security Alerts API

The IoT Security Alerts API from Microsoft Defender — 2 operation(s) for iot security alerts.

Operations 2

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotAlerts Iot alerts list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotAlerts/{iotAlertId} Iot alerts get #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-defender:microsoft-defender-iot-security-alerts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-defender-iot-security-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Defender for Cloud REST API (Microsoft.Security)…
  version: stable-composite
  description: Composite of the latest stable Microsoft.Security resource-manager swagger files published by Microsoft in Azure/azure-rest-api-specs. Each path keeps its own api-version via x-source.
  x-source-repo: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/security/resource-manager/Microsoft.Security/Security
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: IoT Security Alerts
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotAlerts
  : get:
      x-ms-examples:
        Get IoT Alerts:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2019-08-01/examples/IotAlerts/GetIoTAlertList.json
      tags:
      - IoT Security Alerts
      description: List IoT alerts
      operationId: IotAlerts_List
      parameters:
      - $ref: ./common/v1/types.json#/parameters/ApiVersion
      - $ref: ./common/v1/types.json#/parameters/SubscriptionId
      - $ref: ./common/v1/types.json#/parameters/ResourceGroupName
      - $ref: '#/components/parameters/SolutionName'
      - in: query
        name: startTimeUtc>
        x-ms-client-name: minStartTimeUtc
        required: false
        description: Filter by minimum startTimeUtc (ISO 8601 format)
        schema:
          type: string
      - in: query
        name: startTimeUtc<
        x-ms-client-name: maxStartTimeUtc
        required: false
        description: Filter by maximum startTimeUtc (ISO 8601 format)
        schema:
          type: string
      - in: query
        name: alertType
        required: false
        description: Filter by alert type
        schema:
          type: string
      - in: query
        name: compromisedEntity
        required: false
        description: Filter by compromised device
        schema:
          type: string
      - in: query
        name: $limit
        required: false
        description: Limit the number of items returned in a single page
        schema:
          type: integer
          format: int32
      - in: query
        name: $skipToken
        required: false
        description: Skip token used for pagination
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IotAlertList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./common/v1/types.json#/definitions/CloudError
      x-ms-pageable:
        nextLinkName: nextLink
      x-source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2019-08-01/iotAlerts.json
      summary: Iot alerts list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotAlerts/{iotAlertId}
  : get:
      x-ms-examples:
        Get IoT Alert:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2019-08-01/examples/IotAlerts/GetIoTAlert.json
      tags:
      - IoT Security Alerts
      operationId: IotAlerts_Get
      description: Get IoT alert
      parameters:
      - $ref: ./common/v1/types.json#/parameters/ApiVersion
      - $ref: ./common/v1/types.json#/parameters/SubscriptionId
      - $ref: ./common/v1/types.json#/parameters/ResourceGroupName
      - $ref: '#/components/parameters/SolutionName'
      - in: path
        name: iotAlertId
        required: true
        description: Id of the alert
        schema:
          type: string
      responses:
        '200':
          description: IoT alert
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IotAlert'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./common/v1/types.json#/definitions/CloudError
      x-source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2019-08-01/iotAlerts.json
      summary: Iot alerts get
      x-summary-source: derived
components:
  schemas:
    IotAlertList:
      description: List of IoT alerts
      type: object
      properties:
        value:
          description: List data
          readOnly: true
          type: array
          items:
            $ref: '#/components/schemas/IotAlert'
        nextLink:
          readOnly: true
          type: string
          description: When available, follow the URI to get the next page of data
        totalCount:
          readOnly: true
          format: int32
          type: integer
          description: Total count of alerts that conforms with the given filter options (not affected by page size)
    IotAlertProperties:
      type: object
      description: IoT alert properties
      properties:
        systemAlertId:
          description: Holds the product canonical identifier of the alert within the scope of a product
          readOnly: true
          type: string
          example: 903e76ff-17eb-4bac-ac8a-2bc31ab68fd8
        compromisedEntity:
          description: Display name of the main entity being reported on
          readOnly: true
          type: string
          example: device-1
        alertType:
          description: The type name of the alert
          readOnly: true
          type: string
          example: IoT_PrivilegedContainer
        startTimeUtc:
          description: The impact start time of the alert (the time of the first event or activity included in the alert)
          readOnly: true
          type: string
          example: '2020-05-13T06:32:25Z'
        endTimeUtc:
          description: The impact end time of the alert (the time of the last event or activity included in the alert)
          readOnly: true
          type: string
          example: '2020-05-13T06:32:25Z'
        entities:
          description: A list of entities related to the alert
          type: array
          items:
            type: object
          example:
          - $id: '1'
            CommandLine: docker run --privileged
            Type: process
        extendedProperties:
          type: object
          description: A bag of fields which extends the alert information
          example:
            CommandLine: docker run --privileged
            User Name: aUser
            UserId: ''
            ParentProcessId: 1593
            DeviceId: device-1
    IotAlert:
      type: object
      description: IoT alert
      properties:
        properties:
          x-ms-client-flatten: true
          description: Alert properties
          $ref: '#/components/schemas/IotAlertProperties'
      allOf:
      - $ref: ./common/v1/types.json#/definitions/Resource
  parameters:
    SolutionName:
      name: solutionName
      in: path
      required: true
      description: The name of the IoT Security solution.
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.