waf_enable_rule
Re-enable a specific ModSecurity rule by its ID to restore security protection after troubleshooting false positives.
Instructions
Re-enable a previously disabled ModSecurity rule by ID.
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": {
"ruleId": "<ruleId>"
},
"name": "waf_enable_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | ModSecurity rule ID to re-enable (e.g. '942140') |