Skip to Main content

tuyen cloudflare security

Query Cloudflare Firewall Analytics for security events and threat data.

Usage

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

Options

-z, --zone-tag <ZONE_TAG>

  • Cloudflare zone identifier found in the zone overview dashboard.
  • Required: Yes.
  • Alias: zone.

-m, --method-filter <METHOD_FILTER>

  • Filter security events by HTTP method, can be specified multiple times.
  • Alias: method.

--host-filter <HOST_FILTER>

  • Filter security events by hostname using exact match.
  • Alias: host.

-p, --path-filter <PATH_FILTER>

  • Filter security events by request path using prefix match.
  • Alias: path.

-c, --country-filter <COUNTRY_FILTER>

  • Filter security events by country code, can be specified multiple times.
  • Alias: country.

-q, --query-filter <QUERY_FILTER>

  • Filter security events by query string content.
  • Alias: query.

-d, --date-range <DATE_RANGE>

  • Date range to query for security events.
  • Default value: 1d.
  • Alias: range.

-l, --limit <LIMIT>

  • Maximum number of security events to return.
  • Default value: 100.

--group <GROUP>

  • Group results by common attributes for an aggregated view.
  • Default value: true.
  • Alias: group.
  • Possible values: true, false.

-h, --help

  • Print help.