PHP Класс Cloudflare\Zone\WAF\Packages

WAF Rule Packages properties
Автор: James Bell ([email protected])
Наследование: extends CloudFlare\Api
Показать файл Открыть проект

Открытые методы

Метод Описание
info ( string $zone_identifier, string $identifier ) Firewall package info (permission needed: #zone:read) Get information about a single firewall package
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
update ( 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

Описание методов

info() публичный Метод

Firewall package info (permission needed: #zone:read) Get information about a single firewall package
public info ( string $zone_identifier, string $identifier )
$zone_identifier string
$identifier string

rules() публичный Метод

List firewall packages (permission needed: #zone:read) Retrieve firewall packages for a zone
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 )
$zone_identifier string
$name string | null Name of the firewall package
$page integer | null Page number of paginated results
$per_page integer | null Number of packages per page
$order string | null Field to order packages by
$direction string | null Direction to order packages
$match string | null Whether to match all search requirements or at least one (any)

update() публичный Метод

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
public update ( string $zone_identifier, string $identifier, string | null $sensitivity = null, string | null $action_mode = null )
$zone_identifier string
$identifier string
$sensitivity string | null The sensitivity of the firewall package.
$action_mode string | null The default action that will be taken for rules under the firewall package.