lib/mihari/schemas/analyzer.rb in mihari-5.4.7 vs lib/mihari/schemas/analyzer.rb in mihari-5.4.8
- old
+ new
@@ -6,9 +6,10 @@
optional(:interval).value(:integer)
optional(:pagination_limit).value(:integer).default(Mihari.config.pagination_limit)
optional(:retry_times).value(:integer).default(Mihari.config.retry_times)
optional(:retry_interval).value(:integer).default(Mihari.config.retry_interval)
optional(:ignore_error).value(:bool).default(Mihari.config.ignore_error)
+ optional(:timeout).value(:integer)
end
AnalyzerWithoutAPIKey = Dry::Schema.Params do
required(:analyzer).value(Types::String.enum("dnstwister"))
required(:query).value(:string)