This function checks whether the ModSecurity™ module is installed.
Important:
When you disable the Web Server role, the system disables this function.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ modsec_is_installed
{- "data": {
- "data": {
- "installed": 1
}
}, - "metadata": {
- "command": "modsec_is_installed",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}