> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/email/attachment.md).

# xdm.email.attachment

the email attachment

|           |                     |
| --------- | ------------------- |
| Datatype  | Compound.Attachment |
| Dataclass | Compound            |

## Field groups

* [`xdm.email.attachment.permissions`](/xsiam-data-model-schema/fields/email/attachment/permissions.md)
* [`xdm.email.attachment.position`](/xsiam-data-model-schema/fields/email/attachment/position.md)

## Fields

#### `xdm.email.attachment.filename`

|             |                                        |
| ----------- | -------------------------------------- |
| Description | The file name of the email attachment. |
| Datatype    | String                                 |
| Dataclass   | Scalar                                 |

#### `xdm.email.attachment.path`

|             |                                        |
| ----------- | -------------------------------------- |
| Description | The file path of the email attachment. |
| Datatype    | String                                 |
| Dataclass   | Scalar                                 |

#### `xdm.email.attachment.directory`

|             |                                             |
| ----------- | ------------------------------------------- |
| Description | The file directory of the email attachment. |
| Datatype    | String                                      |
| Dataclass   | Scalar                                      |

#### `xdm.email.attachment.extension`

|             |                                             |
| ----------- | ------------------------------------------- |
| Description | The file extension of the email attachment. |
| Datatype    | String                                      |
| Dataclass   | Scalar                                      |

#### `xdm.email.attachment.file_type`

|             |                                        |
| ----------- | -------------------------------------- |
| Description | The file type of the email attachment. |
| Datatype    | String                                 |
| Dataclass   | Scalar                                 |

#### `xdm.email.attachment.md5`

|             |                                                          |
| ----------- | -------------------------------------------------------- |
| Description | The MD5 hash signature for the email attachment content. |
| Datatype    | MD5                                                      |
| Dataclass   | Scalar                                                   |

#### `xdm.email.attachment.sha256`

|             |                                                             |
| ----------- | ----------------------------------------------------------- |
| Description | The SHA256 hash signature for the email attachment content. |
| Datatype    | SHA256                                                      |
| Dataclass   | Scalar                                                      |

#### `xdm.email.attachment.is_signed`

|             |                                                              |
| ----------- | ------------------------------------------------------------ |
| Description | Whether the loaded module of the email attachment is signed. |
| Datatype    | Boolean                                                      |
| Dataclass   | Scalar                                                       |
| Examples    | True                                                         |

#### `xdm.email.attachment.signer`

|             |                                     |
| ----------- | ----------------------------------- |
| Description | The signer of the email attachment. |
| Datatype    | String                              |
| Dataclass   | Scalar                              |
| Examples    | Microsoft Corporation               |

#### `xdm.email.attachment.signature_status`

|             |                                                                                                                                                                                      |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Description | The signature status of the email attachment.                                                                                                                                        |
| Datatype    | [`XDM_CONST.SIGNATURE_STATUS`](/xsiam-data-model-schema/consts/signature-status.md)                                                                                                  |
| Dataclass   | Scalar                                                                                                                                                                               |
| Examples    | XDM\_CONST.SIGNATURE\_STATUS\_UNSIGNED, XDM\_CONST.SIGNATURE\_STATUS\_SIGNED\_INVALID, XDM\_CONST.SIGNATURE\_STATUS\_SIGNED\_VERIFIED, XDM\_CONST.SIGNATURE\_STATUS\_STATUS\_UNKNOWN |

#### `xdm.email.attachment.size`

|             |                                        |
| ----------- | -------------------------------------- |
| Description | Size in bytes of the email attachment. |
| Datatype    | Number                                 |
| Dataclass   | Scalar                                 |
| Unit        | Bytes                                  |

#### `xdm.email.attachment.last_modified`

|             |                                                             |
| ----------- | ----------------------------------------------------------- |
| Description | The last modified time (millisecs) of the email attachment. |
| Datatype    | UnixMillis                                                  |
| Dataclass   | Scalar                                                      |
| Examples    | 1716549375886                                               |

#### `xdm.email.attachment.metadata_change_time`

|             |                                                                          |
| ----------- | ------------------------------------------------------------------------ |
| Description | The metadata last modification time (millisecs) of the email attachment. |
| Datatype    | UnixMillis                                                               |
| Dataclass   | Scalar                                                                   |
| Examples    | 1716549375886                                                            |

#### `xdm.email.attachment.owner_id`

|             |                                       |
| ----------- | ------------------------------------- |
| Description | The owner id of the email attachment. |
| Datatype    | Number                                |
| Dataclass   | Scalar                                |
| Examples    | 123456789                             |

#### `xdm.email.attachment.owner_name`

|             |                                         |
| ----------- | --------------------------------------- |
| Description | The owner name of the email attachment. |
| Datatype    | String                                  |
| Dataclass   | Scalar                                  |
| Examples    | admin                                   |

#### `xdm.email.attachment.group_id`

|             |                                       |
| ----------- | ------------------------------------- |
| Description | The group id of the email attachment. |
| Datatype    | Number                                |
| Dataclass   | Scalar                                |
| Examples    | 123456789                             |

#### `xdm.email.attachment.group_name`

|             |                                         |
| ----------- | --------------------------------------- |
| Description | The group name of the email attachment. |
| Datatype    | String                                  |
| Dataclass   | Scalar                                  |
| Examples    | all                                     |

#### `xdm.email.attachment.volume_path`

|             |                                                                |
| ----------- | -------------------------------------------------------------- |
| Description | The path identifies the file's precise location in the volume. |
| Datatype    | String                                                         |
| Dataclass   | Scalar                                                         |
| Examples    | /etc/shadow/sec.txt                                            |

#### `xdm.email.attachment.contributors`

|             |                                                                      |
| ----------- | -------------------------------------------------------------------- |
| Description | Git contributors and their last commit time of the email attachment. |
| Datatype    | Json                                                                 |
| Dataclass   | Array                                                                |
| Examples    | \['{"name": "gmark", "last\_commit\_time": 1699110852}']             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/email/attachment.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
