ecp_system_set_waf
Enable or disable OpenLiteSpeed ModSecurity web application firewall filtering for every site on the account, with confirmation required to apply the account-wide change.
Instructions
Turn the account's web application firewall (OpenLiteSpeed ModSecurity) on or off for every site it serves. Disabling it removes request filtering for all sites on this account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"enabled": "<enabled>",
"confirm": "<confirm>"
},
"name": "ecp_system_set_waf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| enabled | Yes |