Sha256: 351dc749627d5d562835605f573ddff9be9f279604feebd0367e6fedca99aa71
Contents?: true
Size: 631 Bytes
Versions: 2
Compression:
Stored size: 631 Bytes
Contents
# Copyright (c) 2021 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'contrast/agent/protect/rule/base_service' module Contrast module Agent module Protect module Rule # 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 NAME end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contrast-agent-4.6.0 | lib/contrast/agent/protect/rule/unsafe_file_upload.rb |
contrast-agent-4.5.0 | lib/contrast/agent/protect/rule/unsafe_file_upload.rb |