Sha256: 148e0376812b92beeff0494d172d2a4361970e299ce034255806c779ee4c4719

Contents?: true

Size: 383 Bytes

Versions: 8

Compression:

Stored size: 383 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'

    resources.push(struct.to_h)

    resources
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
aws_recon-0.2.35 lib/aws_recon/collectors/xray.rb
aws_recon-0.2.34 lib/aws_recon/collectors/xray.rb
aws_recon-0.2.33 lib/aws_recon/collectors/xray.rb
aws_recon-0.2.32 lib/aws_recon/collectors/xray.rb
aws_recon-0.2.31 lib/aws_recon/collectors/xray.rb
aws_recon-0.2.30 lib/aws_recon/collectors/xray.rb
aws_recon-0.2.29 lib/aws_recon/collectors/xray.rb
aws_recon-0.2.28 lib/aws_recon/collectors/xray.rb