lib/contrast/agent.rb in contrast-agent-5.3.0 vs lib/contrast/agent.rb in contrast-agent-6.0.0

- old
+ new

@@ -30,10 +30,12 @@ require 'contrast/utils/invalid_configuration_util' # Collect findings require 'contrast/utils/findings' +# Collect Exploites and Attacks +require 'contrast/agent/protect/exploitable_collection' # scoping require 'contrast/agent/scope' require 'contrast/utils/thread_tracker' @@ -50,9 +52,10 @@ # accessed throughout the Agent. module Agent # build a map for tracking the context of the current request REQUEST_TRACKER = Contrast::Utils::ThreadTracker.new FINDINGS = Contrast::Utils::Findings.new + EXPLOITS = Contrast::Agent::Protect::ExploitableCollection.new # @return [Contrast::Framework::Manager] def self.framework_manager @_framework_manager ||= Contrast::Framework::Manager.new end