class XRay
Collect XRay
resources
Public Instance Methods
collect()
click to toggle source
Returns an array of resources.
# File lib/aws_recon/collectors/xray.rb, line 10 def collect resources = [] # # get_encryption_config # struct = OpenStruct.new struct.config = @client.get_encryption_config.encryption_config.to_h struct.type = 'config' struct.arn = "arn:aws:xray:#{@region}:#{@account}/config" resources.push(struct.to_h) resources end