aws_security_viz 0.1.7.pre.alpha.pre.136 → 0.1.7.pre.alpha.pre.138

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. metadata +20 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7347b72112aedf468be10b334cc0d16686b57d99f65a2c1222cdaee5ad00fb63
4
- data.tar.gz: bd06316469e86bbdaf74886793f4980d88cde664867425bf3218b2077ead57e6
3
+ metadata.gz: b426ea488342e46f3b22d6f80e908a05127af94cb335ab5b48fa7964cb4600f4
4
+ data.tar.gz: b6f0e2f820474db1db18a649ac9e527c95b1ed68b9bfb9e9eaf81f9475d4296b
5
5
  SHA512:
6
- metadata.gz: f8ba33fe0f557f8ea4d6e812bc567528e3884aa7cee8603522e180e2efd905939e24a3d505ffc3381bb3f6a476df0d5409a8ebad93ad1e3fba3a0d353ecb298e
7
- data.tar.gz: d38a349ba112c63f14d8601654af9ff2aeb197ec76955118c14dcadaf78e559c0a0d536642ffc5d6f8521aebdaa7bac3fff390bfb68ccdc9552a9e584b4c83c1
6
+ metadata.gz: b6d862cee4761842dc04c01a31ecb73ec54338479138e2a17cae664799eea09ccf14c9dfa18009cb466de8de15441938a9e4590ff0bab2f276c269987c12a207
7
+ data.tar.gz: 4e114eb680723dce6bf094666ce63a819ff698c63fcd825b9e4d13a36978bd7e4e3c241b292a3fc89f0515c14ad71f5246842f6fb6e3a190688d3a109c90ac3a
data/README.md CHANGED
@@ -4,6 +4,7 @@ aws-security-viz -- A tool to visualize aws security groups
4
4
  [![Gem Version](https://badge.fury.io/rb/aws_security_viz.svg)](https://badge.fury.io/rb/aws_security_viz)
5
5
  [![License](https://img.shields.io/github/license/anaynayak/aws-security-viz.svg?maxAge=2592000)]()
6
6
  [![Code Climate](https://codeclimate.com/github/anaynayak/aws-security-viz.png)](https://codeclimate.com/github/anaynayak/aws-security-viz)
7
+ [![Docker image](https://images.microbadger.com/badges/image/anay/aws-security-viz.svg)](https://microbadger.com/images/anay/aws-security-viz)
7
8
  [![Dependency Status](https://img.shields.io/librariesio/github/anaynayak/aws-security-viz.png?maxAge=259200)](https://libraries.io/github/anaynayak/aws-security-viz)
8
9
 
9
10
  ## DESCRIPTION
@@ -23,7 +24,6 @@ aws-security-viz -- A tool to visualize aws security groups
23
24
  ## DEPENDENCIES
24
25
 
25
26
  * graphviz with triangulation `brew install graphviz --with-gts`
26
- * libxml2 `brew install libxml2`*
27
27
 
28
28
  ## USAGE
29
29
 
@@ -47,7 +47,7 @@ To generate a web view
47
47
 
48
48
  * Generates two files: aws.json and view.html.
49
49
  * The json file name needs to be passed in as a html fragment identifier.
50
- * The generated graph can be viewed in a webserver e.g. http://localhost:3000/view.html#aws.json by using `python -m SimpleHTTPServer 3000` (python2) or `python -m http.server 3000` (python3)
50
+ * The generated graph can be viewed in a webserver e.g. http://localhost:3000/view.html#aws.json by using `ruby -run -e httpd -- -p 3000`
51
51
 
52
52
  ## DOCKER USAGE
53
53
 
@@ -55,7 +55,7 @@ If you don't want to install the dependencies and ruby libs you can execute aws-
55
55
 
56
56
  1. Clone this repository, open it in a console.
57
57
  2. Build the docker container: `docker build -t sec-viz .`
58
- 3. Run the container: `docker run -i --rm -t -p 3000:3000 -v $(pwd)/tmp:/aws-security-viz --name sec-viz sec-viz` (Description: `-i` interactive shell, `--rm` remove the container after usage, `-t` attach this terminal to it, `-p 3000:3000` we expose port 3000 for the HTTP server, `-v $(pwd)/tmp:aws-security-viz` mount tmp directory for generated artifacts, `-name sec-viz` the container will have the same name as the image we will start)
58
+ 3. Run the container: `docker run -i --rm -t -p 3000:3000 -v $(pwd)/aws-viz:/aws-security-viz --name sec-viz sec-viz` (Description: `-i` interactive shell, `--rm` remove the container after usage, `-t` attach this terminal to it, `-p 3000:3000` we expose port 3000 for the HTTP server, `-v $(pwd)/aws-viz:aws-security-viz` mount tmp directory for generated artifacts, `-name sec-viz` the container will have the same name as the image we will start)
59
59
  4. Now you can use the tool as described in [usage](#USAGE). Make sure that you use the commands with `bundler exec ` as prefix. For example: `aws_security_viz -a your_aws_key -s your_aws_secret_key -f aws.json`.
60
60
  5. To start the web view, execute `ruby -run -e httpd -- -p 3000` in the container. You can open it with your local browser at `http://0.0.0.0:3000/`. There you can view the generated images and the graph. Use `Ctrl+C` to close the HTTP server.
61
61
  6. Terminate the docker container by typing `exit` in the console.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_security_viz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7.pre.alpha.pre.136
4
+ version: 0.1.7.pre.alpha.pre.138
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anay Nayak
@@ -28,62 +28,62 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '12.0'
34
31
  - - ">="
35
32
  - !ruby/object:Gem::Version
36
33
  version: 12.0.0
34
+ - - "~>"
35
+ - !ruby/object:Gem::Version
36
+ version: '12.0'
37
37
  type: :development
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - "~>"
42
- - !ruby/object:Gem::Version
43
- version: '12.0'
44
41
  - - ">="
45
42
  - !ruby/object:Gem::Version
46
43
  version: 12.0.0
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '12.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '3.5'
54
51
  - - ">="
55
52
  - !ruby/object:Gem::Version
56
53
  version: 3.5.0
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '3.5'
57
57
  type: :development
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - "~>"
62
- - !ruby/object:Gem::Version
63
- version: '3.5'
64
61
  - - ">="
65
62
  - !ruby/object:Gem::Version
66
63
  version: 3.5.0
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '3.5'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: graphviz
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: '1.1'
74
71
  - - ">="
75
72
  - !ruby/object:Gem::Version
76
73
  version: 1.1.0
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.1'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '1.1'
84
81
  - - ">="
85
82
  - !ruby/object:Gem::Version
86
83
  version: 1.1.0
84
+ - - "~>"
85
+ - !ruby/object:Gem::Version
86
+ version: '1.1'
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: optimist
89
89
  requirement: !ruby/object:Gem::Requirement
@@ -214,8 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  - !ruby/object:Gem::Version
215
215
  version: 1.3.1
216
216
  requirements: []
217
- rubyforge_project:
218
- rubygems_version: 2.7.7
217
+ rubygems_version: 3.0.2
219
218
  signing_key:
220
219
  specification_version: 4
221
220
  summary: Visualize your aws security groups