Sha256: b5bd8f32563158cd2c480051155abbd1bc75fc976d05a6e3a12116a16621caf0

Contents?: true

Size: 747 Bytes

Versions: 24

Compression:

Stored size: 747 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/patching/policy/trigger_node'

module Contrast
  module Agent
    module Inventory
      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 which result in the trigger of an
        # event interesting to the design of the application.
        class TriggerNode < Contrast::Agent::Patching::Policy::TriggerNode
          def feature
            'Inventory'
          end
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
contrast-agent-5.3.0 lib/contrast/agent/inventory/policy/trigger_node.rb
contrast-agent-5.2.0 lib/contrast/agent/inventory/policy/trigger_node.rb
contrast-agent-5.1.0 lib/contrast/agent/inventory/policy/trigger_node.rb
contrast-agent-5.0.0 lib/contrast/agent/inventory/policy/trigger_node.rb