lib/suricata/fast.rb in suricata-0.2.1 vs lib/suricata/fast.rb in suricata-0.3.1

- old
+ new

@@ -69,9 +69,13 @@ @conn = Suricata::Connection.new($1) end end +def getThreat + return [ @description, @priority, @classification ] +end + # this function converts the parsed entry back to string # @return [String] converted string def to_s "#{@timestamp} [**] [#{@id}] #{@description} [**] [Classification: #{@classification}] [Priority: #{@priority}] #{@conn}" end