lib/contrast/agent/protect/rule/path_traversal.rb in contrast-agent-5.1.0 vs lib/contrast/agent/protect/rule/path_traversal.rb in contrast-agent-5.2.0
- old
+ new
@@ -36,9 +36,10 @@
return unless result
append_to_activity(context, result)
return unless blocked?
+ cef_logging result, :successful_attack, path
raise Contrast::SecurityException.new(self,
"Path Traversal rule triggered. Call to File.#{ method } blocked.")
end
protected