> This page is for Applications Protection.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.humansecurity.com/llms.txt.

# 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

**`v8.0.0 and up`**

```javascript title="v8.0.0 and up"
table px_configs {
  px_module_mode: 'monitor',
}
```

**`v7.2.0 and below`**

```javascript title="v7.2.0 and below"
table px_configs {
  MODULE_MODE: 0,
}
```