Microsoft Defender Aggregated Recommendation API

The Aggregated Recommendation API from Microsoft Defender — 2 operation(s) for aggregated recommendation.

Operations 2

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName} Iot security solutions analytics recommendation get #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations Iot security solutions analytics recommendation list #

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-aggregated-recommendation-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-aggregated-recommendation-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: Aggregated Recommendation
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}
  : get:
      operationId: IotSecuritySolutionsAnalyticsRecommendation_Get
      tags:
      - Aggregated Recommendation
      description: Use this method to get the aggregated security analytics recommendation of yours IoT Security solution. This aggregation is performed by recommendation name.
      parameters:
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: solutionName
        in: path
        description: The name of the IoT Security solution.
        required: true
        schema:
          type: string
      - name: aggregatedRecommendationName
        in: path
        description: Name of the recommendation aggregated for this query.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IoTSecurityAggregatedRecommendation'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common.CloudError'
      x-ms-examples:
        Get the aggregated security analytics recommendation of yours IoT Security solution:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json
      x-source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2019-08-01/security-IoTSecurity.json
      summary: Iot security solutions analytics recommendation get
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations
  : get:
      operationId: IotSecuritySolutionsAnalyticsRecommendation_List
      tags:
      - Aggregated Recommendation
      description: Use this method to get the list of aggregated security analytics recommendations of yours IoT Security solution.
      parameters:
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: solutionName
        in: path
        description: The name of the IoT Security solution.
        required: true
        schema:
          type: string
      - name: $top
        in: query
        description: Number of results to retrieve.
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IoTSecurityAggregatedRecommendationList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common.CloudError'
      x-ms-examples:
        Get the list of aggregated security analytics recommendations of yours IoT Security solution:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json
      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/security-IoTSecurity.json
      summary: Iot security solutions analytics recommendation list
      x-summary-source: derived
components:
  schemas:
    TagsResource:
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: Resource tags
      description: A container holding only the Tags for a resource, allowing the user to update the tags.
    Common.CloudErrorBody:
      type: object
      description: The error detail.
      properties:
        code:
          type: string
          description: The error code.
          readOnly: true
        message:
          type: string
          description: The error message.
          readOnly: true
        target:
          type: string
          description: The error target.
          readOnly: true
        details:
          type: array
          description: The error details.
          items:
            $ref: '#/components/schemas/Common.CloudErrorBody'
          readOnly: true
          x-ms-identifiers: []
        additionalInfo:
          type: array
          description: The error additional info.
          items:
            $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/definitions/ErrorAdditionalInfo
          readOnly: true
          x-ms-identifiers: []
      x-ms-external: true
    IoTSecurityAggregatedRecommendationProperties:
      type: object
      description: IoT Security solution aggregated recommendation information
      properties:
        recommendationName:
          type: string
          description: Name of the recommendation.
        recommendationDisplayName:
          readOnly: true
          type: string
          description: Display name of the recommendation type.
        description:
          readOnly: true
          type: string
          description: Description of the suspected vulnerability and meaning.
        recommendationTypeId:
          description: Recommendation-type GUID.
          type: string
          readOnly: true
        detectedBy:
          readOnly: true
          type: string
          description: Name of the organization that made the recommendation.
        remediationSteps:
          readOnly: true
          type: string
          description: Recommended steps for remediation
        reportedSeverity:
          readOnly: true
          type: string
          enum:
          - Informational
          - Low
          - Medium
          - High
          x-ms-enum:
            name: reportedSeverity
            modelAsString: true
            values:
            - value: Informational
            - value: Low
            - value: Medium
            - value: High
          description: Assessed recommendation severity.
        healthyDevices:
          readOnly: true
          type: integer
          format: int64
          description: Number of healthy devices within the IoT Security solution.
        unhealthyDeviceCount:
          readOnly: true
          type: integer
          format: int64
          description: Number of unhealthy devices within the IoT Security solution.
        logAnalyticsQuery:
          readOnly: true
          type: string
          description: Log analytics query for getting the list of affected devices/alerts.
    IoTSecurityAggregatedRecommendation:
      type: object
      description: IoT Security solution recommendation information.
      properties:
        properties:
          x-ms-client-flatten: true
          description: Security Solution data
          $ref: '#/components/schemas/IoTSecurityAggregatedRecommendationProperties'
      allOf:
      - $ref: ./common/v1/types.json#/definitions/Resource
      - $ref: '#/components/schemas/TagsResource'
    IoTSecurityAggregatedRecommendationList:
      description: List of IoT Security solution aggregated recommendations.
      required:
      - value
      properties:
        value:
          type: array
          description: List of aggregated recommendations data.
          items:
            $ref: '#/components/schemas/IoTSecurityAggregatedRecommendation'
        nextLink:
          readOnly: true
          type: string
          description: When there is too much alert data for one page, use this URI to fetch the next page.
    Common.CloudError:
      type: object
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/Common.CloudErrorBody'
          description: The error object.
          x-ms-client-flatten: true
      x-ms-external: true
  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.