Skip to content

Instantly share code, notes, and snippets.

View Cloudbeast's full-sized avatar
💭
I may be slow to respond.

Just Me Cloudbeast

💭
I may be slow to respond.
  • USA
View GitHub Profile
@DavidWittman
DavidWittman / audit_iam_accounts.py
Created April 14, 2016 22:34
Parses the output from AWS credential reports and displays users which have been inactive for 60+ days.
#!/usr/bin/env python
# Parses the output from AWS credential reports and displays
# users which have been inactive for 60+ days.
#
# Usage:
# audit_iam_accounts.py credential_report.csv <days>
#
import csv