Sha256: 1a1399de2468d03b3b031359aeb3d41ef3d592a0912a39b9b8a0f17dc701f102

Contents?: true

Size: 1.72 KB

Versions: 8

Compression:

Stored size: 1.72 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 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

8 entries across 8 versions & 1 rubygems

Version Path
mihari-4.5.3 sig/lib/mihari.rbs
mihari-4.5.2 sig/lib/mihari.rbs
mihari-4.5.1 sig/lib/mihari.rbs
mihari-4.5.0 sig/lib/mihari.rbs
mihari-4.4.1 sig/lib/mihari.rbs
mihari-4.4.0 sig/lib/mihari.rbs
mihari-4.3.0 sig/lib/mihari.rbs
mihari-4.2.0 sig/lib/mihari.rbs