Microsoft Defender API icon

Microsoft Defender API

Interact with the Microsoft Defender API

Exposure Score → Get By Machine Groups

AI-generated

Summary

Retrieve exposure scores grouped by machine groups using the Microsoft Defender API.

Inputs

  • Authentication (required) — Set the authentication method; currently only OAuth2 is supported.

Output shape

a JSON object containing exposure scores grouped by machine groups as returned by the Microsoft Defender API

Supports optional request options like batching, proxy settings, SSL certificate validation bypass, and timeout configuration. The operation makes a GET request to '/api/exposureScore/ByMachineGroups' and returns the exposure score data for specified machine groups.

Examples

Example 1: Retrieve exposure scores by machine groups to assess security posture grouped by device groups.

Select resource 'Exposure Score', operation 'Get By Machine Groups', and configure authentication with valid OAuth2 credentials.

Links

Discussion