Sha256: f1f0f39bdce8ff38e1121e6e499d4b2b25cac57fe81e7aec1b3ef28f257bdd5c

Contents?: true

Size: 382 Bytes

Versions: 13

Compression:

Stored size: 382 Bytes

Contents

# Copyright (c) 2021 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

13 entries across 13 versions & 1 rubygems

Version Path
contrast-agent-4.14.1 lib/contrast/utils/preflight_util.rb
contrast-agent-4.14.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.13.1 lib/contrast/utils/preflight_util.rb
contrast-agent-4.13.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.12.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.11.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.10.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.9.1 lib/contrast/utils/preflight_util.rb
contrast-agent-4.9.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.8.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.7.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.6.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.5.0 lib/contrast/utils/preflight_util.rb