aws_recon 0.5.24 → 0.5.25

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: 5b8ed454cc2f353e9e3b2d063983ae46d020a3f498fed12da5a958b070d76d92
4
- data.tar.gz: 60599857caa5c8b1a9fe73ddd11689cebd70fe318e375b8a65fba9882de0f374
3
+ metadata.gz: 26c0212e326609dc91f25d039e7d527447c9f4a7883918a4175a7f906d580993
4
+ data.tar.gz: dcbb90f2240d483a9f96b6d786f44d4e82daae007b3ba81ef3de8f7c98d1ef13
5
5
  SHA512:
6
- metadata.gz: fe8fd51fde0b6f1c1b875c1ca24d71b6e6abc110832814ffb2505e4f5f7c27532019bfd019204d76422181488efe17534705bd52982e9b373212ebe8a8de53a4
7
- data.tar.gz: 8cbc656f70d64b70a209a9033a3764c7aabb77a4b103308aee99dbbd341cc7712de959a662e2893646d4ae1367d02fef3e1e4ea392be54d3e873c235a4ca3741
6
+ metadata.gz: ae1f07d98a57c38d110b30bfda20f3d6ecc85a06d48f5d996b76a8720acb1dd795fb6cc0dadbf5320ee6623fd2a2ec0cea16cd67139d4008d1b58c4787f382f3
7
+ data.tar.gz: 2b844d1118bb8a4880e86ec466e068589fea42c8ea27a4496d32f05db83c1455e5f367e29764ac175353f34df5603a23e46295f64e2ec84259e9ab2b9e889ccc
@@ -46,6 +46,22 @@ class EMR < Mapper
46
46
  end
47
47
  end
48
48
 
49
+ #
50
+ # list_security_configurations
51
+ #
52
+ @client.list_security_configurations.each_with_index do |response, page|
53
+ log(response.context.operation_name, page)
54
+
55
+ response.security_configurations.each do |security_configuration|
56
+ log(response.context.operation_name, security_configuration.name)
57
+
58
+ struct = OpenStruct.new(@client.describe_security_configuration({ name: security_configuration.name }).security_configuration.parse_policy)
59
+ struct.type = 'security_configuration'
60
+ struct.arn = "arn:aws:emr:#{@region}:#{@account}:security-configuration/#{security_configuration.name}" # no true ARN
61
+ resources.push(struct.to_h)
62
+ end
63
+ end
64
+
49
65
  resources
50
66
  end
51
67
 
@@ -1,3 +1,3 @@
1
1
  module AwsRecon
2
- VERSION = "0.5.24"
2
+ VERSION = "0.5.25"
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.24
4
+ version: 0.5.25
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: 2022-02-23 00:00:00.000000000 Z
12
+ date: 2022-03-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk