Description


This function enables a ModSecurity™ vendor rule set.


This function will not enable vendor configuration files that you individually disable.

Examples 




https://hostname.example.com:2087/cpsess##########/json-api/modsec_enable_vendor?api.version=1&vendor_id=SomeVendor 




https://hostname.example.com:2087/cpsess##########/xml-api/modsec_enable_vendor?api.version=1&vendor_id=SomeVendor




whmapi1 modsec_enable_vendor vendor_id=SomeVendor



 {
    "data": {},
    "metadata": {
        "version": 1,
        "reason": "OK",
        "result": 1,
        "command": "modsec_enable_vendor"
    }
}




 <result>
  <data/>
  <metadata>
    <version>1</version>
    <reason>OK</reason>
    <result>1</result>
    <command>modsec_enable_vendor</command>
  </metadata>
</result>



Parameters

ParameterTypeDescriptionPossible valuesExample
vendor_idstring

Required

The vendor's unique short name.

A valid string.
SomeVendor

Returns

This function only returns metadata.