miam 0.2.4.beta3 → 0.2.4.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/miam/exporter.rb +10 -3
- data/lib/miam/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bffde3d3eb017df693ff9b01e5a1e068c291f591
|
4
|
+
data.tar.gz: d8b2b31b09fff592caf96f49cc3fdc85119eef03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e4cddac25cd0c9877afee666cc25d590c547d13a48bdbbb4a90dd5d2641a5826104b0d006db7b3091b19d2e96fc9fbd1de4a125b21c809c10dbe7103f42a71
|
7
|
+
data.tar.gz: 4c21822a4c9faca209454eb281262eefa348b8057dff9162c7707adea8e619461b20f221bcfbbf20c6af58d1e1285b0f84531f18c0d0cabada8b11eece8ff721
|
data/lib/miam/exporter.rb
CHANGED
@@ -255,12 +255,19 @@ class Miam::Exporter
|
|
255
255
|
:policies,
|
256
256
|
]
|
257
257
|
|
258
|
-
|
258
|
+
key_by_filter = {
|
259
|
+
'User' => :user_detail_list,
|
260
|
+
'Role' => :role_detail_list,
|
261
|
+
'Group' => :group_detail_list,
|
262
|
+
'LocalManagedPolicy' => :policies
|
263
|
+
}
|
264
|
+
|
265
|
+
key_by_filter.values.each do |key|
|
259
266
|
account_authorization_details[key] = []
|
260
267
|
end
|
261
268
|
|
262
|
-
|
263
|
-
|
269
|
+
Parallel.each(key_by_filter, :in_threads => @concurrency) do |filter, key|
|
270
|
+
@iam.get_account_authorization_details(:filter => [filter]).each do |resp|
|
264
271
|
account_authorization_details[key].concat(resp[key])
|
265
272
|
|
266
273
|
unless @options[:no_progress]
|
data/lib/miam/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.4.
|
4
|
+
version: 0.2.4.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|