Sha256: f061042e868bc28475cfbdf17ec261484dad6ed15cdcedd9104611d98f9f2f2b
Contents?: true
Size: 1.36 KB
Versions: 8
Compression:
Stored size: 1.36 KB
Contents
# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true module Contrast module Config # Common Configuration settings. Those in this section pertain to the # protect rule modes of the Agent. class ProtectRulesConfiguration < BaseConfiguration KEYS = { disabled_rules: EMPTY_VALUE, 'bot-blocker' => Contrast::Config::ProtectRuleConfiguration, 'cmd-injection' => Contrast::Config::ProtectRuleConfiguration, 'sql-injection' => Contrast::Config::ProtectRuleConfiguration, 'nosql-injection' => Contrast::Config::ProtectRuleConfiguration, 'untrusted-deserialization' => Contrast::Config::ProtectRuleConfiguration, 'method-tampering' => Contrast::Config::ProtectRuleConfiguration, csrf: Contrast::Config::ProtectRuleConfiguration, xxe: Contrast::Config::ProtectRuleConfiguration, 'path-traversal' => Contrast::Config::ProtectRuleConfiguration, 'reflected-xss' => Contrast::Config::ProtectRuleConfiguration, 'unsafe-file-upload' => Contrast::Config::ProtectRuleConfiguration, 'Contrast::Agent::Protect::Rule::Base' => Contrast::Config::ProtectRuleConfiguration }.cs__freeze def initialize hsh super(hsh, KEYS) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems