Sampling is used to enhance the Allowlist feature for WAF traffic by exposing only a particular percentage of the traffic for WAF. This section discusses how to set the sampling of traffic in WAF Allowlist Rules.
Sampling is beneficial if we want to send a subset of all traffic through WAF. The sampling_rate slider is used to allot a range for each Allowlist rule. The value for sampling_rate can range from 0 to 100%.
If the request is in the sampling range, the configured action is applied to the request. For example, if sampling is set to 50%, every alternate request will trigger the action.