Sha256: 75ca43e6b939f89bcbd2f965ce02dee7199be03e2d91ac39734e5eb3c2d05c81
Contents?: true
Size: 661 Bytes
Versions: 2
Compression:
Stored size: 661 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 Cross-Site Scripting rule. class Xss < Contrast::Agent::Protect::Rule::BaseService NAME = 'reflected-xss' BLOCK_MESSAGE = 'XSS rule triggered. Response blocked.' def name NAME end def stream_safe? false 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/xss.rb |
contrast-agent-4.5.0 | lib/contrast/agent/protect/rule/xss.rb |