CXS issue with Comodo Waf

Hello,

I deployed cxs on my server and their support reported comodo rules are making issue for file upload scanning. Can you please help me out

ModSecurity not enabled for cxs as the Comodo WAF implementation breaks the cPanel ModSecurity configuration. You will have to include the required cxs rule in /etc/cxs/install.txt according to their procedures

way they say to include:

Web script upload scanning is performed via mod_security. To enable this add
the following two lines (be careful of line breaks) to your mod_security
rules file (/usr/local/apache/conf/modsec2.user.conf on cPanel):

    SecRequestBodyAccess On
    SecRule FILES_TMPNAMES "@inspectFile /etc/cxs/cxscgi.sh" \
            "log,auditlog,deny,severity:2,phase:2,t:none,id:'1010101'"
    SecTmpDir /tmp

Hello,

These lines can be added to custom user rules (in Plugin tab “Userdata”, “Custom Rules” field, or manually to file /var/cpanel/cwaf/etc/httpd/custom_user.conf )