How to use custom exception when Content Analysis detect virus ?
search cancel

How to use custom exception when Content Analysis detect virus ?

book

Article ID: 281404

calendar_today

Updated On:

Products

ISG Content Analysis

Issue/Introduction

Use exception instead of the default CAS message when the virus is detected by the CAS

Environment

Content Analysis

Content Analysis VA

Resolution

> 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.

Additional Information

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