Skip to content

Instantly share code, notes, and snippets.

@taeyu7720
taeyu7720 / audit_iam_accounts.py
Created June 1, 2018 13:23 — forked from DavidWittman/audit_iam_accounts.py
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
@taeyu7720
taeyu7720 / GetAllInstances.py
Created October 3, 2017 19:42 — forked from amalgjose/GetAllInstances.py
Python Program for getting all the details of running instances and tagging the instances
__author__ = 'Amal G Jose'
import sys
import boto
class GetAllInstances(object):
def __init__(self):
self.aws_access_key = 'XXXXXXXXXXXXXXX'
self.aws_secret_key = 'XXXXXXXXXXXXXXX'
if self.aws_access_key == '' or self.aws_secret_key == '':
@taeyu7720
taeyu7720 / README.md
Created April 4, 2017 20:02 — forked from hofmannsven/README.md
My simply Git Cheatsheet