Sha256: 398fb9b774b87bc0508f0316b56fc24191616bdd70469eefdc2b7bd76c2d6444
Contents?: true
Size: 666 Bytes
Versions: 6
Compression:
Stored size: 666 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 Cross-Site Scripting rule. class Xss < Contrast::Agent::Protect::Rule::BaseService NAME = 'reflected-xss' BLOCK_MESSAGE = 'XSS rule triggered. Response blocked.' def rule_name NAME end def stream_safe? false end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems