aws_recon 0.2.30 → 0.2.31

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 818784fdc3d39b16bc30cafd043aec9396f3a8bb0e1fb62b696deb40a861d953
4
- data.tar.gz: ebd7c961414a16e7cfeb60e8f3f871051bfd0705cc7a5408cc8fdd054d5f7925
3
+ metadata.gz: 1057bb503b9bb209296e646212a72f4f18d974143455396f97635c0f584cb548
4
+ data.tar.gz: c77f77f73d77451771f8a8589b68a3787b3084fb54cfe97a6e2833c9c32d96bf
5
5
  SHA512:
6
- metadata.gz: 52fc427274d6ac70c8565eb139681a3c0e0b243db9ee1acaced741fcc688496ce383629755d6e3aa49ec1bfdf47891adce77b88a2a095f000245461ea2508f0d
7
- data.tar.gz: e6f4fe0b53ea000b766c94f8eaafa7dddf33086916419ae14fd65db7218ecb853d85d94e546c1be086ec48d4837b5fa64708326f7c2e8517a04602ff7b4dd9e7
6
+ metadata.gz: 99f9d4bb4af09f223fb624065a99cd2a5f3b7f7cd2e44ff02c7b42b02b13e380462a067e0e20d5b76bccad41fc7a4dc50f2e06b09a5ad45db65aca2beb3c196a
7
+ data.tar.gz: a2029d5ef893133b631c0939cb6fd78556fde610c58261a085a54d338210609f0b2d12d1757738846a85a9b7f934437e185a17e922b60eace4eaaec6e8781bef
@@ -43,7 +43,7 @@ class ConfigService < Mapper
43
43
  response.configuration_recorders.each do |recorder|
44
44
  struct = OpenStruct.new(recorder.to_h)
45
45
  struct.type = 'configuration_recorder'
46
- struct.arn = "arn:aws:config:#{@region}:configuration_recorder/#{recorder.name}"
46
+ struct.arn = "arn:aws:config:#{@region}:#{@account}:configuration_recorder/#{recorder.name}"
47
47
 
48
48
  # describe_configuration_recorder_status (only accepts one recorder)
49
49
  @client.describe_configuration_recorder_status({ configuration_recorder_names: [recorder.name] }).each do |response|
@@ -55,8 +55,8 @@ class EC2 < Mapper
55
55
  log(response.context.operation_name, page)
56
56
 
57
57
  # reservations
58
- response.reservations.each_with_index do |reservation, page|
59
- log(response.context.operation_name, 'reservations', page)
58
+ response.reservations.each_with_index do |reservation, rpage|
59
+ log(response.context.operation_name, 'reservations', rpage)
60
60
 
61
61
  # instances
62
62
  reservation.instances.each do |instance|
@@ -85,7 +85,7 @@ class IAM < Mapper
85
85
  create_date: p.create_date
86
86
  }
87
87
  end
88
- end
88
+ end
89
89
 
90
90
  resources.push(struct.to_h)
91
91
  end
@@ -1,3 +1,3 @@
1
1
  module AwsRecon
2
- VERSION = "0.2.30"
2
+ VERSION = "0.2.31"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_recon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.30
4
+ version: 0.2.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Larsen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-01-25 00:00:00.000000000 Z
12
+ date: 2021-01-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk