lib/contrast/agent/protect/rule/unsafe_file_upload.rb in contrast-agent-4.6.0 vs lib/contrast/agent/protect/rule/unsafe_file_upload.rb in contrast-agent-4.7.0

- old
+ new

@@ -10,10 +10,10 @@ # The Ruby implementation of the Protect Unsafe File Upload rule. class UnsafeFileUpload < Contrast::Agent::Protect::Rule::BaseService NAME = 'unsafe-file-upload' BLOCK_MESSAGE = 'Unsafe file upload rule triggered. Request blocked.' - def name + def rule_name NAME end end end end