Sha256: acaea8772a3f38dc523d7f04300b33cedebce0f5f56f01366b65c06533184262
Contents?: true
Size: 782 Bytes
Versions: 7
Compression:
Stored size: 782 Bytes
Contents
# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true cs__scoped_require 'contrast/components/interface' module Contrast module Agent # A Reaction from TeamServer which indicates the Agent should be disabled, # typically because some configuration setting did not satisfy requirements # set by the Organization's Administrator class DisableReaction include Contrast::Components::Interface access_component :logging, :agent def self.run _reaction, level logger.with_level( nil, 'Contrast received instructions to disable itself - Disabling now', level) AGENT.disable! end end end end
Version data entries
7 entries across 7 versions & 1 rubygems