Microsoft Graph · Schema

microsoft.graph.threatAssessmentRequest

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphthreatassessmentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.threatAssessmentRequest",
  "title": "microsoft.graph.threatAssessmentRequest",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "threatAssessmentRequest",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "category": {
          "$ref": "#/components/schemas/microsoft.graph.threatCategory"
        },
        "contentType": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.threatAssessmentContentType"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The content type of threat assessment. The possible values are: mail, url, file."
        },
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.identitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The threat assessment request creator."
        },
        "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 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",
          "nullable": true
        },
        "expectedAssessment": {
          "$ref": "#/components/schemas/microsoft.graph.threatExpectedAssessment"
        },
        "requestSource": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.threatAssessmentRequestSource"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The source of the threat assessment request. The possible values are: administrator."
        },
        "status": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.threatAssessmentStatus"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The assessment process status. The possible values are: pending, completed."
        },
        "results": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.threatAssessmentResult"
          },
          "description": "A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.emailFileAssessmentRequest": "#/components/schemas/microsoft.graph.emailFileAssessmentRequest",
          "#microsoft.graph.fileAssessmentRequest": "#/components/schemas/microsoft.graph.fileAssessmentRequest",
          "#microsoft.graph.mailAssessmentRequest": "#/components/schemas/microsoft.graph.mailAssessmentRequest",
          "#microsoft.graph.urlAssessmentRequest": "#/components/schemas/microsoft.graph.urlAssessmentRequest"
        }
      }
    }
  ]
}