lib/mihari/emitters/misp.rb in mihari-5.3.1 vs lib/mihari/emitters/misp.rb in mihari-5.3.2
- old
+ new
@@ -10,16 +10,16 @@
attr_reader :api_key
# @return [Array<Mihari::Artifact>]
attr_reader :artifacts
- # @return [Mihari::Structs::Rule]
+ # @return [Mihari::Services::Rule]
attr_reader :rule
#
# @param [Array<Mihari::Artifact>] artifacts
- # @param [Mihari::Structs::Rule] rule
+ # @param [Mihari::Services::Rule] rule
# @param [Hash] **options
#
def initialize(artifacts:, rule:, **options)
super(artifacts: artifacts, rule: rule, **options)
@@ -45,10 +45,10 @@
#
# Create a MISP event
#
# @param [Arra<Mihari::Artifact>] artifacts
- # @param [Mihari::Structs::Rule] rule
+ # @param [Mihari::Services::Rule] rule
#
# @return [::MISP::Event]
#
def emit
return if artifacts.empty?