Sha256: ad8703f300f101749d328578f768b1ef903985b5e8e504909e40a00b566227bd

Contents?: true

Size: 381 Bytes

Versions: 20

Compression:

Stored size: 381 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
    class PreflightUtil
      def self.create_preflight finding
        "#{ finding.rule_id },#{ finding.hash_code }"
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
contrast-agent-4.2.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.1.0 lib/contrast/utils/preflight_util.rb
contrast-agent-4.0.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.16.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.15.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.14.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.13.2 lib/contrast/utils/preflight_util.rb
contrast-agent-3.13.1 lib/contrast/utils/preflight_util.rb
contrast-agent-3.13.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.12.2 lib/contrast/utils/preflight_util.rb
contrast-agent-3.12.1 lib/contrast/utils/preflight_util.rb
contrast-agent-3.12.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.11.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.10.2 lib/contrast/utils/preflight_util.rb
contrast-agent-3.10.1 lib/contrast/utils/preflight_util.rb
contrast-agent-3.10.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.9.1 lib/contrast/utils/preflight_util.rb
contrast-agent-3.9.0 lib/contrast/utils/preflight_util.rb
contrast-agent-3.8.5 lib/contrast/utils/preflight_util.rb
contrast-agent-3.8.4 lib/contrast/utils/preflight_util.rb