Microsoft Graph · Schema

microsoft.graph.malwareStateForWindowsDevice

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
id string The unique identifier for an entity. Read-only.
@odata.type string
detectionCount numbernull Indicates the number of times the malware is detected
deviceName stringnull Indicates the name of the device being evaluated for malware state
executionState object Indicates execution status of the malware. The possible values are: unknown, blocked, allowed, running, notRunning. Defaults to unknown. The possible values are: unknown, blocked, allowed, running, no
initialDetectionDateTime stringnull Initial detection datetime of the malware
lastStateChangeDateTime stringnull The last time this particular threat was changed
threatState object Indicates threat status of the malware. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, c
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoft-graph-malware-state-for-windows-device-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-malware-state-for-windows-device-schema.json",
  "title": "microsoft.graph.malwareStateForWindowsDevice",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-devicemanagement-windowsmalwareinformation-api-openapi.yml#/components/schemas/microsoft.graph.malwareStateForWindowsDevice",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "malwareStateForWindowsDevice",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "detectionCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Indicates the number of times the malware is detected",
          "format": "int32"
        },
        "deviceName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Indicates the name of the device being evaluated for malware state"
        },
        "executionState": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.windowsMalwareExecutionState"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Indicates execution status of the malware. The possible values are: unknown, blocked, allowed, running, notRunning. Defaults to unknown. The possible values are: unknown, blocked, allowed, running, notRunning."
        },
        "initialDetectionDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Initial detection datetime of the malware",
          "format": "date-time"
        },
        "lastStateChangeDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "The last time this particular threat was changed",
          "format": "date-time"
        },
        "threatState": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.windowsMalwareThreatState"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Indicates threat status of the malware. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. defaults to noStatusCleared. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared."
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "Malware state for a windows device"
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.malwareStateForWindowsDevice",
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.windowsMalwareExecutionState": {
      "title": "windowsMalwareExecutionState",
      "enum": [
        "unknown",
        "blocked",
        "allowed",
        "running",
        "notRunning"
      ],
      "type": "string",
      "description": "Malware execution status",
      "x-ms-enum": {
        "name": "windowsMalwareExecutionState",
        "modelAsString": false,
        "values": [
          {
            "value": "unknown",
            "description": "Unknown",
            "name": "unknown"
          },
          {
            "value": "blocked",
            "description": "Blocked",
            "name": "blocked"
          },
          {
            "value": "allowed",
            "description": "Allowed",
            "name": "allowed"
          },
          {
            "value": "running",
            "description": "Running",
            "name": "running"
          },
          {
            "value": "notRunning",
            "description": "Not running",
            "name": "notRunning"
          }
        ]
      }
    },
    "microsoft.graph.windowsMalwareThreatState": {
      "title": "windowsMalwareThreatState",
      "enum": [
        "active",
        "actionFailed",
        "manualStepsRequired",
        "fullScanRequired",
        "rebootRequired",
        "remediatedWithNonCriticalFailures",
        "quarantined",
        "removed",
        "cleaned",
        "allowed",
        "noStatusCleared"
      ],
      "type": "string",
      "description": "Malware threat status",
      "x-ms-enum": {
        "name": "windowsMalwareThreatState",
        "modelAsString": false,
        "values": [
          {
            "value": "active",
            "description": "Active",
            "name": "active"
          },
          {
            "value": "actionFailed",
            "description": "Action failed",
            "name": "actionFailed"
          },
          {
            "value": "manualStepsRequired",
            "description": "Manual steps required",
            "name": "manualStepsRequired"
          },
          {
            "value": "fullScanRequired",
            "description": "Full scan required",
            "name": "fullScanRequired"
          },
          {
            "value": "rebootRequired",
            "description": "Reboot required",
            "name": "rebootRequired"
          },
          {
            "value": "remediatedWithNonCriticalFailures",
            "description": "Remediated with non critical failures ",
            "name": "remediatedWithNonCriticalFailures"
          },
          {
            "value": "quarantined",
            "description": "Quarantined",
            "name": "quarantined"
          },
          {
            "value": "removed",
            "description": "Removed",
            "name": "removed"
          },
          {
            "value": "cleaned",
            "description": "Cleaned",
            "name": "cleaned"
          },
          {
            "value": "allowed",
            "description": "Allowed",
            "name": "allowed"
          },
          {
            "value": "noStatusCleared",
            "description": "No status cleared",
            "name": "noStatusCleared"
          }
        ]
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoft-graph-malware-state-for-windows-device"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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