Module: Mihari::Types

Defined in:
lib/mihari/types.rb

Constant Summary collapse

Int =
Strict::Integer
Nil =
Strict::Nil
Hash =
Strict::Hash
String =
Strict::String
Bool =
Strict::Bool
Double =
Strict::Float | Strict::Integer
DateTime =
Strict::DateTime
DataTypes =
Types::String.enum(*DEFAULT_DATA_TYPES)
HTTPRequestMethods =
Types::String.enum("GET", "POST")
HTTPRequestPayloadTypes =
Types::String.enum("application/json", "application/x-www-form-urlencoded")
EmitterTypes =
Types::String.enum(
  "database",
  "webhook"
)
EnricherTypes =
Types::String.enum(
  "whois",
  "ipinfo",
  "shodan",
  "google_public_dns"
)