Skip to content

inome/aws-security-viz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-security-viz -- A tool to visualize aws security groups

Build Status Code Climate Dependency Status

DESCRIPTION

Need a quick way to visualize your current aws/amazon ec2 security group configuration? aws-security-viz does just that based on the EC2 security group ingress configuration.

FEATURES

  • Output to any of the formats that Graphviz supports.
  • EC2 classic and VPC security groups

INSTALLATION

  $ bundle install

(more info)

USAGE

To generate the graph directly using AWS keys

  $ bundle exec ruby lib/visualize_aws.rb -a your_aws_key -s your_aws_secret_key -f viz.svg

To generate the graph using an existing security_groups.json (created using aws-cli)

  $ bundle exec ruby lib/visualize_aws.rb -o data/security_groups.json -f viz.svg

DEBUGGING

To generate the graph with debug statements, execute the following command

$ DEBUG=true bundle exec ruby lib/visualize_aws.rb -a your_aws_key -s your_aws_secret_key -f viz.svg

If it doesn't indicate the problem, please share the generated json file with me @ [email protected]

Execute the following command to generate the json. You will need aws-cli to execute the command aws ec2 describe-security-groups

EXAMPLE

About

Visualize your aws security groups.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%