mihari 7.1.1 → 7.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +9 -8
- data/build_frontend.sh +1 -1
- data/lib/mihari/actor.rb +16 -8
- data/lib/mihari/analyzers/base.rb +12 -3
- data/lib/mihari/analyzers/passivetotal.rb +1 -1
- data/lib/mihari/analyzers/securitytrails.rb +1 -1
- data/lib/mihari/analyzers/virustotal.rb +1 -1
- data/lib/mihari/analyzers/virustotal_intelligence.rb +2 -2
- data/lib/mihari/commands/web.rb +3 -3
- data/lib/mihari/constants.rb +1 -1
- data/lib/mihari/emitters/base.rb +11 -1
- data/lib/mihari/emitters/database.rb +4 -0
- data/lib/mihari/emitters/misp.rb +7 -0
- data/lib/mihari/emitters/slack.rb +7 -0
- data/lib/mihari/emitters/the_hive.rb +7 -0
- data/lib/mihari/emitters/webhook.rb +7 -0
- data/lib/mihari/enrichers/base.rb +3 -1
- data/lib/mihari/enrichers/google_public_dns.rb +1 -1
- data/lib/mihari/errors.rb +14 -1
- data/lib/mihari/schemas/analyzer.rb +19 -19
- data/lib/mihari/schemas/emitter.rb +5 -5
- data/lib/mihari/schemas/enricher.rb +4 -4
- data/lib/mihari/structs/config.rb +4 -21
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/public/assets/{index-U5u7qHZZ.js → index-TOeU8PE2.js} +75 -55
- data/lib/mihari/web/public/index.html +1 -1
- data/lib/mihari/web/public/redoc-static.html +384 -384
- data/lib/mihari.rb +3 -3
- data/mihari.gemspec +4 -4
- metadata +11 -12
- data/test.json.jbuilder +0 -7
data/lib/mihari.rb
CHANGED
@@ -79,7 +79,7 @@ module Mihari
|
|
79
79
|
#
|
80
80
|
def emitter_to_class
|
81
81
|
@emitter_to_class ||= emitters.flat_map do |klass|
|
82
|
-
klass.
|
82
|
+
klass.keys.map { |key| [key, klass] }
|
83
83
|
end.to_h
|
84
84
|
end
|
85
85
|
|
@@ -96,7 +96,7 @@ module Mihari
|
|
96
96
|
#
|
97
97
|
def analyzer_to_class
|
98
98
|
@analyzer_to_class ||= analyzers.flat_map do |klass|
|
99
|
-
klass.
|
99
|
+
klass.keys.map { |key| [key, klass] }
|
100
100
|
end.to_h
|
101
101
|
end
|
102
102
|
|
@@ -113,7 +113,7 @@ module Mihari
|
|
113
113
|
#
|
114
114
|
def enricher_to_class
|
115
115
|
@enricher_to_class ||= enrichers.flat_map do |klass|
|
116
|
-
klass.
|
116
|
+
klass.keys.map { |key| [key, klass] }
|
117
117
|
end.to_h
|
118
118
|
end
|
119
119
|
|
data/mihari.gemspec
CHANGED
@@ -72,7 +72,7 @@ Gem::Specification.new do |spec|
|
|
72
72
|
|
73
73
|
spec.add_dependency "activerecord", "7.1.2"
|
74
74
|
spec.add_dependency "addressable", "~> 2.8"
|
75
|
-
spec.add_dependency "anyway_config", "2.
|
75
|
+
spec.add_dependency "anyway_config", "2.6.2"
|
76
76
|
spec.add_dependency "awrence", "2.0.1"
|
77
77
|
spec.add_dependency "csv", "~> 3.2"
|
78
78
|
spec.add_dependency "dotenv", "2.8.1"
|
@@ -96,15 +96,15 @@ Gem::Specification.new do |spec|
|
|
96
96
|
spec.add_dependency "parallel", "1.24.0"
|
97
97
|
spec.add_dependency "plissken", "2.0.1"
|
98
98
|
spec.add_dependency "public_suffix", "5.0.4"
|
99
|
-
spec.add_dependency "puma", "6.4.
|
99
|
+
spec.add_dependency "puma", "6.4.2"
|
100
100
|
spec.add_dependency "rack", "3.0.8"
|
101
101
|
spec.add_dependency "rack-cors", "2.0.1"
|
102
102
|
spec.add_dependency "rack-session", "2.0.0"
|
103
103
|
spec.add_dependency "rackup", "2.1.0"
|
104
104
|
spec.add_dependency "search_cop", "1.2.3"
|
105
105
|
spec.add_dependency "semantic_logger", "4.15.0"
|
106
|
-
spec.add_dependency "sentry-ruby", "~> 5.
|
107
|
-
spec.add_dependency "sentry-sidekiq", "~> 5.
|
106
|
+
spec.add_dependency "sentry-ruby", "~> 5.16"
|
107
|
+
spec.add_dependency "sentry-sidekiq", "~> 5.16"
|
108
108
|
spec.add_dependency "sidekiq", "7.2.0"
|
109
109
|
spec.add_dependency "slack-notifier", "2.4.0"
|
110
110
|
spec.add_dependency "sqlite3", "~> 1.7"
|
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: 7.1.
|
4
|
+
version: 7.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: better_errors
|
@@ -422,14 +422,14 @@ dependencies:
|
|
422
422
|
requirements:
|
423
423
|
- - '='
|
424
424
|
- !ruby/object:Gem::Version
|
425
|
-
version: 2.
|
425
|
+
version: 2.6.2
|
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: 2.
|
432
|
+
version: 2.6.2
|
433
433
|
- !ruby/object:Gem::Dependency
|
434
434
|
name: awrence
|
435
435
|
requirement: !ruby/object:Gem::Requirement
|
@@ -758,14 +758,14 @@ dependencies:
|
|
758
758
|
requirements:
|
759
759
|
- - '='
|
760
760
|
- !ruby/object:Gem::Version
|
761
|
-
version: 6.4.
|
761
|
+
version: 6.4.2
|
762
762
|
type: :runtime
|
763
763
|
prerelease: false
|
764
764
|
version_requirements: !ruby/object:Gem::Requirement
|
765
765
|
requirements:
|
766
766
|
- - '='
|
767
767
|
- !ruby/object:Gem::Version
|
768
|
-
version: 6.4.
|
768
|
+
version: 6.4.2
|
769
769
|
- !ruby/object:Gem::Dependency
|
770
770
|
name: rack
|
771
771
|
requirement: !ruby/object:Gem::Requirement
|
@@ -856,28 +856,28 @@ dependencies:
|
|
856
856
|
requirements:
|
857
857
|
- - "~>"
|
858
858
|
- !ruby/object:Gem::Version
|
859
|
-
version: '5.
|
859
|
+
version: '5.16'
|
860
860
|
type: :runtime
|
861
861
|
prerelease: false
|
862
862
|
version_requirements: !ruby/object:Gem::Requirement
|
863
863
|
requirements:
|
864
864
|
- - "~>"
|
865
865
|
- !ruby/object:Gem::Version
|
866
|
-
version: '5.
|
866
|
+
version: '5.16'
|
867
867
|
- !ruby/object:Gem::Dependency
|
868
868
|
name: sentry-sidekiq
|
869
869
|
requirement: !ruby/object:Gem::Requirement
|
870
870
|
requirements:
|
871
871
|
- - "~>"
|
872
872
|
- !ruby/object:Gem::Version
|
873
|
-
version: '5.
|
873
|
+
version: '5.16'
|
874
874
|
type: :runtime
|
875
875
|
prerelease: false
|
876
876
|
version_requirements: !ruby/object:Gem::Requirement
|
877
877
|
requirements:
|
878
878
|
- - "~>"
|
879
879
|
- !ruby/object:Gem::Version
|
880
|
-
version: '5.
|
880
|
+
version: '5.16'
|
881
881
|
- !ruby/object:Gem::Dependency
|
882
882
|
name: sidekiq
|
883
883
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1204,7 +1204,7 @@ files:
|
|
1204
1204
|
- lib/mihari/web/endpoints/tags.rb
|
1205
1205
|
- lib/mihari/web/middleware/capture_exceptions.rb
|
1206
1206
|
- lib/mihari/web/middleware/connection.rb
|
1207
|
-
- lib/mihari/web/public/assets/index-
|
1207
|
+
- lib/mihari/web/public/assets/index-TOeU8PE2.js
|
1208
1208
|
- lib/mihari/web/public/assets/index-dVaNxqTC.css
|
1209
1209
|
- lib/mihari/web/public/assets/mode-yaml-BC4MIiYj.js
|
1210
1210
|
- lib/mihari/web/public/favicon.ico
|
@@ -1214,7 +1214,6 @@ files:
|
|
1214
1214
|
- mkdocs.yml
|
1215
1215
|
- renovate.json
|
1216
1216
|
- requirements.txt
|
1217
|
-
- test.json.jbuilder
|
1218
1217
|
homepage: https://github.com/ninoseki/mihari
|
1219
1218
|
licenses:
|
1220
1219
|
- MIT
|