mihari 4.7.2 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -0
  3. data/.rubocop.yml +4 -0
  4. data/lib/mihari/commands/validator.rb +2 -1
  5. data/lib/mihari/schemas/rule.rb +5 -0
  6. data/lib/mihari/structs/rule.rb +12 -28
  7. data/lib/mihari/version.rb +1 -1
  8. data/lib/mihari/web/public/index.html +1 -1
  9. data/lib/mihari/web/public/redoc-static.html +282 -246
  10. data/lib/mihari/web/public/static/css/{chunk-vendors.5013d549.css → chunk-vendors.380724be.css} +2 -2
  11. data/lib/mihari/web/public/static/fonts/fa-brands-400.86c7e1fa.woff2 +0 -0
  12. data/lib/mihari/web/public/static/fonts/{fa-brands-400.7fa789ab.ttf → fa-brands-400.f5defc2e.ttf} +0 -0
  13. data/lib/mihari/web/public/static/fonts/{fa-regular-400.da02cb7e.ttf → fa-regular-400.3edb9004.ttf} +0 -0
  14. data/lib/mihari/web/public/static/fonts/fa-regular-400.e0550912.woff2 +0 -0
  15. data/lib/mihari/web/public/static/fonts/fa-solid-900.64d5644d.woff2 +0 -0
  16. data/lib/mihari/web/public/static/fonts/{fa-solid-900.3a463ec3.ttf → fa-solid-900.f418d876.ttf} +0 -0
  17. data/lib/mihari/web/public/static/fonts/{fa-v4compatibility.924588dc.ttf → fa-v4compatibility.7e7e1dad.ttf} +0 -0
  18. data/lib/mihari/web/public/static/js/app.6413bf4f.js +2 -0
  19. data/lib/mihari/web/public/static/js/app.6413bf4f.js.map +1 -0
  20. data/lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js +31 -0
  21. data/lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js.map +1 -0
  22. data/mihari.gemspec +18 -18
  23. metadata +51 -50
  24. data/lib/mihari/web/public/static/fonts/fa-brands-400.859fc388.woff2 +0 -0
  25. data/lib/mihari/web/public/static/fonts/fa-regular-400.2ffd018f.woff2 +0 -0
  26. data/lib/mihari/web/public/static/fonts/fa-solid-900.40ddefd7.woff2 +0 -0
  27. data/lib/mihari/web/public/static/js/app.3ac3bd7a.js +0 -2
  28. data/lib/mihari/web/public/static/js/app.3ac3bd7a.js.map +0 -1
  29. data/lib/mihari/web/public/static/js/chunk-vendors.37b7208e.js +0 -31
  30. data/lib/mihari/web/public/static/js/chunk-vendors.37b7208e.js.map +0 -1
data/mihari.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
 
30
30
  spec.add_development_dependency "bundler", "~> 2.3"
31
- spec.add_development_dependency "coveralls_reborn", "~> 0.24"
31
+ spec.add_development_dependency "coveralls_reborn", "~> 0.25"
32
32
  spec.add_development_dependency "fakefs", "~> 1.8"
33
33
  spec.add_development_dependency "mysql2", "~> 0.5"
34
34
  spec.add_development_dependency "overcommit", "~> 0.59"
@@ -39,37 +39,37 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency "rerun", "~> 0.13"
40
40
  spec.add_development_dependency "rspec", "~> 3.11"
41
41
  spec.add_development_dependency "simplecov-lcov", "~> 0.8.0"
42
- spec.add_development_dependency "standard", "~> 1.12"
43
- spec.add_development_dependency "steep", "~> 1.0"
42
+ spec.add_development_dependency "standard", "~> 1.16"
43
+ spec.add_development_dependency "steep", "~> 1.1"
44
44
  spec.add_development_dependency "timecop", "~> 0.9"
45
45
  spec.add_development_dependency "vcr", "~> 6.1"
46
- spec.add_development_dependency "webmock", "~> 3.14"
46
+ spec.add_development_dependency "webmock", "~> 3.18"
47
47
 
48
- spec.add_dependency "activerecord", "7.0.3"
49
- spec.add_dependency "addressable", "2.8.0"
48
+ spec.add_dependency "activerecord", "7.0.3.1"
49
+ spec.add_dependency "addressable", "2.8.1"
50
50
  spec.add_dependency "awrence", "2.0.1"
51
51
  spec.add_dependency "binaryedge", "0.1.0"
52
52
  spec.add_dependency "censysx", "0.1.1"
53
53
  spec.add_dependency "crtsh-rb", "0.3.1"
54
54
  spec.add_dependency "dnpedia", "0.1.0"
55
55
  spec.add_dependency "dnstwister", "0.1.0"
56
- spec.add_dependency "dotenv", "2.7.6"
56
+ spec.add_dependency "dotenv", "2.8.1"
57
57
  spec.add_dependency "dry-configurable", "0.15.0"
58
- spec.add_dependency "dry-container", "0.9.0"
59
- spec.add_dependency "dry-files", "0.1.0"
58
+ spec.add_dependency "dry-container", "0.10.1"
59
+ spec.add_dependency "dry-files", "0.2.0"
60
60
  spec.add_dependency "dry-initializer", "3.1.1"
61
- spec.add_dependency "dry-schema", "1.9.3"
61
+ spec.add_dependency "dry-schema", "1.10.2"
62
62
  spec.add_dependency "dry-struct", "1.4.0"
63
63
  spec.add_dependency "dry-validation", "1.8.1"
64
- spec.add_dependency "email_address", "0.2.3"
64
+ spec.add_dependency "email_address", "0.2.4"
65
65
  spec.add_dependency "grape", "1.6.2"
66
- spec.add_dependency "grape-entity", "0.10.1"
67
- spec.add_dependency "grape-swagger", "1.4.2"
66
+ spec.add_dependency "grape-entity", "0.10.2"
67
+ spec.add_dependency "grape-swagger", "1.5.0"
68
68
  spec.add_dependency "grape-swagger-entity", "0.5.1"
69
69
  spec.add_dependency "greynoise", "0.1.1"
70
70
  spec.add_dependency "hachi", "2.0.0"
71
71
  spec.add_dependency "insensitive_hash", "0.3.3"
72
- spec.add_dependency "jr-cli", "0.5.1"
72
+ spec.add_dependency "jr-cli", "0.6.0"
73
73
  spec.add_dependency "launchy", "2.5.0"
74
74
  spec.add_dependency "memist", "2.0.2"
75
75
  spec.add_dependency "misp", "0.1.4"
@@ -80,15 +80,15 @@ Gem::Specification.new do |spec|
80
80
  spec.add_dependency "passive_circl", "0.1.0"
81
81
  spec.add_dependency "passivetotalx", "0.1.1"
82
82
  spec.add_dependency "plissken", "2.0.1"
83
- spec.add_dependency "public_suffix", "4.0.7"
83
+ spec.add_dependency "public_suffix", "5.0.0"
84
84
  spec.add_dependency "pulsedive", "0.1.5"
85
- spec.add_dependency "puma", "5.6.4"
86
- spec.add_dependency "rack", "2.2.3.1"
85
+ spec.add_dependency "puma", "5.6.5"
86
+ spec.add_dependency "rack", "2.2.4"
87
87
  spec.add_dependency "rack-contrib", "2.3.0"
88
88
  spec.add_dependency "rack-cors", "1.1.1"
89
89
  spec.add_dependency "securitytrails", "1.0.0"
90
90
  spec.add_dependency "semantic_logger", "4.11.0"
91
- spec.add_dependency "sentry-ruby", "5.3.1"
91
+ spec.add_dependency "sentry-ruby", "5.4.2"
92
92
  spec.add_dependency "shodanx", "0.2.1"
93
93
  spec.add_dependency "slack-notifier", "2.4.0"
94
94
  spec.add_dependency "spysex", "0.2.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: 4.7.2
4
+ version: 4.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manabu Niseki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-26 00:00:00.000000000 Z
11
+ date: 2022-08-28 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.24'
33
+ version: '0.25'
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.24'
40
+ version: '0.25'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: fakefs
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -184,28 +184,28 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '1.12'
187
+ version: '1.16'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '1.12'
194
+ version: '1.16'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: steep
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '1.0'
201
+ version: '1.1'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '1.0'
208
+ version: '1.1'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: timecop
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -240,42 +240,42 @@ dependencies:
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: '3.14'
243
+ version: '3.18'
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: '3.14'
250
+ version: '3.18'
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: activerecord
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
255
  - - '='
256
256
  - !ruby/object:Gem::Version
257
- version: 7.0.3
257
+ version: 7.0.3.1
258
258
  type: :runtime
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - '='
263
263
  - !ruby/object:Gem::Version
264
- version: 7.0.3
264
+ version: 7.0.3.1
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: addressable
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
269
  - - '='
270
270
  - !ruby/object:Gem::Version
271
- version: 2.8.0
271
+ version: 2.8.1
272
272
  type: :runtime
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - '='
277
277
  - !ruby/object:Gem::Version
278
- version: 2.8.0
278
+ version: 2.8.1
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: awrence
281
281
  requirement: !ruby/object:Gem::Requirement
@@ -366,14 +366,14 @@ dependencies:
366
366
  requirements:
367
367
  - - '='
368
368
  - !ruby/object:Gem::Version
369
- version: 2.7.6
369
+ version: 2.8.1
370
370
  type: :runtime
371
371
  prerelease: false
372
372
  version_requirements: !ruby/object:Gem::Requirement
373
373
  requirements:
374
374
  - - '='
375
375
  - !ruby/object:Gem::Version
376
- version: 2.7.6
376
+ version: 2.8.1
377
377
  - !ruby/object:Gem::Dependency
378
378
  name: dry-configurable
379
379
  requirement: !ruby/object:Gem::Requirement
@@ -394,28 +394,28 @@ dependencies:
394
394
  requirements:
395
395
  - - '='
396
396
  - !ruby/object:Gem::Version
397
- version: 0.9.0
397
+ version: 0.10.1
398
398
  type: :runtime
399
399
  prerelease: false
400
400
  version_requirements: !ruby/object:Gem::Requirement
401
401
  requirements:
402
402
  - - '='
403
403
  - !ruby/object:Gem::Version
404
- version: 0.9.0
404
+ version: 0.10.1
405
405
  - !ruby/object:Gem::Dependency
406
406
  name: dry-files
407
407
  requirement: !ruby/object:Gem::Requirement
408
408
  requirements:
409
409
  - - '='
410
410
  - !ruby/object:Gem::Version
411
- version: 0.1.0
411
+ version: 0.2.0
412
412
  type: :runtime
413
413
  prerelease: false
414
414
  version_requirements: !ruby/object:Gem::Requirement
415
415
  requirements:
416
416
  - - '='
417
417
  - !ruby/object:Gem::Version
418
- version: 0.1.0
418
+ version: 0.2.0
419
419
  - !ruby/object:Gem::Dependency
420
420
  name: dry-initializer
421
421
  requirement: !ruby/object:Gem::Requirement
@@ -436,14 +436,14 @@ dependencies:
436
436
  requirements:
437
437
  - - '='
438
438
  - !ruby/object:Gem::Version
439
- version: 1.9.3
439
+ version: 1.10.2
440
440
  type: :runtime
441
441
  prerelease: false
442
442
  version_requirements: !ruby/object:Gem::Requirement
443
443
  requirements:
444
444
  - - '='
445
445
  - !ruby/object:Gem::Version
446
- version: 1.9.3
446
+ version: 1.10.2
447
447
  - !ruby/object:Gem::Dependency
448
448
  name: dry-struct
449
449
  requirement: !ruby/object:Gem::Requirement
@@ -478,14 +478,14 @@ dependencies:
478
478
  requirements:
479
479
  - - '='
480
480
  - !ruby/object:Gem::Version
481
- version: 0.2.3
481
+ version: 0.2.4
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: 0.2.3
488
+ version: 0.2.4
489
489
  - !ruby/object:Gem::Dependency
490
490
  name: grape
491
491
  requirement: !ruby/object:Gem::Requirement
@@ -506,28 +506,28 @@ dependencies:
506
506
  requirements:
507
507
  - - '='
508
508
  - !ruby/object:Gem::Version
509
- version: 0.10.1
509
+ version: 0.10.2
510
510
  type: :runtime
511
511
  prerelease: false
512
512
  version_requirements: !ruby/object:Gem::Requirement
513
513
  requirements:
514
514
  - - '='
515
515
  - !ruby/object:Gem::Version
516
- version: 0.10.1
516
+ version: 0.10.2
517
517
  - !ruby/object:Gem::Dependency
518
518
  name: grape-swagger
519
519
  requirement: !ruby/object:Gem::Requirement
520
520
  requirements:
521
521
  - - '='
522
522
  - !ruby/object:Gem::Version
523
- version: 1.4.2
523
+ version: 1.5.0
524
524
  type: :runtime
525
525
  prerelease: false
526
526
  version_requirements: !ruby/object:Gem::Requirement
527
527
  requirements:
528
528
  - - '='
529
529
  - !ruby/object:Gem::Version
530
- version: 1.4.2
530
+ version: 1.5.0
531
531
  - !ruby/object:Gem::Dependency
532
532
  name: grape-swagger-entity
533
533
  requirement: !ruby/object:Gem::Requirement
@@ -590,14 +590,14 @@ dependencies:
590
590
  requirements:
591
591
  - - '='
592
592
  - !ruby/object:Gem::Version
593
- version: 0.5.1
593
+ version: 0.6.0
594
594
  type: :runtime
595
595
  prerelease: false
596
596
  version_requirements: !ruby/object:Gem::Requirement
597
597
  requirements:
598
598
  - - '='
599
599
  - !ruby/object:Gem::Version
600
- version: 0.5.1
600
+ version: 0.6.0
601
601
  - !ruby/object:Gem::Dependency
602
602
  name: launchy
603
603
  requirement: !ruby/object:Gem::Requirement
@@ -744,14 +744,14 @@ dependencies:
744
744
  requirements:
745
745
  - - '='
746
746
  - !ruby/object:Gem::Version
747
- version: 4.0.7
747
+ version: 5.0.0
748
748
  type: :runtime
749
749
  prerelease: false
750
750
  version_requirements: !ruby/object:Gem::Requirement
751
751
  requirements:
752
752
  - - '='
753
753
  - !ruby/object:Gem::Version
754
- version: 4.0.7
754
+ version: 5.0.0
755
755
  - !ruby/object:Gem::Dependency
756
756
  name: pulsedive
757
757
  requirement: !ruby/object:Gem::Requirement
@@ -772,28 +772,28 @@ dependencies:
772
772
  requirements:
773
773
  - - '='
774
774
  - !ruby/object:Gem::Version
775
- version: 5.6.4
775
+ version: 5.6.5
776
776
  type: :runtime
777
777
  prerelease: false
778
778
  version_requirements: !ruby/object:Gem::Requirement
779
779
  requirements:
780
780
  - - '='
781
781
  - !ruby/object:Gem::Version
782
- version: 5.6.4
782
+ version: 5.6.5
783
783
  - !ruby/object:Gem::Dependency
784
784
  name: rack
785
785
  requirement: !ruby/object:Gem::Requirement
786
786
  requirements:
787
787
  - - '='
788
788
  - !ruby/object:Gem::Version
789
- version: 2.2.3.1
789
+ version: 2.2.4
790
790
  type: :runtime
791
791
  prerelease: false
792
792
  version_requirements: !ruby/object:Gem::Requirement
793
793
  requirements:
794
794
  - - '='
795
795
  - !ruby/object:Gem::Version
796
- version: 2.2.3.1
796
+ version: 2.2.4
797
797
  - !ruby/object:Gem::Dependency
798
798
  name: rack-contrib
799
799
  requirement: !ruby/object:Gem::Requirement
@@ -856,14 +856,14 @@ dependencies:
856
856
  requirements:
857
857
  - - '='
858
858
  - !ruby/object:Gem::Version
859
- version: 5.3.1
859
+ version: 5.4.2
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.3.1
866
+ version: 5.4.2
867
867
  - !ruby/object:Gem::Dependency
868
868
  name: shodanx
869
869
  requirement: !ruby/object:Gem::Requirement
@@ -1033,6 +1033,7 @@ files:
1033
1033
  - ".gitmodules"
1034
1034
  - ".overcommit.yml"
1035
1035
  - ".rspec"
1036
+ - ".rubocop.yml"
1036
1037
  - ".standard.yml"
1037
1038
  - Gemfile
1038
1039
  - LICENSE
@@ -1173,19 +1174,19 @@ files:
1173
1174
  - lib/mihari/web/public/index.html
1174
1175
  - lib/mihari/web/public/redoc-static.html
1175
1176
  - lib/mihari/web/public/static/css/app.2a5d3d21.css
1176
- - lib/mihari/web/public/static/css/chunk-vendors.5013d549.css
1177
+ - lib/mihari/web/public/static/css/chunk-vendors.380724be.css
1177
1178
  - lib/mihari/web/public/static/favicon.ico
1178
- - lib/mihari/web/public/static/fonts/fa-brands-400.7fa789ab.ttf
1179
- - lib/mihari/web/public/static/fonts/fa-brands-400.859fc388.woff2
1180
- - lib/mihari/web/public/static/fonts/fa-regular-400.2ffd018f.woff2
1181
- - lib/mihari/web/public/static/fonts/fa-regular-400.da02cb7e.ttf
1182
- - lib/mihari/web/public/static/fonts/fa-solid-900.3a463ec3.ttf
1183
- - lib/mihari/web/public/static/fonts/fa-solid-900.40ddefd7.woff2
1184
- - lib/mihari/web/public/static/fonts/fa-v4compatibility.924588dc.ttf
1185
- - lib/mihari/web/public/static/js/app.3ac3bd7a.js
1186
- - lib/mihari/web/public/static/js/app.3ac3bd7a.js.map
1187
- - lib/mihari/web/public/static/js/chunk-vendors.37b7208e.js
1188
- - lib/mihari/web/public/static/js/chunk-vendors.37b7208e.js.map
1179
+ - lib/mihari/web/public/static/fonts/fa-brands-400.86c7e1fa.woff2
1180
+ - lib/mihari/web/public/static/fonts/fa-brands-400.f5defc2e.ttf
1181
+ - lib/mihari/web/public/static/fonts/fa-regular-400.3edb9004.ttf
1182
+ - lib/mihari/web/public/static/fonts/fa-regular-400.e0550912.woff2
1183
+ - lib/mihari/web/public/static/fonts/fa-solid-900.64d5644d.woff2
1184
+ - lib/mihari/web/public/static/fonts/fa-solid-900.f418d876.ttf
1185
+ - lib/mihari/web/public/static/fonts/fa-v4compatibility.7e7e1dad.ttf
1186
+ - lib/mihari/web/public/static/js/app.6413bf4f.js
1187
+ - lib/mihari/web/public/static/js/app.6413bf4f.js.map
1188
+ - lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js
1189
+ - lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js.map
1189
1190
  - mihari.gemspec
1190
1191
  - renovate.json
1191
1192
  - sig/lib/mihari.rbs