mihari 7.1.1 → 7.1.3

Sign up to get free protection for your applications and to get access to all the features.
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.class_keys.map { |key| [key, 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.class_keys.map { |key| [key, 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.class_keys.map { |key| [key, 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.5.4"
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.1"
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.15"
107
- spec.add_dependency "sentry-sidekiq", "~> 5.15"
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.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-08 00:00:00.000000000 Z
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.5.4
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.5.4
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.1
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.1
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.15'
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.15'
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.15'
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.15'
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-U5u7qHZZ.js
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
data/test.json.jbuilder DELETED
@@ -1,7 +0,0 @@
1
- json.query "submit_ioc"
2
- json.threat_type "payload_delivery"
3
- json.ioc_type "domain"
4
- json.malware "foobar"
5
- json.confidence_level 100
6
- json.anonymous 0
7
- json.iocs artifacts.map(&:data)