Sha256: 1d329c577adb1647fa378c1e790049d3115cc05843d93656246e45a02edb728e
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
# Copyright (c) 2022 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contrast-agent-6.11.0 | lib/contrast/agent/reporting/settings/virtual_patch_condition.rb |
contrast-agent-6.10.0 | lib/contrast/agent/reporting/settings/virtual_patch_condition.rb |