Edit

attachment resource type

Namespace: microsoft.graph.security.caseManagement

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents metadata and content for a file attached to a case.

Inherited from caseManagementEntity.

Methods

Method Return type Description
List microsoft.graph.security.caseManagement.attachment collection List attachments for a case.
Create microsoft.graph.security.caseManagement.attachment Create an attachment for a case.
Get microsoft.graph.security.caseManagement.attachment Read the properties and relationships of microsoft.graph.security.caseManagement.attachment object.
Update microsoft.graph.security.caseManagement.attachment Update an attachment object.

Properties

Property Type Description
content Stream The binary content stream for the attachment.
createdBy String The user or service that created the resource. Inherited from caseManagementEntity.
createdDateTime DateTimeOffset The date and time when the resource was created. Inherited from caseManagementEntity.
description String The description of the attachment.
displayName String The display name of the attachment.
fileExtension String The file extension of the attachment.
fileSize Int64 The size of the attachment in bytes.
id String The unique identifier for the resource. Inherited from entity.
lastModifiedBy String The user or service that last modified the resource. Inherited from caseManagementEntity.
lastModifiedDateTime DateTimeOffset The date and time when the resource was last modified. Inherited from caseManagementEntity.
origin microsoft.graph.security.caseManagement.attachmentOrigin The origin reference for the attachment.
scanResult microsoft.graph.security.caseManagement.attachmentScanResult The malware scan result for the attachment.

attachmentScanResult values

Member Description
unscanned The attachment hasn't been scanned.
noThreatsFound No threats were found in the attachment.
malicious The attachment was identified as malicious.
unknownFutureValue Evolvable enumeration sentinel value. Don't use.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.security.caseManagement.attachment",
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "createdBy": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "lastModifiedBy": "String",
  "displayName": "String",
  "description": "String",
  "fileSize": "Integer",
  "fileExtension": "String",
  "scanResult": "String",
  "origin": {
    "@odata.type": "#microsoft.graph.security.caseManagement.attachmentOrigin"
  },
  "content": "Stream"
}