aws_recon 0.5.22 → 0.5.25

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: a0225940b06ce4f050b76411a63eef4d83fab157ff64524214ecc37aaa9b4763
4
- data.tar.gz: 5bbcdb94d22cfe23caa9f5d43ddc1c7dd5a2e58a7784f19ff6f0defb753f324a
3
+ metadata.gz: 26c0212e326609dc91f25d039e7d527447c9f4a7883918a4175a7f906d580993
4
+ data.tar.gz: dcbb90f2240d483a9f96b6d786f44d4e82daae007b3ba81ef3de8f7c98d1ef13
5
5
  SHA512:
6
- metadata.gz: cc712417ee38a98f13aea07c7809aa4412598b4165f775a9c1986aa1981474194b90d35ddfc86992cb9faa705b3dc9d5b0ca0122d1070f995c4d072e4e4c3b27
7
- data.tar.gz: de820cc2a6551defd85fca374d3aa875c494d0c9c1dd9084f09e371618623fb53edeaf4864aad04d126a6a4fc3831115d9419a175a40a961f2567c139b66d8b1
6
+ metadata.gz: ae1f07d98a57c38d110b30bfda20f3d6ecc85a06d48f5d996b76a8720acb1dd795fb6cc0dadbf5320ee6623fd2a2ec0cea16cd67139d4008d1b58c4787f382f3
7
+ data.tar.gz: 2b844d1118bb8a4880e86ec466e068589fea42c8ea27a4496d32f05db83c1455e5f367e29764ac175353f34df5603a23e46295f64e2ec84259e9ab2b9e889ccc
@@ -63,6 +63,10 @@ module AwsRecon
63
63
 
64
64
  # add resources to resources array for output to file
65
65
  @resources.concat(collection) if @options.output_file
66
+ rescue Aws::Errors::ServiceError => e
67
+ raise if @options.quit_on_exception
68
+
69
+ puts "Ignoring exception: '#{e.message}'\n"
66
70
  end
67
71
 
68
72
  #
@@ -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
 
@@ -93,9 +93,6 @@
93
93
  alias: cloudwatchlogs
94
94
  - name: Kafka
95
95
  alias: kafka
96
- excluded_regions:
97
- - af-south-1
98
- - ap-northeast-3
99
96
  - name: SecretsManager
100
97
  alias: secretsmanager
101
98
  - name: SecurityHub
@@ -141,8 +138,6 @@
141
138
  alias: servicequotas
142
139
  - name: Transfer
143
140
  alias: transfer
144
- excluded_regions:
145
- - ap-northeast-3
146
141
  - name: DirectConnect
147
142
  alias: directconnect
148
143
  - name: DirectoryService
@@ -1,3 +1,3 @@
1
1
  module AwsRecon
2
- VERSION = "0.5.22"
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.22
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: 2021-12-02 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