aws_recon 0.5.17 → 0.5.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89cbf0e8f8c709236ba6149f60a1240423d23de6fc120abe5359ff11e5d443e9
4
- data.tar.gz: d4e93494d56b5aa721a1da29a1f50bce4740b4edbc72380b3da7c43d8ded39ee
3
+ metadata.gz: c15eafbd64e2a41405c27df26f663d967fb600fe92928414a45f7278ce4a2f55
4
+ data.tar.gz: 71455e2d1dfc37993303ec58704ddffd87a05cd3713562c8b3bd42177bdfb7ba
5
5
  SHA512:
6
- metadata.gz: 5aac7ceef71d6c839042bf19f1b717dffc74ace6c8eb71dcbe646d25bc563f032f4e575d697f09b17fbe5a288bb36789c565686afdadbaf333c331e3d5ec49b0
7
- data.tar.gz: 311d6fdfa70cb4fc208329eb03ac3777faa2b285a30a9b64a3a217599f388afadc262a910099a9b97d10343774c51c9e78dfabcb6860123a0d34dd9ed376a1fd
6
+ metadata.gz: fe48606bd7de9da79ddadf19c6414492282395e5776eec11f5be3dbe6fc01167436af2447c92db88dd3cf2956f05f020e8ef558a3392544b0eb5c1ae626c3ba2
7
+ data.tar.gz: d82ad1c04091c3137f33a82d9485ecfd6e78a35ba7068e3e8cc59ffe9307dc910fa21fbb567b6da11b2f6cde4374d111cf911cc73923359585aa29bddfb863b6
@@ -318,6 +318,36 @@ class EC2 < Mapper
318
318
  resources.push(struct.to_h)
319
319
  end
320
320
  end
321
+
322
+ #
323
+ # describe_vpc_endpoints
324
+ #
325
+ @client.describe_vpc_endpoints.each_with_index do |response, page|
326
+ log(response.context.operation_name, page)
327
+
328
+ response.vpc_endpoints.each do |point|
329
+ struct = OpenStruct.new(point.to_h)
330
+ struct.type = 'vpc_endpoint'
331
+ struct.arn = "arn:aws:ec2:#{@region}:#{@account}:vpc_endpoint/#{point.vpc_endpoint_id}" # no true ARN
332
+
333
+ resources.push(struct.to_h)
334
+ end
335
+ end
336
+
337
+ #
338
+ # describe_managed_prefix_lists
339
+ #
340
+ @client.describe_managed_prefix_lists.each_with_index do |response, page|
341
+ log(response.context.operation_name, page)
342
+
343
+ response.prefix_lists.each do |list|
344
+ struct = OpenStruct.new(list.to_h)
345
+ struct.type = 'prefix_list'
346
+ struct.arn = list.prefix_list_arn
347
+
348
+ resources.push(struct.to_h)
349
+ end
350
+ end
321
351
  end
322
352
 
323
353
  resources
@@ -1,3 +1,3 @@
1
1
  module AwsRecon
2
- VERSION = "0.5.17"
2
+ VERSION = "0.5.18"
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.5.17
4
+ version: 0.5.18
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-09-04 00:00:00.000000000 Z
12
+ date: 2021-09-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk