ModSecurity
Server Settings
Return all ModSecurity configuration files
This function lists ModSecurity™ configuration files. The system stores the configuration files in the /usr/local/apache/conf/modsec_vendor_configs directory.
Important:
When you disable the Web Server role, the system disables this function.
get/modsec_get_configs
Response
HTTP Request was successful.
Example response
{
"data": {
"configs": [
{
"active": 1,
"config": "modsec_vendor_configs/MyVendor/one.conf",
"vendor_id": "MyVendor"
}
]
},
"metadata": {
"command": "modsec_get_configs",
"reason": "OK",
"result": 1,
"version": 1
}
}