mihari 3.7.1 → 3.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari.rb +26 -26
- data/mihari.gemspec +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4ce5b3ce24278b8141bf2078dce45d572846a4838a0dc00c34e695201c36d77
|
4
|
+
data.tar.gz: '0992223bccd1d9732e0cc9cb6063f822efef8f0db34a27a45ad829efc930a60f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26aa441c9e982df2a84e5d3f8cc5bc261b49b9dae618fc73384a116927481125b4a87dac8317a6fb319caf5523398020ebcf8973eee6229d128a377f1054c4db
|
7
|
+
data.tar.gz: bfee6864b187018a6a9f9b5f4c68cfdea496b36ebad0b796425642ed9b80b2f7c70c4d74ef16964838e16b2985acddb11d4b0c0a6c4cca73dfb93d7a1ff83875
|
data/README.md
CHANGED
@@ -64,5 +64,3 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
64
64
|
## Acknowledgement
|
65
65
|
|
66
66
|
Mihari is proudly supported by [Tines.io](https://tines.io?utm_source=github&utm_medium=sponsorship&utm_campaign=ninoseki), The SOAR Platform for Enterprise Security Teams.
|
67
|
-
|
68
|
-
$ bundle exec rbs -rpathname --repo=gem_rbs/gems -ractivesupport -ractionpack -ractivejob -ractivemodel -ractionview -ractiverecord -rrailties -I sig validate
|
data/lib/mihari/version.rb
CHANGED
data/lib/mihari.rb
CHANGED
@@ -30,32 +30,32 @@ module Mihari
|
|
30
30
|
extend Dry::Configurable
|
31
31
|
extend Mixins::Configuration
|
32
32
|
|
33
|
-
setting :binaryedge_api_key, ENV["BINARYEDGE_API_KEY"]
|
34
|
-
setting :censys_id, ENV["CENSYS_ID"]
|
35
|
-
setting :censys_secret, ENV["CENSYS_SECRET"]
|
36
|
-
setting :circl_passive_password, ENV["CIRCL_PASSIVE_PASSWORD"]
|
37
|
-
setting :circl_passive_username, ENV["CIRCL_PASSIVE_USERNAME"]
|
38
|
-
setting :ipinfo_api_key, ENV["IPINFO_API_KEY"]
|
39
|
-
setting :misp_api_endpoint, ENV["MISP_API_ENDPOINT"]
|
40
|
-
setting :misp_api_key, ENV["MISP_API_KEY"]
|
41
|
-
setting :onyphe_api_key, ENV["ONYPHE_API_KEY"]
|
42
|
-
setting :otx_api_key, ENV["OTX_API_KEY"]
|
43
|
-
setting :passivetotal_api_key, ENV["PASSIVETOTAL_API_KEY"]
|
44
|
-
setting :passivetotal_username, ENV["PASSIVETOTAL_USERNAME"]
|
45
|
-
setting :pulsedive_api_key, ENV["PULSEDIVE_API_KEY"]
|
46
|
-
setting :securitytrails_api_key, ENV["SECURITYTRAILS_API_KEY"]
|
47
|
-
setting :shodan_api_key, ENV["SHODAN_API_KEY"]
|
48
|
-
setting :slack_channel, ENV["SLACK_CHANNEL"]
|
49
|
-
setting :slack_webhook_url, ENV["SLACK_WEBHOOK_URL"]
|
50
|
-
setting :spyse_api_key, ENV["SPYSE_API_KEY"]
|
51
|
-
setting :thehive_api_endpoint, ENV["THEHIVE_API_ENDPOINT"]
|
52
|
-
setting :thehive_api_key, ENV["THEHIVE_API_KEY"]
|
53
|
-
setting :urlscan_api_key, ENV["URLSCAN_API_KEY"]
|
54
|
-
setting :virustotal_api_key, ENV["VIRUSTOTAL_API_KEY"]
|
55
|
-
setting :zoomeye_api_key, ENV["ZOOMEYE_API_KEY"]
|
56
|
-
setting :webhook_url, ENV["WEBHOOK_URL"]
|
57
|
-
setting
|
58
|
-
setting :database, ENV["DATABASE"] || "mihari.db"
|
33
|
+
setting :binaryedge_api_key, default: ENV["BINARYEDGE_API_KEY"]
|
34
|
+
setting :censys_id, default: ENV["CENSYS_ID"]
|
35
|
+
setting :censys_secret, default: ENV["CENSYS_SECRET"]
|
36
|
+
setting :circl_passive_password, default: ENV["CIRCL_PASSIVE_PASSWORD"]
|
37
|
+
setting :circl_passive_username, default: ENV["CIRCL_PASSIVE_USERNAME"]
|
38
|
+
setting :ipinfo_api_key, default: ENV["IPINFO_API_KEY"]
|
39
|
+
setting :misp_api_endpoint, default: ENV["MISP_API_ENDPOINT"]
|
40
|
+
setting :misp_api_key, default: ENV["MISP_API_KEY"]
|
41
|
+
setting :onyphe_api_key, default: ENV["ONYPHE_API_KEY"]
|
42
|
+
setting :otx_api_key, default: ENV["OTX_API_KEY"]
|
43
|
+
setting :passivetotal_api_key, default: ENV["PASSIVETOTAL_API_KEY"]
|
44
|
+
setting :passivetotal_username, default: ENV["PASSIVETOTAL_USERNAME"]
|
45
|
+
setting :pulsedive_api_key, default: ENV["PULSEDIVE_API_KEY"]
|
46
|
+
setting :securitytrails_api_key, default: ENV["SECURITYTRAILS_API_KEY"]
|
47
|
+
setting :shodan_api_key, default: ENV["SHODAN_API_KEY"]
|
48
|
+
setting :slack_channel, default: ENV["SLACK_CHANNEL"]
|
49
|
+
setting :slack_webhook_url, default: ENV["SLACK_WEBHOOK_URL"]
|
50
|
+
setting :spyse_api_key, default: ENV["SPYSE_API_KEY"]
|
51
|
+
setting :thehive_api_endpoint, default: ENV["THEHIVE_API_ENDPOINT"]
|
52
|
+
setting :thehive_api_key, default: ENV["THEHIVE_API_KEY"]
|
53
|
+
setting :urlscan_api_key, default: ENV["URLSCAN_API_KEY"]
|
54
|
+
setting :virustotal_api_key, default: ENV["VIRUSTOTAL_API_KEY"]
|
55
|
+
setting :zoomeye_api_key, default: ENV["ZOOMEYE_API_KEY"]
|
56
|
+
setting :webhook_url, default: ENV["WEBHOOK_URL"]
|
57
|
+
setting :webhook_use_json_body, constructor: ->(value = ENV["WEBHOOK_USE_JSON_BODY"]) { truthy?(value) }
|
58
|
+
setting :database, default: ENV["DATABASE"] || "mihari.db"
|
59
59
|
|
60
60
|
class << self
|
61
61
|
include Mem
|
data/mihari.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 2.2"
|
29
|
-
spec.add_development_dependency "coveralls_reborn", "~> 0.
|
29
|
+
spec.add_development_dependency "coveralls_reborn", "~> 0.23"
|
30
30
|
spec.add_development_dependency "fakefs", "~> 1.3"
|
31
31
|
spec.add_development_dependency "mysql2", "~> 0.5"
|
32
32
|
spec.add_development_dependency "overcommit", "~> 0.58"
|
@@ -55,11 +55,11 @@ Gem::Specification.new do |spec|
|
|
55
55
|
spec.add_dependency "dnpedia", "~> 0.1"
|
56
56
|
spec.add_dependency "dnstwister", "~> 0.1"
|
57
57
|
spec.add_dependency "dotenv", "~> 2.7"
|
58
|
-
spec.add_dependency "dry-configurable", "~> 0.
|
58
|
+
spec.add_dependency "dry-configurable", "~> 0.13"
|
59
59
|
spec.add_dependency "dry-files", "~> 0.1"
|
60
60
|
spec.add_dependency "dry-initializer", "~> 3.0"
|
61
61
|
spec.add_dependency "dry-struct", "~> 1.4"
|
62
|
-
spec.add_dependency "dry-validation", "~> 1.
|
62
|
+
spec.add_dependency "dry-validation", "~> 1.7"
|
63
63
|
spec.add_dependency "email_address", "~> 0.2"
|
64
64
|
spec.add_dependency "hachi", "~> 1.0"
|
65
65
|
spec.add_dependency "http", "~> 5.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mihari
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.23'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.23'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: fakefs
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -422,14 +422,14 @@ dependencies:
|
|
422
422
|
requirements:
|
423
423
|
- - "~>"
|
424
424
|
- !ruby/object:Gem::Version
|
425
|
-
version: '0.
|
425
|
+
version: '0.13'
|
426
426
|
type: :runtime
|
427
427
|
prerelease: false
|
428
428
|
version_requirements: !ruby/object:Gem::Requirement
|
429
429
|
requirements:
|
430
430
|
- - "~>"
|
431
431
|
- !ruby/object:Gem::Version
|
432
|
-
version: '0.
|
432
|
+
version: '0.13'
|
433
433
|
- !ruby/object:Gem::Dependency
|
434
434
|
name: dry-files
|
435
435
|
requirement: !ruby/object:Gem::Requirement
|
@@ -478,14 +478,14 @@ dependencies:
|
|
478
478
|
requirements:
|
479
479
|
- - "~>"
|
480
480
|
- !ruby/object:Gem::Version
|
481
|
-
version: '1.
|
481
|
+
version: '1.7'
|
482
482
|
type: :runtime
|
483
483
|
prerelease: false
|
484
484
|
version_requirements: !ruby/object:Gem::Requirement
|
485
485
|
requirements:
|
486
486
|
- - "~>"
|
487
487
|
- !ruby/object:Gem::Version
|
488
|
-
version: '1.
|
488
|
+
version: '1.7'
|
489
489
|
- !ruby/object:Gem::Dependency
|
490
490
|
name: email_address
|
491
491
|
requirement: !ruby/object:Gem::Requirement
|