Skip to content

Instantly share code, notes, and snippets.

@astrikos
astrikos / stale_security_groups.py
Created November 9, 2017 15:52
Script to detect stale AWS security groups
#!/usr/bin/env python
import boto3
import argparse
class StaleSGDetector(object):
"""
Class to hold the logic for detecting AWS security groups that are stale.
"""
def __init__(self, **kwargs):

Keybase proof

I hereby claim:

  • I am astrikos on github.
  • I am astrikos (https://keybase.io/astrikos) on keybase.
  • I have a public key ASAIelMw7OgpmYSkR4CK0MMrLqKYhGMCtAszsep1YgW4vAo

To claim this, I am signing this object: