To put it briefly, we can say that ModSecurity: It is an open source firewall system used for web sites and server security. Web Application Firewall, that is, WAF Mod Security works embedded in the web server, and undertakes the task of detecting and preventing attacks for the web applications you use or write.

Modesecurity, which is also included in the WHM panel, has various paid and free vendors. Home >> Security Center >> ModSecurity™ Vendors you can reach the vendor list by following this step.

Another advantage of Mod Security is real-time data analysis. From the moment users connect to your applications or your web server, you can perform the controls you want on the incoming and outgoing data, and you can write rules that allow you to make instant interventions for attack detection and prevention.

WHM-Panelde-Comodo-ModSecurity-Kuralı
So how do we do it? First, you can install a vendor according to the web server you are using from the vendors section.
Comodo ModSecurity Apache Rules – https://waf.comodo.com/doc/meta_comodo_apache.yaml
Comodo ModSecurity LiteSpeed Rules – https://waf.comodo.com/doc/meta_comodo_litespeed.yaml

Then, when you return to the ModSecurity Vendor page, you can see that ModSecurity Comodo’s firewall has been added for Litspeed or Apache.