modsecurity_host_config
Retrieve the ModSecurity configuration for a specific hostname to inspect or troubleshoot per-domain security rules.
Instructions
ModSecurity config for one hostname.
Args: hostname: vhost name.
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": {
"hostname": "<hostname>"
},
"name": "modsecurity_host_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |