List windowsDeviceMalwareStates
Namespace: microsoft.graph.managedTenants
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get a list of the windowsDeviceMalwareState objects and their properties.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ❌ | ❌ | ❌ |
Permissions
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | DeviceManagementManagedDevices.Read.All | DeviceManagementManagedDevices.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | Not supported. | Not supported. |
HTTP request
GET /tenantRelationships/managedTenants/windowsDeviceMalwareStates
Optional query parameters
This method supports the OData query parameters to help customize the response, including $apply
, $count
, $filter
, $orderby
, $select
, $skip
, and $top
.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and a collection of windowsDeviceMalwareState objects in the response body.
Examples
Request
GET https://graph.microsoft.com/beta/tenantRelationships/managedTenants/windowsDeviceMalwareStates
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#windowsDeviceMalwareStates",
"value": [
{
"id": "34298981-4fc8-4974-9486-c8909ed1521b_c9c8328e-7be6-48f6-8ddc-be3aae112f0d_2147714402",
"managedDeviceId": "c9c8328e-7be6-48f6-8ddc-be3aae112f0d",
"managedDeviceName": "vm12",
"malwareId": "2147714402",
"malwareExecutionState": "Unknown",
"malwareThreatState": "Active",
"initialDetectionDateTime": "2021-07-09T14:33:49Z",
"lastStateChangeDateTime": "2021-07-09T14:33:49Z",
"detectionCount": 9,
"deviceDeleted": false,
"malwareCategory": "TrojanDownloader",
"malwareSeverity": "Severe",
"malwareDisplayName": "TrojanDownloader:Win32/Vigorf.A",
"lastRefreshedDateTime": "2021-07-11T00:02:20.7750537Z",
"additionalInformationUrl": "https://go.microsoft.com/fwlink/?linkid=37020&name=TrojanDownloader%3AWin32%2FVigorf%2EA&threatid=2147714402&enterprise=1",
"tenantId": "34298981-4fc8-4974-9486-c8909ed1521b",
"tenantDisplayName": "Fourth Coffee"
},
{
"id": "38227791-a88b-4fcc-81c5-58cf77668320_956410b3-af0d-4a55-82c6-3962cca172fb_2147694182",
"managedDeviceId": "956410b3-af0d-4a55-82c6-3962cca172fb",
"managedDeviceName": "VM9166",
"malwareId": "2147694182",
"malwareExecutionState": "Unknown",
"malwareThreatState": "Active",
"initialDetectionDateTime": "2021-07-09T14:36:46Z",
"lastStateChangeDateTime": "2021-07-09T14:36:46Z",
"detectionCount": 7,
"deviceDeleted": false,
"malwareCategory": "Trojan",
"malwareSeverity": "Severe",
"malwareDisplayName": "Trojan:Win32/Skeeyah.A!rfn",
"lastRefreshedDateTime": "2021-07-11T00:02:20.7750537Z",
"additionalInformationUrl": "https://go.microsoft.com/fwlink/?linkid=37020&name=Trojan%3AWin32%2FSkeeyah%2EA%21rfn&threatid=2147694182&enterprise=1",
"tenantId": "38227791-a88b-4fcc-81c5-58cf77668320",
"tenantDisplayName": "Consolidated Messenger"
}
]
}