Python Latest Scan Issues
Python
Pull request Compare This branch is 7 commits ahead, 3 commits behind mong2:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
configs
data
lib
tests
Dockerfile
README.md
latest_scan_issues.py
requirements-testing.txt

README.md

python_latest_scan_issues

Description

This program archives the latest scan issues for all active servers and deactivated servers that were last seen 24 hours ago.

Prerequisities:

  1. cloudpassage sdk (install via pip install cloudpassage)

  2. Copy the API Key_id and Secret Key from your Halo account into portal.yml located in configs/portal.yml

    key_id: 12345
    secret_key: abcabcabcabcabc
    
  3. change last_24_hours: False in portal.yml located in configs/portal.yml if trying to archive scan issues for all active servers ONLY

  4. Python 2.7.10

  5. cloudpassage python package

  6. dateutil.parser (install via pip install python-dateutil)

  7. 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.