Class: Mihari::Config
- Inherits:
-
Anyway::Config
- Object
- Anyway::Config
- Mihari::Config
- Defined in:
- lib/mihari/config.rb
Instance Attribute Summary collapse
- #analyzer_parallelism ⇒ Boolean readonly
- #binaryedge_api_key ⇒ String? readonly
- #censys_id ⇒ String? readonly
- #circl_passive_password ⇒ String? readonly
- #circl_passive_username ⇒ String? readonly
- #database_url ⇒ URI
- #emitter_parallelism ⇒ Boolean readonly
- #fofa_api_key ⇒ String? readonly
- #fofa_email ⇒ String? readonly
- #greynoise_api_key ⇒ String? readonly
- #hide_config_values ⇒ Boolean readonly
- #hunterhow_api_key ⇒ String? readonly
- #ignore_error ⇒ Boolean readonly
- #misp_api_key ⇒ String? readonly
- #misp_url ⇒ String? readonly
- #onyphe_api_key ⇒ String? readonly
- #otx_api_key ⇒ String? readonly
- #pagination_interval ⇒ Integer readonly
- #pagination_limit ⇒ Integer readonly
- #passivetotal_api_key ⇒ String? readonly
- #passivetotal_username ⇒ String? readonly
- #pulsedive_api_key ⇒ String? readonly
- #retry_exponential_backoff ⇒ Boolean readonly
- #retry_interval ⇒ Integer readonly
- #retry_times ⇒ Integer readonly
- #securitytrails_api_key ⇒ String? readonly
- #sentry_dsn ⇒ String? readonly
- #sentry_trace_sample_rate ⇒ Float readonly
- #shodan_api_key ⇒ String? readonly
- #sidekiq_redis_url ⇒ URI?
- #sidekiq_retry ⇒ Integer readonly
- #slack_channel ⇒ String? readonly
- #slack_webhook_url ⇒ String? readonly
- #thehive_api_key ⇒ String? readonly
- #thehive_url ⇒ String? readonly
- #urlscan_api_key ⇒ String? readonly
- #validin_api_key ⇒ String? readonly
- #virustotal_api_key ⇒ String? readonly
- #yeti_api_key ⇒ String? readonly
- #yeti_url ⇒ String? readonly
- #zoomeye_api_key ⇒ String? readonly
Instance Method Summary collapse
Instance Attribute Details
#analyzer_parallelism ⇒ Boolean (readonly)
|
|
# File 'lib/mihari/config.rb', line 163
|
#binaryedge_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 58
|
#censys_id ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 61
|
#circl_passive_password ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 64
|
#circl_passive_username ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 67
|
#database_url ⇒ URI
|
|
# File 'lib/mihari/config.rb', line 70
|
#emitter_parallelism ⇒ Boolean (readonly)
|
|
# File 'lib/mihari/config.rb', line 166
|
#fofa_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 73
|
#fofa_email ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 76
|
#greynoise_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 79
|
#hide_config_values ⇒ Boolean (readonly)
|
|
# File 'lib/mihari/config.rb', line 172
|
#hunterhow_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 82
|
#ignore_error ⇒ Boolean (readonly)
|
|
# File 'lib/mihari/config.rb', line 169
|
#misp_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 88
|
#misp_url ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 85
|
#onyphe_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 91
|
#otx_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 94
|
#pagination_interval ⇒ Integer (readonly)
|
|
# File 'lib/mihari/config.rb', line 157
|
#pagination_limit ⇒ Integer (readonly)
|
|
# File 'lib/mihari/config.rb', line 160
|
#passivetotal_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 97
|
#passivetotal_username ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 100
|
#pulsedive_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 103
|
#retry_exponential_backoff ⇒ Boolean (readonly)
|
|
# File 'lib/mihari/config.rb', line 154
|
#retry_interval ⇒ Integer (readonly)
|
|
# File 'lib/mihari/config.rb', line 148
|
#retry_times ⇒ Integer (readonly)
|
|
# File 'lib/mihari/config.rb', line 151
|
#securitytrails_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 106
|
#sentry_dsn ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 142
|
#sentry_trace_sample_rate ⇒ Float (readonly)
|
|
# File 'lib/mihari/config.rb', line 145
|
#shodan_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 109
|
#sidekiq_redis_url ⇒ URI?
|
|
# File 'lib/mihari/config.rb', line 175
|
#sidekiq_retry ⇒ Integer (readonly)
181 182 183 |
# File 'lib/mihari/config.rb', line 181 def database_url=(val) super(URI(val.to_s)) end |
#slack_channel ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 112
|
#slack_webhook_url ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 115
|
#thehive_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 121
|
#thehive_url ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 118
|
#urlscan_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 124
|
#validin_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 127
|
#virustotal_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 130
|
#yeti_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 136
|
#yeti_url ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 133
|
#zoomeye_api_key ⇒ String? (readonly)
|
|
# File 'lib/mihari/config.rb', line 139
|
Instance Method Details
#keys ⇒ Array<String>
192 193 194 |
# File 'lib/mihari/config.rb', line 192 def keys @keys ||= to_h.keys.map(&:to_s).map(&:downcase) end |