Sha256: 89f58393633d9d47adf68137a99a77ae75d4e9a5dee1c428cb810c1faf95e2e9
Contents?: true
Size: 388 Bytes
Versions: 6
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true module Mihari module Services # # Alert runner # class AlertRunner < Service # # @param [Mihari::Services::AlertProxy] alert # # @return [Mihari::Models::Alert] # def call(alert) emitter = Emitters::Database.new(rule: alert.rule) emitter.call alert.artifacts end end end end
Version data entries
6 entries across 6 versions & 1 rubygems