lib/mihari/models/artifact.rb in mihari-5.2.1 vs lib/mihari/models/artifact.rb in mihari-5.2.2
- old
+ new
@@ -58,10 +58,10 @@
data: data,
alert: { rule_id: rule_id }
).order(created_at: :desc).first
return true if artifact.nil?
- # check whetehr the artifact is decayed or not
+ # check whether the artifact is decayed or not
return false if artifact_lifetime.nil?
# use the current UTC time if base_time is not given (for testing)
base_time ||= Time.now.utc