module Mihari

Constants

ALLOWED_DATA_TYPES
VERSION

Public Class Methods

analyzers() click to toggle source
# File lib/mihari.rb, line 68
def analyzers
  []
end
emitters() click to toggle source
# File lib/mihari.rb, line 63
def emitters
  []
end
enrichers() click to toggle source
# File lib/mihari.rb, line 73
def enrichers
  []
end
load_config_from_yaml(path) click to toggle source

Load configuration from YAML file

@param [String] path Path to YAML file

@return [nil]

# File lib/mihari.rb, line 85
def load_config_from_yaml(path)
  config = load_config(path)

  # validate loaded yaml data
  validate_config config

  config.each do |key, value|
    Mihari.config.send("#{key.downcase}=".to_sym, value)
  end
end