{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-security-alert-schema.json",
  "title": "microsoft.graph.security.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.security.alert",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "alert",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "actorDisplayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The adversary or activity group that is associated with this alert."
        },
        "additionalData": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.security.dictionary"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "A collection of other alert properties, including user-defined properties. Any custom details defined in the alert, and any dynamic content in the alert details, are stored here."
        },
        "alertPolicyId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The ID of the policy that generated the alert, and populated when there is a specific policy that generated the alert, whether configured by a customer or a built-in policy."
        },
        "alertWebUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL for the Microsoft 365 Defender portal alert page."
        },
        "assignedTo": {
          "type": [
            "string",
            "null"
          ],
          "description": "Owner of the alert, or null if no owner is assigned."
        },
        "categories": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The attack kill-chain categories that the alert belongs to. Aligned with the MITRE ATT&CK framework."
        },
        "category": {
          "type": [
            "string",
            "null"
          ],
          "description": "The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. This property is in the process of being deprecated. Use the categories property instead."
        },
        "classification": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.security.alertClassification"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Specifies whether the alert represents a true threat. The possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue."
        },
        "comments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.alertComment"
          },
          "description": "Array of comments created by the Security Operations (SecOps) team during the alert management process."
        },
        "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 when Microsoft 365 Defender created the alert.",
          "format": "date-time"
        },
        "customDetails": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.security.dictionary"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "User defined custom fields with string values."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "String value describing each alert."
        },
        "detectionSource": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.security.detectionSource"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Detection technology or sensor that identified the notable component or activity."
        },
        "detectorId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The ID of the detector that triggered the alert."
        },
        "determination": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.security.alertDetermination"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Specifies the result of the investigation, whether the alert represents a true attack and if so, the nature of the attack. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedActivity, lineOfBusinessApplication, unknownFutureValue."
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.alertEvidence"
          },
          "description": "Collection of evidence related to the alert."
        },
        "firstActivityDateTime": {
          "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 earliest activity associated with the alert.",
          "format": "date-time"
        },
        "incidentId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier to represent the incident this alert resource is associated with."
        },
        "incidentWebUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL for the incident page in the Microsoft 365 Defender portal."
        },
        "investigationState": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.security.investigationState"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Information on the current status of the investigation. The possible values are: unknown, terminated, successfullyRemediated, benign, failed, partiallyRemediated, running, pendingApproval, pendingResource, queued, innerFailure, preexistingAlert, unsupportedOs, unsupportedAlertType, suppressedAlert, partiallyInvestigated, terminatedByUser, terminatedBySystem, unknownFutureValue."
        },
        "lastActivityDateTime": {
          "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 oldest activity associated with the alert.",
          "format": "date-time"
        },
        "lastUpdateDateTime": {
          "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 when the alert was last updated at Microsoft 365 Defender.",
          "format": "date-time"
        },
        "mitreTechniques": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The attack techniques, as aligned with the MITRE ATT&CK framework."
        },
        "productName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the product which published this alert."
        },
        "providerAlertId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The ID of the alert as it appears in the security provider product that generated the alert."
        },
        "recommendedActions": {
          "type": [
            "string",
            "null"
          ],
          "description": "Recommended response and remediation actions to take in the event this alert was generated."
        },
        "resolvedDateTime": {
          "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 when the alert was resolved.",
          "format": "date-time"
        },
        "serviceSource": {
          "$ref": "#/$defs/microsoft.graph.security.serviceSource"
        },
        "severity": {
          "$ref": "#/$defs/microsoft.graph.security.alertSeverity"
        },
        "status": {
          "$ref": "#/$defs/microsoft.graph.security.alertStatus"
        },
        "systemTags": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The system tags associated with the alert."
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Microsoft Entra tenant the alert was created in."
        },
        "threatDisplayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The threat associated with this alert."
        },
        "threatFamilyName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Threat family associated with this alert."
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "description": "Brief identifying string value describing the alert."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.security.alert",
  "$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.security.alertClassification": {
      "title": "alertClassification",
      "enum": [
        "unknown",
        "falsePositive",
        "truePositive",
        "informationalExpectedActivity",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.alertComment": {
      "title": "alertComment",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "comment": {
          "type": [
            "string",
            "null"
          ],
          "description": "The comment text."
        },
        "createdByDisplayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The person or app name that submitted the comment."
        },
        "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",
          "description": "The time when the comment was submitted.",
          "format": "date-time"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.security.alertDetermination": {
      "title": "alertDetermination",
      "enum": [
        "unknown",
        "apt",
        "malware",
        "securityPersonnel",
        "securityTesting",
        "unwantedSoftware",
        "other",
        "multiStagedAttack",
        "compromisedAccount",
        "phishing",
        "maliciousUserActivity",
        "notMalicious",
        "notEnoughDataToValidate",
        "confirmedActivity",
        "lineOfBusinessApplication",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.alertEvidence": {
      "title": "alertEvidence",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "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",
          "description": "The date and time when the evidence was created and added to the alert. 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"
        },
        "detailedRoles": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Detailed description of the entity role/s in an alert. Values are free-form."
        },
        "remediationStatus": {
          "$ref": "#/$defs/microsoft.graph.security.evidenceRemediationStatus"
        },
        "remediationStatusDetails": {
          "type": [
            "string",
            "null"
          ],
          "description": "Details about the remediation status."
        },
        "roles": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.evidenceRole"
          },
          "description": "The role/s that an evidence entity represents in an alert, for example, an IP address that is associated with an attacker has the evidence role Attacker."
        },
        "tags": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc."
        },
        "verdict": {
          "$ref": "#/$defs/microsoft.graph.security.evidenceVerdict"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.security.alertSeverity": {
      "title": "alertSeverity",
      "enum": [
        "unknown",
        "informational",
        "low",
        "medium",
        "high",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.alertStatus": {
      "title": "alertStatus",
      "enum": [
        "unknown",
        "new",
        "inProgress",
        "resolved",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.detectionSource": {
      "title": "detectionSource",
      "enum": [
        "unknown",
        "microsoftDefenderForEndpoint",
        "antivirus",
        "smartScreen",
        "customTi",
        "microsoftDefenderForOffice365",
        "automatedInvestigation",
        "microsoftThreatExperts",
        "customDetection",
        "microsoftDefenderForIdentity",
        "cloudAppSecurity",
        "microsoft365Defender",
        "azureAdIdentityProtection",
        "manual",
        "microsoftDataLossPrevention",
        "appGovernancePolicy",
        "appGovernanceDetection",
        "unknownFutureValue",
        "microsoftDefenderForCloud",
        "microsoftDefenderForIoT",
        "microsoftDefenderForServers",
        "microsoftDefenderForStorage",
        "microsoftDefenderForDNS",
        "microsoftDefenderForDatabases",
        "microsoftDefenderForContainers",
        "microsoftDefenderForNetwork",
        "microsoftDefenderForAppService",
        "microsoftDefenderForKeyVault",
        "microsoftDefenderForResourceManager",
        "microsoftDefenderForApiManagement",
        "nrtAlerts",
        "scheduledAlerts",
        "microsoftDefenderThreatIntelligenceAnalytics",
        "builtInMl",
        "microsoftInsiderRiskManagement",
        "microsoftThreatIntelligence",
        "microsoftDefenderForAIServices",
        "securityCopilot",
        "microsoftSentinel"
      ],
      "type": "string"
    },
    "microsoft.graph.security.dictionary": {
      "title": "dictionary",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.security.evidenceRemediationStatus": {
      "title": "evidenceRemediationStatus",
      "enum": [
        "none",
        "remediated",
        "prevented",
        "blocked",
        "notFound",
        "unknownFutureValue",
        "active",
        "pendingApproval",
        "declined",
        "unremediated",
        "running",
        "partiallyRemediated"
      ],
      "type": "string"
    },
    "microsoft.graph.security.evidenceRole": {
      "title": "evidenceRole",
      "enum": [
        "unknown",
        "contextual",
        "scanned",
        "source",
        "destination",
        "created",
        "added",
        "compromised",
        "edited",
        "attacked",
        "attacker",
        "commandAndControl",
        "loaded",
        "suspicious",
        "policyViolator",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.evidenceVerdict": {
      "title": "evidenceVerdict",
      "enum": [
        "unknown",
        "suspicious",
        "malicious",
        "noThreatsFound",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.investigationState": {
      "title": "investigationState",
      "enum": [
        "unknown",
        "terminated",
        "successfullyRemediated",
        "benign",
        "failed",
        "partiallyRemediated",
        "running",
        "pendingApproval",
        "pendingResource",
        "queued",
        "innerFailure",
        "preexistingAlert",
        "unsupportedOs",
        "unsupportedAlertType",
        "suppressedAlert",
        "partiallyInvestigated",
        "terminatedByUser",
        "terminatedBySystem",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.serviceSource": {
      "title": "serviceSource",
      "enum": [
        "unknown",
        "microsoftDefenderForEndpoint",
        "microsoftDefenderForIdentity",
        "microsoftDefenderForCloudApps",
        "microsoftDefenderForOffice365",
        "microsoft365Defender",
        "azureAdIdentityProtection",
        "microsoftAppGovernance",
        "dataLossPrevention",
        "unknownFutureValue",
        "microsoftDefenderForCloud",
        "microsoftSentinel",
        "microsoftInsiderRiskManagement",
        "microsoftThreatIntelligence",
        "microsoftSecurityForAI"
      ],
      "type": "string"
    }
  }
}