Sha256: 2f18cfba3c1bd0793be9d0ce77ba1b650f5a30122d850b678ece38cdbd57a8fb
Contents?: true
Size: 636 Bytes
Versions: 4
Compression:
Stored size: 636 Bytes
Contents
# Copyright (c) 2022 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 rule_name NAME end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems