Sha256: a12d9465a153b1b385d368fdb93343f18bcf2dafbe5790b2d6dd5cb79a7a72eb

Contents?: true

Size: 603 Bytes

Versions: 6

Compression:

Stored size: 603 Bytes

Contents

# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

module Contrast
  module Agent
    module Reporting
      module Details
        # Wrapper data for XXE rule.
        class XxeWrapper
          # @return [String]
          attr_accessor :system_id
          # @return [String]
          attr_accessor :public_id

          def to_controlled_hash
            {
                systemId: system_id,
                publicId: public_id
            }
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contrast-agent-6.11.0 lib/contrast/agent/reporting/details/xxe_wrapper.rb
contrast-agent-6.10.0 lib/contrast/agent/reporting/details/xxe_wrapper.rb
contrast-agent-6.9.0 lib/contrast/agent/reporting/details/xxe_wrapper.rb
contrast-agent-6.8.0 lib/contrast/agent/reporting/details/xxe_wrapper.rb
contrast-agent-6.7.0 lib/contrast/agent/reporting/details/xxe_wrapper.rb
contrast-agent-6.6.5 lib/contrast/agent/reporting/details/xxe_wrapper.rb