When using WSS Agent in selective intercept mode alongside a manual Proxy Auto-Configuration (PAC) file, users may be unable to access private applications configured via ZTNA. This occurs even if the WSS Agent is active and the domain is correctly defined in the ZTNA portal.
Product: Cloud Secure Web Gateway (Cloud SWG)
Component: WSS Agent (WSSA) / ESA Agent with Web Security
Feature: Zero Trust Network Access (ZTNA)
Configuration: PAC file or manual proxy is in use
To allow the WSS Agent / ESA Agent to intercept ZTNA segment custom domain application traffic, the PAC file must return DIRECT for the specific ZTNA application domains.
if (shExpMatch(host, '*.example.net')) {
return "DIRECT";
}