Created
August 2, 2022 13:37
-
-
Save cob16/841dfd66a3c056a4637ef174e64109f9 to your computer and use it in GitHub Desktop.
Graph security groups for aws account
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone [email protected]:anaynayak/aws-security-viz.git | |
cd aws-security-viz | |
docker build -t sec-viz . | |
AWS_PAGER="" aws-vault exec $AWS_ACCOUNT -- aws ec2 describe-security-groups > sg.json | |
docker run -i --rm -t -p 3000:3000 -v "$(pwd):/aws-security-viz" --name sec-viz sec-viz /usr/local/bundle/bin/aws_security_viz --renderer navigator --serve 3000 -o sg.json -f aws.json . | |
xdg-open "http://localhost:3000/navigator.html#aws.json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment