Sha256: 3bd774854cdabbcf3d07e2e91efb4ca3d640c3f8c6f41fa597716c1d80d75d58

Contents?: true

Size: 382 Bytes

Versions: 5

Compression:

Stored size: 382 Bytes

Contents

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

module Contrast
  module Utils
    # Utility for generating preflight message token
    module PreflightUtil
      def self.create_preflight finding
        "#{ finding.rule_id },#{ finding.hash_code }"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
contrast-agent-4.4.1 lib/contrast/utils/preflight_util.rb
contrast-agent-4.4.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.3.2 lib/contrast/utils/preflight_util.rb
contrast-agent-4.3.1 lib/contrast/utils/preflight_util.rb
contrast-agent-4.3.0 lib/contrast/utils/preflight_util.rb