Sha256: 5243f6a3e08b8afdea5e5ea0122d08bb3474b6c1259a8a15d7f882310be07a93

Contents?: true

Size: 382 Bytes

Versions: 19

Compression:

Stored size: 382 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 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

19 entries across 19 versions & 1 rubygems

Version Path
contrast-agent-6.6.5 lib/contrast/utils/preflight_util.rb
contrast-agent-6.6.4 lib/contrast/utils/preflight_util.rb
contrast-agent-6.6.3 lib/contrast/utils/preflight_util.rb
contrast-agent-6.6.2 lib/contrast/utils/preflight_util.rb
contrast-agent-6.6.1 lib/contrast/utils/preflight_util.rb
contrast-agent-6.6.0 lib/contrast/utils/preflight_util.rb
contrast-agent-6.5.1 lib/contrast/utils/preflight_util.rb
contrast-agent-6.5.0 lib/contrast/utils/preflight_util.rb
contrast-agent-6.4.0 lib/contrast/utils/preflight_util.rb
contrast-agent-6.3.0 lib/contrast/utils/preflight_util.rb
contrast-agent-6.2.0 lib/contrast/utils/preflight_util.rb
contrast-agent-6.1.2 lib/contrast/utils/preflight_util.rb
contrast-agent-6.1.1 lib/contrast/utils/preflight_util.rb
contrast-agent-6.1.0 lib/contrast/utils/preflight_util.rb
contrast-agent-6.0.0 lib/contrast/utils/preflight_util.rb
contrast-agent-5.3.0 lib/contrast/utils/preflight_util.rb
contrast-agent-5.2.0 lib/contrast/utils/preflight_util.rb
contrast-agent-5.1.0 lib/contrast/utils/preflight_util.rb
contrast-agent-5.0.0 lib/contrast/utils/preflight_util.rb