lib/aws_recon/collectors/ec2.rb in aws_recon-0.2.11 vs lib/aws_recon/collectors/ec2.rb in aws_recon-0.2.12
- old
+ new
@@ -30,9 +30,21 @@
end
# regional calls
if @region != 'global'
#
+ # get_ebs_encryption_by_default
+ #
+ @client.get_ebs_encryption_by_default.each do |response|
+ log(response.context.operation_name)
+
+ struct = OpenStruct.new(response.to_h)
+ struct.type = 'ebs_encryption_settings'
+
+ resources.push(struct.to_h)
+ end
+
+ #
# describe_instances
#
@client.describe_instances.each_with_index do |response, page|
log(response.context.operation_name, page)