Sha256: 5efbdba63f04f35eb0ca99aabb823c451ac155835cd61b99512b62486e9da8df
Contents?: true
Size: 400 Bytes
Versions: 13
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true if %w[1 true].include?((ENV['DD_APPSEC_ENABLED'] || '').downcase) begin require_relative 'contrib/auto_instrument' Datadog::AppSec::Contrib::AutoInstrument.patch_all rescue StandardError => e Kernel.warn( '[datadog] AppSec failed to instrument. No security check will be performed. error: ' \ " #{e.class.name} #{e.message}" ) end end
Version data entries
13 entries across 13 versions & 1 rubygems