This function lists the ModSecurity™ configuration files that have staged changes.
Important:
When you disable the Web Server role, the system disables this function.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ modsec_get_configs_with_changes_pending
{- "data": {
- "configs": [
- "modsec2.user.conf",
- "modsec2.user1.conf",
- "modsec2.user2.conf"
]
}, - "metadata": {
- "command": "modsec_get_configs_with_changes_pending",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}