SDK reference / Models / Network

WafCustomRule

Kind: class

Namespace: Egulu.Sdk.Models.Network

A custom rule of a WAF policy.

Properties

NameTypeJSON nameDescription
Actionstring?actionALLOW (the request skips the rest, the Core Rule Set too), BLOCK (403 in prevention mode), LOG or RATE_LIMIT.
MatchModels.Network.WafMatch?matchWhat it matches.
Namestring?nameThe rule's name: lower-case letters, digits and hyphens, unique in the policy.
Priorityint?priority1 to 10000, different for every rule; the lowest number is looked at first.
RateLimitModels.Network.WafRateLimit?rateLimitFor RATE_LIMIT.