aws-inventory 0.3.1 → 0.3.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 +3 -0
- data/lib/inventory/security_group/unused.rb +6 -3
- data/lib/inventory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56114355825607b44e16c18622cc14ebd3299125
|
4
|
+
data.tar.gz: ca791b7049a3730a48a78c564f81e6c504a98478
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e6937bb56c6932800a12e0743b8e754ebfdbcf56244555a609c8927c18afb8ff42cfdca1ff68147ba7c1aa7035a2e55a47671ab3302839e56c6d52babfe2f24
|
7
|
+
data.tar.gz: 876c43d029a48afef75847e3306a987a0fd7c01f6c8bdc1384b1b39f761cb771cc24380c78aa6f0e2da337d1540f10b0c1c10fbff1b3c1d4aa2a7a635379615f
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
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.3.2]
|
7
|
+
* fix unused security group report
|
8
|
+
|
6
9
|
## [0.3.1]
|
7
10
|
* add json presenter
|
8
11
|
* add unused security group report
|
@@ -3,12 +3,15 @@ class Inventory::SecurityGroup
|
|
3
3
|
include Shared
|
4
4
|
|
5
5
|
def header
|
6
|
-
["Security Group Name"]
|
6
|
+
["Security Group Name", "VPC Id"]
|
7
7
|
end
|
8
8
|
|
9
9
|
def data
|
10
|
-
|
11
|
-
|
10
|
+
unused_security_groups.map do |sg|
|
11
|
+
[
|
12
|
+
sg.group_name,
|
13
|
+
sg.vpc_id
|
14
|
+
]
|
12
15
|
end
|
13
16
|
end
|
14
17
|
end
|
data/lib/inventory/version.rb
CHANGED