File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,22 @@ def collect
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
Original file line number Diff line number Diff line change 1
1
module AwsRecon
2
- VERSION = "0.5.24 "
2
+ VERSION = "0.5.25 "
3
3
end
You can’t perform that action at this time.
0 commit comments