Sha256: 6b502551251cfa21cfc19ba3a527bb4890d7e160a3bd488fdee075b13f31a0b2
Contents?: true
Size: 1.34 KB
Versions: 18
Compression:
Stored size: 1.34 KB
Contents
# Copyright (c) 2023 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'contrast/utils/object_share' require 'contrast/agent/reporting/settings/protect_rule' module Contrast module Agent module Reporting module Settings # The settings for each virtual patch condition in the agent. class VirtualPatchCondition # @return [String] attr_reader :name # @return [String] attr_reader :value # @return [String] attr_reader :input_type # @return [String] attr_reader :evaluation def initialize hash @name = hash[:name] @value = hash[:value] @input_type = hash[:input_type] @evaluation = hash[:evaluation] end # @return [Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>] def headers @_headers ||= [] end # @return [Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>] def parameters @_parameters ||= [] end # @return [Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>] def urls @_urls ||= [] end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems