Description
This program archives the latest scan issues for all active servers and deactivated servers that were last seen 24 hours ago.
Prerequisities:
-
cloudpassage sdk (install via pip install cloudpassage)
-
Copy the API Key_id and Secret Key from your Halo account into
portal.yml
located inconfigs/portal.yml
key_id: 12345 secret_key: abcabcabcabcabc
-
change
last_24_hours: False
inportal.yml
located inconfigs/portal.yml
if trying to archive scan issues for all active servers ONLY -
Python 2.7.10
-
cloudpassage python package
-
dateutil.parser (install via pip install python-dateutil)
-
logbook (install via pip install logbook)
Program Usage:
Run the following command to see program usage:
python latest_scan_issues.py
Program Output
The archive scan issue data will be stored in the data
directory.