Development Guides Home >> Guide to Standardized Hooks >> Hookable Events
The modsec_vendor script category's events occur when you run a WHM script. These scripts reside in the /usr/local/cpanel/scripts/ directory.
This event triggers when the modsec_vendor script disables a ModSecurity vendor.
- Action code runs as:
root - Blocking attribute: Unavailable.
- Escalate privileges attribute: N/A
pre— Hook action code runs before the script disables a vendor.post— Hook actions code runs after the script disables a vendor.
The pre and post stages do not produce output.
This event triggers when the script disables a ModSecurity vendor's configuration.
- Action code runs as:
root - Blocking attribute: Unavailable.
- Escalate privileges attribute: N/A
pre- Hook action code runs before the script disables the vendor's configuration.post— Hook actions code runs after the script disables the vendor's configuration.
The pre and post stages do not produce output.
This event triggers when the script disables automatic updates for a ModSecurity vendor.
- Action code runs as:
root - Blocking attribute: Unavailable.
- Escalate privileges attribute: N/A
pre— Hook action code runs before the script disables automatic updates for a ModSecurity vendor.post— Hook actions code runs after the script disables automatic updates for a ModSecurity vendor.
The pre and post stages do not produce output.
This event triggers when the script enables a ModSecurity vendor.
- Action code runs as:
root - Blocking attribute: Unavailable.
- Escalate privileges attribute: N/A
pre— Hook action code runs before the script enables a vendor.post— Hook actions code runs after the script enables a vendor.
The pre and post stages do not produce output.
This event triggers when the script enables a ModSecurity vendor's configuration.
- Action code runs as:
root - Blocking attribute: Unavailable.
- Escalate privileges attribute: N/A
pre— Hook action code runs before the script enables a vendor's configuration.post— Hook actions code runs after the script enables a vendor's configuration.
The pre and post stages do not produce output.
This event triggers when the script enables automatic updates for a ModSecurity vendor.
- Action code runs as:
root - Blocking attribute: Unavailable.
- Escalate privileges attribute: N/A
pre— Hook action code runs before the script enables updates for a ModSecurity vendor.post— Hook actions code runs after the script enables updates for a ModSecurity vendor.
The pre and post stages do not produce output.
This event triggers when the script removes a ModSecurity vendor.
- Action code runs as:
root - Blocking attribute: Unavailable.
- Escalate privileges attribute: N/A
pre— Hook action code runs before the script removes a ModSecurity vendor.post— Hook actions code runs after the script removes a ModSecurity vendor.
The pre and post stages do not produce output.
This event triggers when the script updates a ModSecurity vendor.
- Action code runs as:
root - Blocking attribute: Unavailable.
- Escalate privileges attribute: N/A
pre— Hook action code runs before the script updates a ModSecurity vendor.post— Hook actions code runs after the script updates a ModSecurity vendor.
The pre and post stages do not produce output.