You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Test Block Flow on Monitoring Mode](#bypass_monitor_header)
31
32
32
33
## <aname="installation"></a> Installation
33
34
@@ -254,3 +255,21 @@ environ['px_disable_request'] = True #The enforcer shall be disabled for that re
254
255
255
256
```
256
257
258
+
#### <aname=“bypassMonitorHeader”></a> Test Block Flow on Monitoring Mode
259
+
260
+
Allows you to test an enforcer’s blocking flow while you are still in Monitor Mode.
261
+
262
+
When the header name is set(eg. `x-px-block`) and the value is set to `1`, when there is a block response (for example from using a User-Agent header with the value of `PhantomJS/1.0`) the Monitor Mode is bypassed and full block mode is applied. If one of the conditions is missing you will stay in Monitor Mode. This is done per request.
263
+
To stay in Monitor Mode, set the header value to `0`.
264
+
265
+
The Header Name is configurable using the `bypass_monitor_header` property.
0 commit comments