Sha256: 678e47e3813b677ca71f25310db817d17075252efc8602bbea490d7fbab38aa1
Contents?: true
Size: 981 Bytes
Versions: 13
Compression:
Stored size: 981 Bytes
Contents
# Copyright (c) 2023 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'contrast/components/base' module Contrast module Components module SecurityLogger # Here we will read and store the setting for the CEF Logging functionality class Interface include Contrast::Components::ComponentBase CANON_NAME = 'agent.security_logger' CONFIG_VALUES = %w[path level].cs__freeze # @return [String, nil] attr_accessor :path # @return [String, nil] attr_accessor :level # @return [String] attr_reader :canon_name # @return [Array] attr_reader :config_values def initialize hsh = {} @config_values = CONFIG_VALUES @canon_name = CANON_NAME return unless hsh @path = hsh[:path] @level = hsh[:level] end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems