Cloudflare

Download 2
Last updated Aug 4, 2026

cloudflare-firewall-events

List Firewall events from Cloudflare service.

Syntax

cloudflare-firewall-events [profile=PROFILE] [duration=NUM{mon|w|d|h|m|s}] [from=yyyyMMddHHmmss] [to=yyyyMMddHHmmss] [order=ORDER] [extra=EXTRA]

Options

profile=PROFILE
Optional. Connect profile code of Cloudflare
duration=NUM{mon|w|d|h|m|s}
Optional. Scan only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example, 10s means data from 10 seconds earlier.
from=yyyyMMddHHmmss
Optional. Start time of range. yyyyMMddHHmmss format. (default 31 days ago)
to=yyyyMMddHHmmss
Optional. End time of range. yyyyMMddHHmmss format. (default current time)
order=ORDER
Optional. asc or desc. (default desc)
extra=EXTRA
Optional. Include Enterprise-only fields (WAF attack score etc.): t/true or f/false. (default f)

Output Fields

FieldTypeNameDescription
_timeDateTimeThe date and time the event occurred at the edge.
profileStringConnect ProfileCloudflare connect profile code
sourceStringSourceEvent source
src_ipIP addressSource IPThe visitor's IP address (IPv4 or IPv6).
src_countryStringSource CountryCountry from which request originated.
src_asnStringSource ASNAutonomous System Number of the source network.
ray_idStringRay IDCloudflare Ray ID
signatureStringSignatureThe description of the rule triggered by this request.
actionStringActionThe code of the first-class action the Cloudflare Firewall took on this request.
attack_scoreIntegerAttack ScoreOverall attack score
attack_score_classStringAttack Score ClassClassification of attack score
statusIntegerStatusEdge response status code
origin_statusIntegerOrigin StatusHTTP origin response status code returned to browser.
methodStringMethodThe HTTP method used by the visitor.
schemeStringSchemeThe URL scheme requested by the visitor.
hostStringHostThe HTTP hostname requested by the visitor.
pathStringPathThe path requested by visitor.
queryStringQueryThe query-string was requested by the visitor.
http_verStringHTTP VersionThe version of HTTP protocol requested by the visitor.
user_agentStringUser AgentVisitor's user-agent string.
sqli_scoreIntegerSQLi ScoreSQL injection attack score
xss_scoreIntegerXSS ScoreCross-site scripting attack score
rce_scoreIntegerRCE ScoreRemote code execution attack score
ml_attack_scoreIntegerML Attack ScoreMachine learning based attack score
ml_sqli_scoreIntegerML SQLi ScoreMachine learning based SQL injection score
ml_xss_scoreIntegerML XSS ScoreMachine learning based XSS attack score
is_scan_failedIntegerScan FailedContent scan failure status
leaked_credentialStringLeaked CredentialLeaked credential check result
rule_idStringRule IDTriggered rule identifier
ruleset_idStringRule Set IDRule set identifier
refStringReferenceEvent reference
referer_schemeStringReferer SchemeThe referer URL scheme requested by the visitor.
referer_hostStringReferer HostThe referer host.
referer_pathStringReferer PathThe referer path requested by visitor.
referer_queryStringReferer QueryThe referer query-string was requested by the visitor.
zone_verIntegerZone VersionZone version number
edge_colo_idStringEdge Colo IDPoP identifier
edge_colo_nameStringEdge Colo NamePoP name.