CLI tool for policy lookups in Symantec Advanced Security Gateway. It allows you to easily locate the rule in the policy that matches the input parameters (Source/Destination IP, domain, proxy port, authentication method, etc).
- Dispalys the policy rules that match with a source IP.
WIP
Displays the policy rules that match with a destination URL.- Displays the policy rules that match with a source IP and destination URL.
- List and select authentication method.
- Select explicit proxy port.
- List and download the desired policy version.
pip install -r requirements.txt
- Edit
vars.py
and modify variables. - Execute python script
python3 bluecoat_tracer.py
- Interact with menu
[GLOBAL VARIABLES]
Auth method:
Proxy Port: 8080
Exclude layers: ['Layer_Test']
[OPTIONS]
[1]: Search source IP match
[2]: [WIP] Search destination (IP/FQDN/URL)
[3]: Search source/destination
[4]: Get / Select authentication
[5]: Select proxy port
[6]: Download policy xml
[0]: Exit
Select Option:
vars.py
ONLINE = False
- python3 & requirements file installed.
- xml proxy policy.
vars.py
ONLINE = True
- python3 & requirements file installed.
- xml proxy policy (can be downloaded with the script).
- Network access to Symantec Management Center and user with API permissions.
- Network access to Symantec Proxy Management Console and user with read permissions.
Contributions are always welcome!
WIP
CICD test and python quality code.
The code in this repository is under GNU General Public License v3.0