Overview

Namespaces

  • Cloudflare
    • Organizations
      • Firewall
        • AccessRules
    • User
      • Billing
        • Subscriptions
      • Firewall
    • Zone
      • Firewall
      • SSL
      • WAF
        • Packages

Classes

  • Packages
  • Overview
  • Namespace
  • Class

Class Packages

CloudFlare API wrapper

WAF Rule Packages properties

Cloudflare\Api
Extended by Cloudflare\Zone\WAF\Packages
Namespace: Cloudflare\Zone\WAF
Author: James Bell james@james-bell.co.uk
Version: 1
Located at CloudFlare/Zone/WAF/Packages.php
Methods summary
public
# rules( string $zone_identifier, string|null $name = null, integer|null $page = null, integer|null $per_page = null, string|null $order = null, string|null $direction = null, string|null $match = null )

List firewall packages (permission needed: #zone:read) Retrieve firewall packages for a zone

List firewall packages (permission needed: #zone:read) Retrieve firewall packages for a zone

Parameters

$zone_identifier
$name
Name of the firewall package
$page
Page number of paginated results
$per_page
Number of packages per page
$order
Field to order packages by
$direction
Direction to order packages
$match
Whether to match all search requirements or at least one (any)
public
# info( string $zone_identifier, string $identifier )

Firewall package info (permission needed: #zone:read) Get information about a single firewall package

Firewall package info (permission needed: #zone:read) Get information about a single firewall package

Parameters

$zone_identifier
$identifier
public
# update( Cloudflare\Zone\WAF\string $zone_identifier, string $identifier, string|null $sensitivity = null, string|null $action_mode = null )

Change anomaly-detection web application firewall package settings (permission needed: #zone:edit) Change the sensitivity and action for an anomaly detection type WAF rule package

Change anomaly-detection web application firewall package settings (permission needed: #zone:edit) Change the sensitivity and action for an anomaly detection type WAF rule package

Parameters

$zone_identifier
$identifier
$sensitivity
The sensitivity of the firewall package.
$action_mode
The default action that will be taken for rules under the firewall package.
Methods inherited from Cloudflare\Api
__construct(), delete(), get(), patch(), permissions(), post(), put(), request(), setAuthKey(), setCurlOption(), setEmail()
Properties summary
protected array $permission_level

Default permissions level

Default permissions level

# ['read' => '#zone:read', 'edit' => '#zone:edit']
Properties inherited from Cloudflare\Api
$auth_key, $curl_options, $email
API documentation generated by ApiGen