CXS issue with Comodo Waf


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/" \
    SecTmpDir /tmp


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 )