Some times it is needed to test many URL's categories at the same time, and try to get the relevant categories for these URL's, trying to find an easier way for many sites review instead of doing this one by one on proxy GUI/CLI or through sitereview portal
Release : 6.7.5.14
Component :
Ensure that a single proxy on the network is getting the latest BCIS updates, and then the below sample script can be used on the management center, and executed on this proxy:
content-filter
test yahoo.com
test cnn.com
test example.com
The output from this script when executed on the proxy will be on this format:
!- connected to device
ProxySG#(config)content-filter
ProxySG#(config content-filter)test yahoo.com
Testing URL 'http://yahoo.com/'
categories:
Policy: none
IWF: none
YouTube: none
Blue Coat: Search Engines/Portals
category groups:
Blue Coat: Business Related; Information Related
ProxySG#(config content-filter)test cnn.com
Testing URL 'http://cnn.com/'
categories:
Policy: none
IWF: none
YouTube: none
Blue Coat: News
category groups:
Blue Coat: Business Related; Information Related
ProxySG#(config content-filter)test example.com
Testing URL 'http://example.com/'
categories:
Policy: none
IWF: none
YouTube: none
Blue Coat: Technology/Internet
category groups:
Blue Coat: Business Related; Technology
ProxySG#(config content-filter)
The script can be modified, and all the required URL's to be tested can be added.
For more information about creating management center scripts, and executing these scripts on Proxy, you can refer to this document.