aws-inventory 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +3 -3
- data/README.md +2 -2
- data/{aws_inventory.gemspec → aws-inventory.gemspec} +0 -0
- data/exe/aws-inventory +1 -1
- data/lib/{aws_inventory.rb → aws-inventory.rb} +0 -0
- data/lib/aws_inventory/security_group/unused.rb +2 -2
- data/lib/aws_inventory/version.rb +1 -1
- data/spec/lib/cli_spec.rb +0 -5
- data/spec/spec_helper.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddf2d81ae755cef42708352f2ff90d1aa939313c
|
4
|
+
data.tar.gz: a55cb8f7ae1aeaddd46b94569a9b0c3a8e054ffc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72aaff05c6cf39d6abc233757338c0311e234d696a2e413c152c930d78201ba3acdd298c8bda86b54c482e1f29375f102c4921f5c50c64bd75481b35baec116b
|
7
|
+
data.tar.gz: 1b317e030f213585ef8ca8093fe843a2f1754fc9b99eacf122c70248061cd64088552000fa44266b9812acfddc0cff18049ee6d27666128b6fd3360b5eb36406
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [0.4.2]
|
7
|
+
* sg unused report prints out group_id instead of vpc_id
|
8
|
+
|
9
|
+
## [0.4.1]
|
10
|
+
* rename: require "aws-inventory"
|
11
|
+
|
6
12
|
## [0.4.0]
|
7
13
|
* rename Inventory module to AwsInventory
|
8
14
|
* add --no-header support
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
aws-inventory (0.
|
4
|
+
aws-inventory (0.4.0)
|
5
5
|
actionview
|
6
6
|
activesupport
|
7
7
|
aws-sdk
|
@@ -324,7 +324,7 @@ GEM
|
|
324
324
|
aws-sdk-pricing (1.0.0)
|
325
325
|
aws-sdk-core (~> 3)
|
326
326
|
aws-sigv4 (~> 1.0)
|
327
|
-
aws-sdk-rds (1.
|
327
|
+
aws-sdk-rds (1.9.0)
|
328
328
|
aws-sdk-core (~> 3)
|
329
329
|
aws-sigv4 (~> 1.0)
|
330
330
|
aws-sdk-redshift (1.1.0)
|
@@ -600,7 +600,7 @@ GEM
|
|
600
600
|
lumberjack (1.0.12)
|
601
601
|
method_source (0.9.0)
|
602
602
|
mini_portile2 (2.3.0)
|
603
|
-
minitest (5.11.
|
603
|
+
minitest (5.11.1)
|
604
604
|
nenv (0.3.0)
|
605
605
|
nokogiri (1.8.1)
|
606
606
|
mini_portile2 (~> 2.3.0)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# AWS
|
1
|
+
# AWS Inventory
|
2
2
|
|
3
|
-
AWS
|
3
|
+
AWS Inventory tool. Useful to get summarized information on AWS account. The tool by default produces a report that can easily be read from a terminal, but it can also be used produce a tab separated output report that can be pasted into a spreadsheet and then copied to a report. This is controlled via a `AWS_INVENTORY_FORMAT` env variable and covered in the Format Options section.
|
4
4
|
|
5
5
|
## Usage
|
6
6
|
```sh
|
File without changes
|
data/exe/aws-inventory
CHANGED
File without changes
|
@@ -3,14 +3,14 @@ class AwsInventory::SecurityGroup
|
|
3
3
|
include Shared
|
4
4
|
|
5
5
|
def header
|
6
|
-
["Security Group Name", "
|
6
|
+
["Security Group Name", "Security Group Id"]
|
7
7
|
end
|
8
8
|
|
9
9
|
def data
|
10
10
|
unused_security_groups.map do |sg|
|
11
11
|
[
|
12
12
|
sg.group_name,
|
13
|
-
sg.
|
13
|
+
sg.group_id
|
14
14
|
]
|
15
15
|
end
|
16
16
|
end
|
data/spec/lib/cli_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-inventory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
@@ -237,9 +237,9 @@ files:
|
|
237
237
|
- LICENSE.txt
|
238
238
|
- README.md
|
239
239
|
- Rakefile
|
240
|
-
-
|
240
|
+
- aws-inventory.gemspec
|
241
241
|
- exe/aws-inventory
|
242
|
-
- lib/
|
242
|
+
- lib/aws-inventory.rb
|
243
243
|
- lib/aws_inventory/acm.rb
|
244
244
|
- lib/aws_inventory/aws_services.rb
|
245
245
|
- lib/aws_inventory/base.rb
|