lib/mihari/analyzers/censys.rb in mihari-3.12.0 vs lib/mihari/analyzers/censys.rb in mihari-4.0.0

- old
+ new

@@ -4,13 +4,10 @@ module Mihari module Analyzers class Censys < Base param :query - option :title, default: proc { "Censys search" } - option :description, default: proc { "query = #{query}" } - option :tags, default: proc { [] } option :interval, default: proc { 0 } def artifacts search @@ -75,9 +72,10 @@ end Artifact.new( data: hit.ip, source: source, + metadata: hit.metadata, autonomous_system: as, geolocation: geolocation ) end