lib/aws_recon/collectors/sqs.rb in aws_recon-0.2.17 vs lib/aws_recon/collectors/sqs.rb in aws_recon-0.2.18
- old
+ new
@@ -16,10 +16,10 @@
# get_queue_attributes
struct = OpenStruct.new(@client.get_queue_attributes({ queue_url: queue, attribute_names: ['All'] }).attributes.to_h)
struct.type = 'queue'
struct.arn = struct.QueueArn
- struct.Policy = JSON.parse(CGI.unescape(struct.Policy))
+ struct.policy = JSON.parse(CGI.unescape(struct.Policy))
resources.push(struct.to_h)
end
end