Sha256: faca581fd695ce5da644d91206af504a55a65d19c2b55f200a70ef53ac16648d

Contents?: true

Size: 445 Bytes

Versions: 48

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

#
# Collect XRay resources
#
class XRay < Mapper
  #
  # Returns an array of resources.
  #
  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
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
aws_recon-0.5.33 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.32 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.31 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.30 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.29 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.28 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.27 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.26 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.25 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.24 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.23 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.22 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.21 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.20 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.19 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.18 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.17 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.16 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.15 lib/aws_recon/collectors/xray.rb
aws_recon-0.5.14 lib/aws_recon/collectors/xray.rb