mihari 5.1.4 → 5.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mihari/commands/web.rb +12 -8
  3. data/lib/mihari/entities/artifact.rb +3 -2
  4. data/lib/mihari/mixins/configurable.rb +3 -1
  5. data/lib/mihari/models/alert.rb +16 -12
  6. data/lib/mihari/models/rule.rb +1 -2
  7. data/lib/mihari/schemas/rule.rb +1 -0
  8. data/lib/mihari/structs/filters.rb +1 -15
  9. data/lib/mihari/structs/rule.rb +1 -1
  10. data/lib/mihari/version.rb +1 -1
  11. data/lib/mihari/web/app.rb +9 -7
  12. data/lib/mihari/web/endpoints/alerts.rb +7 -20
  13. data/lib/mihari/web/endpoints/rules.rb +4 -11
  14. data/lib/mihari/web/public/assets/{fa-brands-400-2ef6fdde.ttf → fa-brands-400-20c4a58b.ttf} +0 -0
  15. data/lib/mihari/web/public/assets/fa-brands-400-74833209.woff2 +0 -0
  16. data/lib/mihari/web/public/assets/{fa-regular-400-12dea17b.ttf → fa-regular-400-528d022d.ttf} +0 -0
  17. data/lib/mihari/web/public/assets/fa-regular-400-8e7e5ea1.woff2 +0 -0
  18. data/lib/mihari/web/public/assets/{fa-solid-900-67a880b4.ttf → fa-solid-900-67a65763.ttf} +0 -0
  19. data/lib/mihari/web/public/assets/fa-solid-900-7152a693.woff2 +0 -0
  20. data/lib/mihari/web/public/assets/{fa-v4compatibility-8d9500e8.ttf → fa-v4compatibility-0515a423.ttf} +0 -0
  21. data/lib/mihari/web/public/assets/fa-v4compatibility-694a17c3.woff2 +0 -0
  22. data/lib/mihari/web/public/assets/index-cbe1734c.js +50 -0
  23. data/lib/mihari/web/public/assets/index-eed1bcd8.css +5 -0
  24. data/lib/mihari/web/public/index.html +2 -2
  25. data/lib/mihari/web/public/redoc-static.html +7 -4
  26. data/lib/mihari.rb +2 -0
  27. data/mihari.gemspec +13 -13
  28. metadata +40 -40
  29. data/lib/mihari/web/public/assets/fa-brands-400-f4617423.woff2 +0 -0
  30. data/lib/mihari/web/public/assets/fa-regular-400-7ba24c41.woff2 +0 -0
  31. data/lib/mihari/web/public/assets/fa-solid-900-e2c5cf54.woff2 +0 -0
  32. data/lib/mihari/web/public/assets/fa-v4compatibility-7c377405.woff2 +0 -0
  33. data/lib/mihari/web/public/assets/index-625e95fe.css +0 -5
  34. data/lib/mihari/web/public/assets/index-7d0fb8c4.js +0 -50
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: 5.1.4
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manabu Niseki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-28 00:00:00.000000000 Z
11
+ date: 2023-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.0'
103
+ version: '2.1'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.0'
110
+ version: '2.1'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '1.25'
187
+ version: '1.27'
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.25'
194
+ version: '1.27'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: timecop
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -296,14 +296,14 @@ dependencies:
296
296
  requirements:
297
297
  - - '='
298
298
  - !ruby/object:Gem::Version
299
- version: 2.8.1
299
+ version: 2.8.4
300
300
  type: :runtime
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - '='
305
305
  - !ruby/object:Gem::Version
306
- version: 2.8.1
306
+ version: 2.8.4
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: awrence
309
309
  requirement: !ruby/object:Gem::Requirement
@@ -394,14 +394,14 @@ dependencies:
394
394
  requirements:
395
395
  - - '='
396
396
  - !ruby/object:Gem::Version
397
- version: 1.13.0
397
+ version: 1.13.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: 1.13.0
404
+ version: 1.13.1
405
405
  - !ruby/object:Gem::Dependency
406
406
  name: dry-struct
407
407
  requirement: !ruby/object:Gem::Requirement
@@ -478,14 +478,14 @@ dependencies:
478
478
  requirements:
479
479
  - - '='
480
480
  - !ruby/object:Gem::Version
481
- version: 1.5.0
481
+ version: 1.6.0
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.5.0
488
+ version: 1.6.0
489
489
  - !ruby/object:Gem::Dependency
490
490
  name: grape-swagger-entity
491
491
  requirement: !ruby/object:Gem::Requirement
@@ -590,14 +590,14 @@ dependencies:
590
590
  requirements:
591
591
  - - '='
592
592
  - !ruby/object:Gem::Version
593
- version: 1.22.1
593
+ version: 1.23.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: 1.22.1
600
+ version: 1.23.0
601
601
  - !ruby/object:Gem::Dependency
602
602
  name: plissken
603
603
  requirement: !ruby/object:Gem::Requirement
@@ -632,84 +632,84 @@ dependencies:
632
632
  requirements:
633
633
  - - '='
634
634
  - !ruby/object:Gem::Version
635
- version: 6.0.2
635
+ version: 6.2.2
636
636
  type: :runtime
637
637
  prerelease: false
638
638
  version_requirements: !ruby/object:Gem::Requirement
639
639
  requirements:
640
640
  - - '='
641
641
  - !ruby/object:Gem::Version
642
- version: 6.0.2
642
+ version: 6.2.2
643
643
  - !ruby/object:Gem::Dependency
644
644
  name: rack
645
645
  requirement: !ruby/object:Gem::Requirement
646
646
  requirements:
647
647
  - - '='
648
648
  - !ruby/object:Gem::Version
649
- version: 2.2.4
649
+ version: 3.0.7
650
650
  type: :runtime
651
651
  prerelease: false
652
652
  version_requirements: !ruby/object:Gem::Requirement
653
653
  requirements:
654
654
  - - '='
655
655
  - !ruby/object:Gem::Version
656
- version: 2.2.4
656
+ version: 3.0.7
657
657
  - !ruby/object:Gem::Dependency
658
- name: rack-contrib
658
+ name: rack-cors
659
659
  requirement: !ruby/object:Gem::Requirement
660
660
  requirements:
661
661
  - - '='
662
662
  - !ruby/object:Gem::Version
663
- version: 2.3.0
663
+ version: 2.0.1
664
664
  type: :runtime
665
665
  prerelease: false
666
666
  version_requirements: !ruby/object:Gem::Requirement
667
667
  requirements:
668
668
  - - '='
669
669
  - !ruby/object:Gem::Version
670
- version: 2.3.0
670
+ version: 2.0.1
671
671
  - !ruby/object:Gem::Dependency
672
- name: rack-cors
672
+ name: rackup
673
673
  requirement: !ruby/object:Gem::Requirement
674
674
  requirements:
675
675
  - - '='
676
676
  - !ruby/object:Gem::Version
677
- version: 1.1.1
677
+ version: 2.1.0
678
678
  type: :runtime
679
679
  prerelease: false
680
680
  version_requirements: !ruby/object:Gem::Requirement
681
681
  requirements:
682
682
  - - '='
683
683
  - !ruby/object:Gem::Version
684
- version: 1.1.1
684
+ version: 2.1.0
685
685
  - !ruby/object:Gem::Dependency
686
686
  name: semantic_logger
687
687
  requirement: !ruby/object:Gem::Requirement
688
688
  requirements:
689
689
  - - '='
690
690
  - !ruby/object:Gem::Version
691
- version: 4.12.0
691
+ version: 4.13.0
692
692
  type: :runtime
693
693
  prerelease: false
694
694
  version_requirements: !ruby/object:Gem::Requirement
695
695
  requirements:
696
696
  - - '='
697
697
  - !ruby/object:Gem::Version
698
- version: 4.12.0
698
+ version: 4.13.0
699
699
  - !ruby/object:Gem::Dependency
700
700
  name: sentry-ruby
701
701
  requirement: !ruby/object:Gem::Requirement
702
702
  requirements:
703
703
  - - '='
704
704
  - !ruby/object:Gem::Version
705
- version: 5.8.0
705
+ version: 5.9.0
706
706
  type: :runtime
707
707
  prerelease: false
708
708
  version_requirements: !ruby/object:Gem::Requirement
709
709
  requirements:
710
710
  - - '='
711
711
  - !ruby/object:Gem::Version
712
- version: 5.8.0
712
+ version: 5.9.0
713
713
  - !ruby/object:Gem::Dependency
714
714
  name: slack-notifier
715
715
  requirement: !ruby/object:Gem::Requirement
@@ -730,14 +730,14 @@ dependencies:
730
730
  requirements:
731
731
  - - '='
732
732
  - !ruby/object:Gem::Version
733
- version: 1.6.1
733
+ version: 1.6.2
734
734
  type: :runtime
735
735
  prerelease: false
736
736
  version_requirements: !ruby/object:Gem::Requirement
737
737
  requirements:
738
738
  - - '='
739
739
  - !ruby/object:Gem::Version
740
- version: 1.6.1
740
+ version: 1.6.2
741
741
  - !ruby/object:Gem::Dependency
742
742
  name: thor
743
743
  requirement: !ruby/object:Gem::Requirement
@@ -959,16 +959,16 @@ files:
959
959
  - lib/mihari/web/endpoints/tags.rb
960
960
  - lib/mihari/web/middleware/connection_adapter.rb
961
961
  - lib/mihari/web/middleware/error_notification_adapter.rb
962
- - lib/mihari/web/public/assets/fa-brands-400-2ef6fdde.ttf
963
- - lib/mihari/web/public/assets/fa-brands-400-f4617423.woff2
964
- - lib/mihari/web/public/assets/fa-regular-400-12dea17b.ttf
965
- - lib/mihari/web/public/assets/fa-regular-400-7ba24c41.woff2
966
- - lib/mihari/web/public/assets/fa-solid-900-67a880b4.ttf
967
- - lib/mihari/web/public/assets/fa-solid-900-e2c5cf54.woff2
968
- - lib/mihari/web/public/assets/fa-v4compatibility-7c377405.woff2
969
- - lib/mihari/web/public/assets/fa-v4compatibility-8d9500e8.ttf
970
- - lib/mihari/web/public/assets/index-625e95fe.css
971
- - lib/mihari/web/public/assets/index-7d0fb8c4.js
962
+ - lib/mihari/web/public/assets/fa-brands-400-20c4a58b.ttf
963
+ - lib/mihari/web/public/assets/fa-brands-400-74833209.woff2
964
+ - lib/mihari/web/public/assets/fa-regular-400-528d022d.ttf
965
+ - lib/mihari/web/public/assets/fa-regular-400-8e7e5ea1.woff2
966
+ - lib/mihari/web/public/assets/fa-solid-900-67a65763.ttf
967
+ - lib/mihari/web/public/assets/fa-solid-900-7152a693.woff2
968
+ - lib/mihari/web/public/assets/fa-v4compatibility-0515a423.ttf
969
+ - lib/mihari/web/public/assets/fa-v4compatibility-694a17c3.woff2
970
+ - lib/mihari/web/public/assets/index-cbe1734c.js
971
+ - lib/mihari/web/public/assets/index-eed1bcd8.css
972
972
  - lib/mihari/web/public/favicon.ico
973
973
  - lib/mihari/web/public/index.html
974
974
  - lib/mihari/web/public/redoc-static.html