CLI tool for activating and downloading policy trace faster.
pip install -r requirements.txt
- Execute python script.
python3 bluecoat_quick_policy_trace.py --pincode 1234 -proxy 172.16.22.21 -client 192.168.10.61 -username admin -password 'testPW' -enablePassword 'testePW'
- Credentials are going be stored encrypted with pincode under 'db.csv'. Script can be executable without credential parameters.
python3 bluecoat_quick_policy_trace.py -pin 1234 -p 172.16.22.21 -c 192.168.10.61
-
During the first initialization, program will delete old trace files on ProxySG, and deploy policy trace command.
-
During the second initialization, program will delete policy trace command from the ProxySG, and download the generated trace file.
- Sometimes, policy installation stops after the "inline policy local end-of-file" command. No negative impact has observed. After stopping program with "ctrl+c", program should be reinitialized.
- HTML viewer for trace files.
Example source code:
https://github.com/sethblack/python-seo-analyzer/blob/master/seoanalyzer/__main__.py
``