Microsoft Graph · Schema

microsoft.graph.malwareStateForWindowsDevice

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphmalwarestateforwindowsdevice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.malwareStateForWindowsDevice",
  "title": "microsoft.graph.malwareStateForWindowsDevice",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "malwareStateForWindowsDevice",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "detectionCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Indicates the number of times the malware is detected",
          "format": "int32",
          "nullable": true
        },
        "deviceName": {
          "type": "string",
          "description": "Indicates the name of the device being evaluated for malware state",
          "nullable": true
        },
        "executionState": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.windowsMalwareExecutionState"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "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",
          "description": "Initial detection datetime of the malware",
          "format": "date-time",
          "nullable": true
        },
        "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",
          "description": "The last time this particular threat was changed",
          "format": "date-time",
          "nullable": true
        },
        "threatState": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.windowsMalwareThreatState"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "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"
}