lib/mihari/emitters/misp.rb in mihari-1.0.1 vs lib/mihari/emitters/misp.rb in mihari-1.1.0
- old
+ new
@@ -33,10 +33,10 @@
end
private
def config_keys
- [Mihari.config.misp_api_endpoint, Mihari.config.misp_api_key]
+ %w(misp_api_endpoint misp_api_key)
end
def build_attribute(artifact)
::MISP::Attribute.new(value: artifact.data, type: to_misp_type(type: artifact.data_type, value: artifact.data))
end