Sha256: b35fca9110ffb948f6f49c69e38bfd1a1cc28ff42b4a713ff105364577cb0ba3

Contents?: true

Size: 773 Bytes

Versions: 6

Compression:

Stored size: 773 Bytes

Contents

# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

require 'contrast/agent/patching/policy/policy_node'

module Contrast
  module Agent
    module Deadzone
      module Policy
        # This class functions to translate our policy.json into an actionable
        # Ruby object, allowing for dynamic patching over hardcoded patching,
        # specifically for those methods in which other Contrast operations
        # should not apply
        class DeadzoneNode < Contrast::Agent::Patching::Policy::PolicyNode
          def node_class
            'Deadzone'
          end

          def feature
            'Deadzone'
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contrast-agent-4.2.0 lib/contrast/agent/deadzone/policy/deadzone_node.rb
contrast-agent-4.1.0 lib/contrast/agent/deadzone/policy/deadzone_node.rb
contrast-agent-4.0.0 lib/contrast/agent/deadzone/policy/deadzone_node.rb
contrast-agent-3.16.0 lib/contrast/agent/deadzone/policy/deadzone_node.rb
contrast-agent-3.15.0 lib/contrast/agent/deadzone/policy/deadzone_node.rb
contrast-agent-3.14.0 lib/contrast/agent/deadzone/policy/deadzone_node.rb