Sha256: 776f54095ad8f575c0321698d57a32106f686e16bbf21013d4aa2aab3dd27729
Contents?: true
Size: 911 Bytes
Versions: 6
Compression:
Stored size: 911 Bytes
Contents
# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true module Contrast module Config # Common Configuration settings. Those in this section pertain to the inventory functionality of the Agent. class InventoryConfiguration include Contrast::Config::BaseConfiguration # @return [Array, nil] tags attr_accessor :tags attr_writer :enable, :analyze_libraries def initialize hsh = {} return unless hsh @enable = hsh[:enable] @analyze_libraries = hsh[:analyze_libraries] @tags = hsh[:tags] end # @return [Boolean, true] def enable @enable.nil? ? true : @enable end # @return [Boolean, true] def analyze_libraries @analyze_libraries.nil? ? true : @analyze_libraries end end end end
Version data entries
6 entries across 6 versions & 1 rubygems