Skip to main content

action_log

Creates, updates, deletes, gets or lists an action_log resource.

Overview

Nameaction_log
TypeResource
Idcloudflare.email_security.action_log

Fields

The following fields are returned by SELECT queries:

Action log for the email

NameDatatypeDescription
completed_atstring (date-time)Timestamp when the action completed
operationstring (PREVIEW, QUARANTINE_RELEASE, SUBMISSION, MOVE)
propertiesobject
started_atstring (date-time)Timestamp when the action was initiated
statusstring
successboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_id, investigate_idReturns 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
investigate_idstring

SELECT examples

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
;