Skip to content

Instantly share code, notes, and snippets.

View nycnewman's full-sized avatar

Edward Newman nycnewman

View GitHub Profile
@nycnewman
nycnewman / aws_security_group_details.sh
Created November 20, 2018 23:52 — forked from richadams/aws_security_group_details.sh
A quick and dirty script to list out all security group settings on an AWS account. Barely tested, use at own risk, etc. Requires awscli to be installed.
#!/bin/bash
# Requires: awscli (http://aws.amazon.com/cli/)
# Prints out a list of all security groups and their settings, just for quickly auditing it.
# Your AWS credentials
if [ -z ${AWS_ACCESS_KEY_ID} ]; then
export AWS_ACCESS_KEY_ID='***'
export AWS_SECRET_ACCESS_KEY='***'
fi