To configure (enable or disable) AV scanning based on the source IP address of a request you must use CPL as shown in the following example:
- Access the ProxySG Management Console.
- Go to Configuration > Policy > Policy Files.
- Select Text Editor from the Install Local File From: drop box and click on Install.
- Add the following CPL in the window that displays.
where x.x.x.x is the source IP address and icap_service is the name of the ICAP service configured on the ProxyAV appliance.
Note: The above CPL enables scanning for the specified source IP addresses. Replace "yes" with "no" to disable AV scanning for the specified IP addresses.