Use exception instead of the default CAS message when the virus is detected by the CAS
Content Analysis
Content Analysis VA
> Create the VPM rule within the web access layer according to the following specifications
Source: Any
Destination: Any
Service: Virus Detected
Action:Return Exception
Alternatively, you can utilize the provided CPL:
<Proxy>
virus_detected=yes exception(user-defined.yourcustomcreated_exception)
With these settings, the proxy will replace the default virus detection message from Content Analysis with a user-defined exception page if a virus is detected during the file download.
How to create exceptions for the ICAP errors: https://knowledge.broadcom.com/external/article/170540/create-a-custom-exception-page-for-icap.html
How to create custom exception in Proxy SG : https://knowledge.broadcom.com/external/article/166045/how-to-create-a-custom-exception-page-us.html