Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to To inspect ( ChatGPT?) \Copilot interactions in real - time, you need have to redirect this their traffic from client’s client PC’s to AGAT AI Firewall proxy server.

This can be achieved with a PAC file configured in each PC proxy settings, or integrated in the organization PAC file.

Here is the AGAT AI Firewall PAC file configuration and URL’s:

Code Block
function FindProxyForURL(url, host) {
	
	var ignorelist = new Array();
	
	var proxylist = new Array(
		"*chatgpt.com",
		"*.openai.com",
		"*chatgpt*.webpubsub.azure.com",
		"*.oaiusercontent.com",
		"sydney.bing.com",
		"browser.events.data.microsoft.com",
		"substrate.office.com",
		"*.bingapis.com",
		"copilot.microsoft.com",
		"augloop.office.com",
		"gemini.google.com"

//		"*.clients6.google.com",
//		"*.googleusercontent.com",
//		"*.googletagmanager.com",
//		"*.googleapis.com"

			);
			
	// Check if need to ignore
	for (var i = 0; i < ignorelist.length; i++) {
		var value = ignorelist[i];
		if (dnsDomainIs(host, value)) {
			return "DIRECT";
		}
	}
	
	// Return our proxy name for matched domains/hosts
	for (var i = 0; i < proxylist.length; i++) {
		var value = proxylist[i];
		if (shExpMatch(host, value)) {
			return "PROXY <agat proxy server>:<port>52.54.169.109:80";
		}
	}

	return "DIRECT";
}

You need to configure line 29 with the ip/dns of AGAT proxy server, and the port the proxy service is listening onURL to AGAT PAC file: https://agatpacs.s3.amazonaws.com/AGAT_AI.pac