{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-alert-schema.json",
  "title": "microsoft.graph.alert",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-defender-security-alert-api-openapi.yml#/components/schemas/microsoft.graph.alert",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "alert",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "activityGroupName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name or alias of the activity group (attacker) this alert is attributed to."
        },
        "alertDetections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.alertDetection"
          }
        },
        "assignedTo": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update)."
        },
        "azureSubscriptionId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Azure subscription ID, present if this alert is related to an Azure resource."
        },
        "azureTenantId": {
          "type": "string",
          "description": "Microsoft Entra tenant ID. Required."
        },
        "category": {
          "type": [
            "string",
            "null"
          ],
          "description": "Category of the alert (for example, credentialTheft, ransomware)."
        },
        "closedDateTime": {
          "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": "Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z (supports update).",
          "format": "date-time"
        },
        "cloudAppStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.cloudAppSecurityState"
          },
          "description": "Security-related stateful information generated by the provider about the cloud application/s related to this alert."
        },
        "comments": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Customer-provided comments on alert (for customer alert management) (supports update)."
        },
        "confidence": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Confidence of the detection logic (percentage between 1-100).",
          "format": "int32"
        },
        "createdDateTime": {
          "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": "Time at which the alert was created by the alert provider. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.",
          "format": "date-time"
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Alert description."
        },
        "detectionIds": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record)."
        },
        "eventDateTime": {
          "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": "Time at which the event or events that served as the trigger to generate the alert occurred. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.",
          "format": "date-time"
        },
        "feedback": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.alertFeedback"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Updatable."
        },
        "fileStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.fileSecurityState"
          },
          "description": "Security-related stateful information generated by the provider about the files related to this alert."
        },
        "historyStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.alertHistoryState"
          }
        },
        "hostStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.hostSecurityState"
          },
          "description": "Security-related stateful information generated by the provider about the hosts related to this alert."
        },
        "incidentIds": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "IDs of incidents related to current alert."
        },
        "investigationSecurityStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.investigationSecurityState"
          }
        },
        "lastEventDateTime": {
          "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"
          ],
          "format": "date-time"
        },
        "lastModifiedDateTime": {
          "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": "Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "malwareStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.malwareState"
          },
          "description": "Threat Intelligence pertaining to malware related to this alert."
        },
        "messageSecurityStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.messageSecurityState"
          }
        },
        "networkConnections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.networkConnection"
          },
          "description": "Security-related stateful information generated by the provider about the network connections related to this alert."
        },
        "processes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.process"
          },
          "description": "Security-related stateful information generated by the provider about the process or processes related to this alert."
        },
        "recommendedActions": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Vendor/provider recommended actions to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host)."
        },
        "registryKeyStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.registryKeyState"
          },
          "description": "Security-related stateful information generated by the provider about the registry keys related to this alert."
        },
        "securityResources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.securityResource"
          },
          "description": "Resources related to current alert. For example, for some alerts this can have the Azure Resource value."
        },
        "severity": {
          "$ref": "#/$defs/microsoft.graph.alertSeverity"
        },
        "sourceMaterials": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search."
        },
        "status": {
          "$ref": "#/$defs/microsoft.graph.alertStatus"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "User-definable labels that can be applied to an alert and can serve as filter conditions (for example, 'HVA', 'SAW') (supports update)."
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "description": "Alert title. Required."
        },
        "triggers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.alertTrigger"
          },
          "description": "Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation."
        },
        "uriClickSecurityStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.uriClickSecurityState"
          }
        },
        "userStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.userSecurityState"
          },
          "description": "Security-related stateful information generated by the provider about the user accounts related to this alert."
        },
        "vendorInformation": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.securityVendorInformation"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required."
        },
        "vulnerabilityStates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.vulnerabilityState"
          },
          "description": "Threat intelligence pertaining to one or more vulnerabilities related to this alert."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.alert",
  "$defs": {
    "microsoft.graph.alertDetection": {
      "title": "alertDetection",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "detectionType": {
          "type": [
            "string",
            "null"
          ]
        },
        "method": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.alertFeedback": {
      "title": "alertFeedback",
      "enum": [
        "unknown",
        "truePositive",
        "falsePositive",
        "benignPositive",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.alertHistoryState": {
      "title": "alertHistoryState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "appId": {
          "type": [
            "string",
            "null"
          ]
        },
        "assignedTo": {
          "type": [
            "string",
            "null"
          ]
        },
        "comments": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "feedback": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.alertFeedback"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ]
        },
        "status": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.alertStatus"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ]
        },
        "updatedDateTime": {
          "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"
          ],
          "format": "date-time"
        },
        "user": {
          "type": [
            "string",
            "null"
          ]
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.alertSeverity": {
      "title": "alertSeverity",
      "enum": [
        "unknown",
        "informational",
        "low",
        "medium",
        "high",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.alertStatus": {
      "title": "alertStatus",
      "enum": [
        "unknown",
        "newAlert",
        "inProgress",
        "resolved",
        "dismissed",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.alertTrigger": {
      "title": "alertTrigger",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the property serving as a detection trigger."
        },
        "type": {
          "type": [
            "string",
            "null"
          ],
          "description": "Type of the property in the key:value pair for interpretation. For example, String, Boolean etc."
        },
        "value": {
          "type": [
            "string",
            "null"
          ],
          "description": "Value of the property serving as a detection trigger."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.cloudAppSecurityState": {
      "title": "cloudAppSecurityState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "destinationServiceIp": {
          "type": [
            "string",
            "null"
          ],
          "description": "Destination IP Address of the connection to the cloud application/service."
        },
        "destinationServiceName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cloud application/service name (for example 'Salesforce', 'DropBox', etc.)."
        },
        "riskScore": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.connectionDirection": {
      "title": "connectionDirection",
      "enum": [
        "unknown",
        "inbound",
        "outbound",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.connectionStatus": {
      "title": "connectionStatus",
      "enum": [
        "unknown",
        "attempted",
        "succeeded",
        "blocked",
        "failed",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.emailRole": {
      "title": "emailRole",
      "enum": [
        "unknown",
        "sender",
        "recipient",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "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.fileHash": {
      "title": "fileHash",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "hashType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.fileHashType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "File hash type. The possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256."
        },
        "hashValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "Value of the file hash."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.fileHashType": {
      "title": "fileHashType",
      "enum": [
        "unknown",
        "sha1",
        "sha256",
        "md5",
        "authenticodeHash256",
        "lsHash",
        "ctph",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.fileSecurityState": {
      "title": "fileSecurityState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "fileHash": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.fileHash"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Complex type containing file hashes (cryptographic and location-sensitive)."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "File name (without path)."
        },
        "path": {
          "type": [
            "string",
            "null"
          ],
          "description": "Full file path of the file/imageFile."
        },
        "riskScore": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider generated/calculated risk score of the alert file. Recommended value range of 0-1, which equates to a percentage."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.hostSecurityState": {
      "title": "hostSecurityState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "fqdn": {
          "type": [
            "string",
            "null"
          ],
          "description": "Host FQDN (Fully Qualified Domain Name) (for example, machine.company.com)."
        },
        "isAzureAdJoined": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isAzureAdRegistered": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isHybridAzureDomainJoined": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "True if the host is domain joined to an on-premises Active Directory domain."
        },
        "netBiosName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The local host name, without the DNS domain name."
        },
        "os": {
          "type": [
            "string",
            "null"
          ],
          "description": "Host Operating System. (For example, Windows 10, macOS, RHEL, etc.)."
        },
        "privateIpAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert."
        },
        "publicIpAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert."
        },
        "riskScore": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider-generated/calculated risk score of the host.  Recommended value range of 0-1, which equates to a percentage."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.investigationSecurityState": {
      "title": "investigationSecurityState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.logonType": {
      "title": "logonType",
      "enum": [
        "unknown",
        "interactive",
        "remoteInteractive",
        "network",
        "batch",
        "service",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.malwareState": {
      "title": "malwareState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "category": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider-generated malware category (for example, trojan, ransomware, etc.)."
        },
        "family": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider-generated malware family (for example, 'wannacry,' 'notpetya,' etc.)."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider-generated malware variant name (for example, Trojan:Win32/Powessere.H)."
        },
        "severity": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider-determined severity of this malware."
        },
        "wasRunning": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the detected file (malware/vulnerability) was running at the time of detection or was detected at rest on the disk."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.messageSecurityState": {
      "title": "messageSecurityState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "connectingIP": {
          "type": [
            "string",
            "null"
          ]
        },
        "deliveryAction": {
          "type": [
            "string",
            "null"
          ]
        },
        "deliveryLocation": {
          "type": [
            "string",
            "null"
          ]
        },
        "directionality": {
          "type": [
            "string",
            "null"
          ]
        },
        "internetMessageId": {
          "type": [
            "string",
            "null"
          ]
        },
        "messageFingerprint": {
          "type": [
            "string",
            "null"
          ]
        },
        "messageReceivedDateTime": {
          "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"
          ],
          "format": "date-time"
        },
        "messageSubject": {
          "type": [
            "string",
            "null"
          ]
        },
        "networkMessageId": {
          "type": [
            "string",
            "null"
          ]
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.networkConnection": {
      "title": "networkConnection",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "applicationName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the application managing the network connection (for example, Facebook or SMTP)."
        },
        "destinationAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Destination IP address (of the network connection)."
        },
        "destinationDomain": {
          "type": [
            "string",
            "null"
          ],
          "description": "Destination domain portion of the destination URL. (for example 'www.contoso.com')."
        },
        "destinationLocation": {
          "type": [
            "string",
            "null"
          ],
          "description": "Location (by IP address mapping) associated with the destination of a network connection."
        },
        "destinationPort": {
          "type": [
            "string",
            "null"
          ],
          "description": "Destination port (of the network connection)."
        },
        "destinationUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html')"
        },
        "direction": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.connectionDirection"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Network connection direction. The possible values are: unknown, inbound, outbound."
        },
        "domainRegisteredDateTime": {
          "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": "Date when the destination domain was registered. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
          "format": "date-time"
        },
        "localDnsName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with)."
        },
        "natDestinationAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Network Address Translation destination IP address."
        },
        "natDestinationPort": {
          "type": [
            "string",
            "null"
          ],
          "description": "Network Address Translation destination port."
        },
        "natSourceAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Network Address Translation source IP address."
        },
        "natSourcePort": {
          "type": [
            "string",
            "null"
          ],
          "description": "Network Address Translation source port."
        },
        "protocol": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.securityNetworkProtocol"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Network protocol. The possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII."
        },
        "riskScore": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage."
        },
        "sourceAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Source (i.e. origin) IP address (of the network connection)."
        },
        "sourceLocation": {
          "type": [
            "string",
            "null"
          ],
          "description": "Location (by IP address mapping) associated with the source of a network connection."
        },
        "sourcePort": {
          "type": [
            "string",
            "null"
          ],
          "description": "Source (i.e. origin) IP port (of the network connection)."
        },
        "status": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.connectionStatus"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Network connection status. The possible values are: unknown, attempted, succeeded, blocked, failed."
        },
        "urlParameters": {
          "type": [
            "string",
            "null"
          ],
          "description": "Parameters (suffix) of the destination URL."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.process": {
      "title": "process",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "accountName": {
          "type": [
            "string",
            "null"
          ],
          "description": "User account identifier (user account context the process ran under) for example, AccountName, SID, and so on."
        },
        "commandLine": {
          "type": [
            "string",
            "null"
          ],
          "description": "The full process invocation commandline including all parameters."
        },
        "createdDateTime": {
          "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": "Time at which the process was started. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "fileHash": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.fileHash"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Complex type containing file hashes (cryptographic and location-sensitive)."
        },
        "integrityLevel": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.processIntegrityLevel"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The integrity level of the process. The possible values are: unknown, untrusted, low, medium, high, system."
        },
        "isElevated": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "True if the process is elevated."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the process' Image file."
        },
        "parentProcessCreatedDateTime": {
          "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": "DateTime at which the parent process was started. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "parentProcessId": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The Process ID (PID) of the parent process.",
          "format": "int32"
        },
        "parentProcessName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the image file of the parent process."
        },
        "path": {
          "type": [
            "string",
            "null"
          ],
          "description": "Full path, including filename."
        },
        "processId": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The Process ID (PID) of the process.",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.processIntegrityLevel": {
      "title": "processIntegrityLevel",
      "enum": [
        "unknown",
        "untrusted",
        "low",
        "medium",
        "high",
        "system",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.registryHive": {
      "title": "registryHive",
      "enum": [
        "unknown",
        "currentConfig",
        "currentUser",
        "localMachineSam",
        "localMachineSecurity",
        "localMachineSoftware",
        "localMachineSystem",
        "usersDefault",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.registryKeyState": {
      "title": "registryKeyState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "hive": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.registryHive"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. The possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault."
        },
        "key": {
          "type": [
            "string",
            "null"
          ],
          "description": "Current (i.e. changed) registry key (excludes HIVE)."
        },
        "oldKey": {
          "type": [
            "string",
            "null"
          ],
          "description": "Previous (i.e. before changed) registry key (excludes HIVE)."
        },
        "oldValueData": {
          "type": [
            "string",
            "null"
          ],
          "description": "Previous (i.e. before changed) registry key value data (contents)."
        },
        "oldValueName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Previous (i.e. before changed) registry key value name."
        },
        "operation": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.registryOperation"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Operation that changed the registry key name and/or value. The possible values are: unknown, create, modify, delete."
        },
        "processId": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection).",
          "format": "int32"
        },
        "valueData": {
          "type": [
            "string",
            "null"
          ],
          "description": "Current (i.e. changed) registry key value data (contents)."
        },
        "valueName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Current (i.e. changed) registry key value name"
        },
        "valueType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.registryValueType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ The possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.registryOperation": {
      "title": "registryOperation",
      "enum": [
        "unknown",
        "create",
        "modify",
        "delete",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.registryValueType": {
      "title": "registryValueType",
      "enum": [
        "unknown",
        "binary",
        "dword",
        "dwordLittleEndian",
        "dwordBigEndian",
        "expandSz",
        "link",
        "multiSz",
        "none",
        "qword",
        "qwordlittleEndian",
        "sz",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.securityNetworkProtocol": {
      "title": "securityNetworkProtocol",
      "enum": [
        "unknown",
        "ip",
        "icmp",
        "igmp",
        "ggp",
        "ipv4",
        "tcp",
        "pup",
        "udp",
        "idp",
        "ipv6",
        "ipv6RoutingHeader",
        "ipv6FragmentHeader",
        "ipSecEncapsulatingSecurityPayload",
        "ipSecAuthenticationHeader",
        "icmpV6",
        "ipv6NoNextHeader",
        "ipv6DestinationOptions",
        "nd",
        "raw",
        "ipx",
        "spx",
        "spxII",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.securityResource": {
      "title": "securityResource",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "resource": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the resource that is related to current alert. Required."
        },
        "resourceType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.securityResourceType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Represents type of security resources related to an alert. The possible values are: attacked, related."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.securityResourceType": {
      "title": "securityResourceType",
      "enum": [
        "unknown",
        "attacked",
        "related",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.securityVendorInformation": {
      "title": "securityVendorInformation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "provider": {
          "type": [
            "string",
            "null"
          ],
          "description": "Specific provider (product/service - not vendor company); for example, WindowsDefenderATP."
        },
        "providerVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "Version of the provider or subprovider, if it exists, that generated the alert. Required"
        },
        "subProvider": {
          "type": [
            "string",
            "null"
          ],
          "description": "Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen."
        },
        "vendor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.uriClickSecurityState": {
      "title": "uriClickSecurityState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "clickAction": {
          "type": [
            "string",
            "null"
          ]
        },
        "clickDateTime": {
          "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"
          ],
          "format": "date-time"
        },
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "sourceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "uriDomain": {
          "type": [
            "string",
            "null"
          ]
        },
        "verdict": {
          "type": [
            "string",
            "null"
          ]
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.userAccountSecurityType": {
      "title": "userAccountSecurityType",
      "enum": [
        "unknown",
        "standard",
        "power",
        "administrator",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.userSecurityState": {
      "title": "userSecurityState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "aadUserId": {
          "type": [
            "string",
            "null"
          ],
          "description": "AAD User object identifier (GUID) - represents the physical/multi-account user entity."
        },
        "accountName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName)."
        },
        "domainName": {
          "type": [
            "string",
            "null"
          ],
          "description": "NetBIOS/Active Directory domain of user account (that is, domain/account format)."
        },
        "emailRole": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.emailRole"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "For email-related alerts - user account's email 'role'. The possible values are: unknown, sender, recipient."
        },
        "isVpn": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the user logged on through a VPN."
        },
        "logonDateTime": {
          "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": "Time at which the sign-in occurred. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time"
        },
        "logonId": {
          "type": [
            "string",
            "null"
          ],
          "description": "User sign-in ID."
        },
        "logonIp": {
          "type": [
            "string",
            "null"
          ],
          "description": "IP Address the sign-in request originated from."
        },
        "logonLocation": {
          "type": [
            "string",
            "null"
          ],
          "description": "Location (by IP address mapping) associated with a user sign-in event by this user."
        },
        "logonType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.logonType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Method of user sign in. The possible values are: unknown, interactive, remoteInteractive, network, batch, service."
        },
        "onPremisesSecurityIdentifier": {
          "type": [
            "string",
            "null"
          ],
          "description": "Active Directory (on-premises) Security Identifier (SID) of the user."
        },
        "riskScore": {
          "type": [
            "string",
            "null"
          ],
          "description": "Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage."
        },
        "userAccountType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.userAccountSecurityType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "User account type (group membership), per Windows definition. The possible values are: unknown, standard, power, administrator."
        },
        "userPrincipalName": {
          "type": [
            "string",
            "null"
          ],
          "description": "User sign-in name - internet format: (user account name)@(user account DNS domain name)."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.vulnerabilityState": {
      "title": "vulnerabilityState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "cve": {
          "type": [
            "string",
            "null"
          ],
          "description": "Common Vulnerabilities and Exposures (CVE) for the vulnerability."
        },
        "severity": {
          "type": [
            "string",
            "null"
          ],
          "description": "Base Common Vulnerability Scoring System (CVSS) severity score for this vulnerability."
        },
        "wasRunning": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the detected vulnerability (file) was running at the time of detection or was the file detected at rest on the disk."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}