Sha256: 898b5e48953f06d7abed97fb367d32080c964d7046f85e594ec62657804a9be9

Contents?: true

Size: 1.77 KB

Versions: 9

Compression:

Stored size: 1.77 KB

Contents

class Configuration
  attr_accessor binaryedge_api_key (): String?
  attr_accessor censys_id (): String?
  attr_accessor censys_secret (): String?
  attr_accessor circl_passive_password (): String?
  attr_accessor circl_passive_username (): String?
  attr_accessor ipinfo_api_key (): String?
  attr_accessor misp_api_endpoint (): String?
  attr_accessor misp_api_key (): String?
  attr_accessor onyphe_api_key (): String?
  attr_accessor otx_api_key (): String?
  attr_accessor passivetotal_api_key (): String?
  attr_accessor passivetotal_username (): String?
  attr_accessor pulsedive_api_key (): String?
  attr_accessor securitytrails_api_key (): String?
  attr_accessor shodan_api_key (): String?
  attr_accessor slack_channel (): String?
  attr_accessor slack_webhook_url (): String?
  attr_accessor spyse_api_key (): String?
  attr_accessor thehive_api_endpoint (): String?
  attr_accessor thehive_api_key (): String?
  attr_accessor thehive_api_version (): String?
  attr_accessor urlscan_api_key (): String?
  attr_accessor virustotal_api_key (): String?
  attr_accessor zoomeye_api_key (): String?
  attr_accessor webhook_url (): String?
  attr_accessor webhook_use_json_body (): (bool | nil)
  attr_accessor database (): String?
  attr_accessor sentry_dsn(): String?

  attr_reader values: Hash[(String | Symbol), String?]
end

module Mihari
  def self.config: () -> Configuration

  # extend Dry::Configurable

  extend Mixins::Configuration

  def self.emitters: () -> ::Array[singleton(Mihari::Emitters::Base)]

  def self.analyzers: () -> ::Array[singleton(Mihari::Analyzers::Base)]

  def self.enrichers: () -> ::Array[singleton(Mihari::Enrichers::Base)]

  def self.logger: () -> SemanticLogger

  def self.initialize_sentry: () -> void
end

class Object
  def truthy?: (untyped value) -> bool
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mihari-4.9.0 sig/lib/mihari.rbs
mihari-4.8.0 sig/lib/mihari.rbs
mihari-4.7.4 sig/lib/mihari.rbs
mihari-4.7.3 sig/lib/mihari.rbs
mihari-4.7.2 sig/lib/mihari.rbs
mihari-4.7.1 sig/lib/mihari.rbs
mihari-4.7.0 sig/lib/mihari.rbs
mihari-4.6.1 sig/lib/mihari.rbs
mihari-4.6.0 sig/lib/mihari.rbs