ModSecurity
Server Settings
Return staged ModSecurity configuration files
This function lists the ModSecurity™ configuration files that have staged changes.
Important:
When you disable the Web Server role, the system disables this function.
get/modsec_get_configs_with_changes_pending
Request
- Base URLhttps://whm-server.tld:2087/json-api
- AuthHTTP basic
Response
HTTP Request was successful.
Example response
{
"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
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.