Method: attachments.download

Full name: projects.locations.instances.legacySoarUsers.attachments.download

Exports (downloads) an Attachment's raw content. Use this method to retrieve the original file data for offline analysis or archival.

HTTP request


GET https://chronicle.africa-south1.rep.googleapis.com/v1beta/{name}:download

Path parameters

Parameters
name

string

Required. The resource name of the Attachment to export. Format: projects/{project}/locations/{location}/instances/{instance}/legacySoarUsers/{legacySoarUser}/attachments/{attachment}

Request body

The request body must be empty.

Response body

ExportAttachmentResponse contains the exported Attachment.

If successful, the response body contains data with the following structure:

JSON representation
{
  "media": {
    object (Media)
  }
}
Fields
media

object (Media)

The exported attachment.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://www.googleapis.com/auth/chronicle.readonly

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.attachments.get

For more information, see the IAM documentation.