Sha256: de50aba7a2a9bca23c6b9b92c58a746aa864e65a40d488ab11e691c3c47e0911
Contents?: true
Size: 719 Bytes
Versions: 10
Compression:
Stored size: 719 Bytes
Contents
# frozen_string_literal: true module Mihari module Types include Dry.Types() 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(*ALLOWED_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" ) end end
Version data entries
10 entries across 10 versions & 1 rubygems