Skip to main content

Get Attachment Protection Logs

Retrieve logs related to attachment protection events.

Required application permissions: Monitoring | Attachment Protection | Read.

External Documentation

To learn more, visit the Mimecast V2 documentation.

Parameters

ParameterDescription
Logs End DateThe end date of logs to return. The default is the execution time.
Logs Start DateThe start date of logs to return. The default is the start of the current day.
Search By ResultSearch logs by the scan result.
Search By RouteSearch logs by the route.
Sort DescendingDetermines whether to order results with the most recent first.

Example Output

{
"data": [
{
"attachmentLogs": [
{
"actionTriggered": "string",
"date": "yyyy-MM-dd'T'HH:mm:ssZ",
"definition": "string",
"details": "string",
"fileHash": "string",
"fileName": "string",
"fileType": "string",
"messageId": "string",
"recipientAddress": "string",
"result": "string",
"route": "string",
"senderAddress": "string",
"subject": "string"
}
],
"fail": [
{
"errors": [
{
"code": "string",
"message": "string",
"retryable": true
}
],
"key": {
"from": "yyyy-MM-dd'T'HH:mm:ssZ",
"oldestFirst": true,
"result": "string",
"route": "string",
"to": "yyyy-MM-dd'T'HH:mm:ssZ"
}
}
]
}
]
}

Workflow Library Example

Get Attachment Protection Logs with Mimecast V2 and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop