Module Mode

This feature sets the working mode of the Enforcer.

Monitor mode - Use this mode to fine-tune and test your system. When in the Monitor mode, the Enforcer will pass through requests that would otherwise be blocked.
Active Blocking mode - Switch to this mode after making sure the Enforcer is operating properly in the Monitor mode. The Enforcer will block requests when necessary.

v8.0.0 and up
Name: px_module_mode
Values:

  • monitor - Monitor mode (default)
  • active_blocking - Active Blocking mode

v7.2.0 and below
Name: MODULE_MODE
Values:

  • 0 - Async monitor mode (default)

  • 1 - Sync monitor mode

  • 2- Active Blocking mode 

table px_configs {
  px_module_mode: 'monitor',
}
table px_configs {
  MODULE_MODE: 0,
}