lib/mihari/emitters/misp.rb in mihari-6.0.0 vs lib/mihari/emitters/misp.rb in mihari-6.1.0

- old
+ new

@@ -54,14 +54,14 @@ Tag: rule.tags.map { |tag| { name: tag } } } }) end - private - def configuration_keys %w[misp_url misp_api_key] end + + private def client @client ||= Clients::MISP.new(url, api_key: api_key, timeout: timeout) end