Skip to Main content

tuyen cloudflare security

Query Cloudflare Firewall Analytics for security events and threats

Usage

tuyen cloudflare security [OPTIONS] --zone-tag <ZONE_TAG>

Options

-z, --zone-tag <ZONE_TAG>

Cloudflare zone identifier (found in the zone overview dashboard)
Aliases: zone

-m, --method-filter <METHOD_FILTER>

Filter by HTTP method (repeatable, e.g. --method GET --method POST)
Aliases: method

--host-filter <HOST_FILTER>

Filter by hostname (exact match)
Aliases: host

-p, --path-filter <PATH_FILTER>

Filter by request path (prefix match)
Aliases: path

-c, --country-filter <COUNTRY_FILTER>

Filter by country code (repeatable, e.g. --country US --country CN)
Aliases: country

-q, --query-filter <QUERY_FILTER>

Filter by query string content
Aliases: query

-d, --date-range <DATE_RANGE>

Date range to query (default: "1d")
Default values: 1d
Aliases: range

-l, --limit <LIMIT>

Maximum number of security events to return (default: 100)
Default values: 100

--group <GROUP>

Group results by common attributes for aggregated view (default: true)
Default values: true
Aliases: group
Possible values: true, false

-h, --help

Print help.