action_log
Creates, updates, deletes, gets or lists an action_log resource.
Overview
| Name | action_log |
| Type | Resource |
| Id | cloudflare.email_security.action_log |
Fields
The following fields are returned by SELECT queries:
- list
Action log for the email
| Name | Datatype | Description |
|---|---|---|
completed_at | string (date-time) | Timestamp when the action completed |
operation | string | (PREVIEW, QUARANTINE_RELEASE, SUBMISSION, MOVE) |
properties | object | |
started_at | string (date-time) | Timestamp when the action was initiated |
status | string | |
success | boolean |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id, investigate_id | Returns the list of post-delivery actions (moves, quarantine releases, previews, etc.) that have been applied to a specific email message. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
investigate_id | string |
SELECT examples
- list
Returns the list of post-delivery actions (moves, quarantine releases, previews, etc.) that have been applied to a specific email message.
SELECT
completed_at,
operation,
properties,
started_at,
status,
success
FROM cloudflare.email_security.action_log
WHERE account_id = '{{ account_id }}' -- required
AND investigate_id = '{{ investigate_id }}' -- required
;