lib/mihari/schemas/analyzer.rb in mihari-4.8.0 vs lib/mihari/schemas/analyzer.rb in mihari-4.9.0
- old
+ new
@@ -56,16 +56,9 @@
optional(:username).value(:string)
optional(:api_key).value(:string)
optional(:options).hash(AnalyzerOptions)
end
- Spyse = Dry::Schema.Params do
- required(:analyzer).value(Types::String.enum("spyse"))
- required(:query).value(:string)
- required(:type).value(Types::String.enum("ip", "domain"))
- optional(:options).hash(AnalyzerOptions)
- end
-
ZoomEye = Dry::Schema.Params do
required(:analyzer).value(Types::String.enum("zoomeye"))
required(:query).value(:string)
required(:type).value(Types::String.enum("host", "web"))
optional(:options).hash(AnalyzerOptions)