mihari 5.4.8 → 5.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/analyzers/binaryedge.md +2 -2
- data/docs/analyzers/censys.md +3 -3
- data/docs/analyzers/circl.md +3 -3
- data/docs/analyzers/crtsh.md +2 -2
- data/docs/analyzers/dnstwister.md +1 -1
- data/docs/analyzers/feed.md +7 -7
- data/docs/analyzers/greynoise.md +2 -2
- data/docs/analyzers/hunterhow.md +4 -4
- data/docs/analyzers/index.md +13 -8
- data/docs/analyzers/onyphe.md +2 -2
- data/docs/analyzers/otx.md +2 -2
- data/docs/analyzers/passivetotal.md +3 -3
- data/docs/analyzers/pulsedive.md +2 -2
- data/docs/analyzers/securitytrails.md +2 -2
- data/docs/analyzers/shodan.md +2 -2
- data/docs/analyzers/urlscan.md +2 -2
- data/docs/analyzers/virustotal.md +2 -2
- data/docs/analyzers/virustotal_intelligence.md +2 -2
- data/docs/analyzers/zoomeye.md +3 -3
- data/docs/emitters/hive.md +3 -3
- data/docs/emitters/index.md +29 -0
- data/docs/emitters/misp.md +2 -2
- data/docs/emitters/slack.md +2 -2
- data/docs/emitters/webhook.md +4 -4
- data/docs/enrichers/index.md +29 -0
- data/docs/enrichers/ipinfo.md +7 -0
- data/docs/index.md +0 -2
- data/docs/installation.md +1 -1
- data/docs/rule.md +11 -11
- data/frontend/package-lock.json +294 -2772
- data/frontend/package.json +10 -10
- data/lib/mihari/analyzers/base.rb +15 -8
- data/lib/mihari/analyzers/binaryedge.rb +5 -1
- data/lib/mihari/analyzers/censys.rb +6 -1
- data/lib/mihari/analyzers/greynoise.rb +5 -1
- data/lib/mihari/analyzers/hunterhow.rb +5 -1
- data/lib/mihari/analyzers/onyphe.rb +5 -1
- data/lib/mihari/analyzers/rule.rb +43 -7
- data/lib/mihari/analyzers/shodan.rb +5 -1
- data/lib/mihari/analyzers/urlscan.rb +5 -1
- data/lib/mihari/analyzers/virustotal_intelligence.rb +5 -1
- data/lib/mihari/analyzers/zoomeye.rb +5 -1
- data/lib/mihari/clients/base.rb +7 -7
- data/lib/mihari/clients/binaryedge.rb +10 -4
- data/lib/mihari/clients/censys.rb +11 -4
- data/lib/mihari/clients/greynoise.rb +10 -4
- data/lib/mihari/clients/hunterhow.rb +10 -4
- data/lib/mihari/clients/misp.rb +3 -2
- data/lib/mihari/clients/onyphe.rb +10 -4
- data/lib/mihari/clients/shodan.rb +10 -4
- data/lib/mihari/clients/the_hive.rb +3 -2
- data/lib/mihari/clients/urlscan.rb +9 -3
- data/lib/mihari/clients/virustotal.rb +10 -4
- data/lib/mihari/clients/zoomeye.rb +11 -5
- data/lib/mihari/config.rb +8 -0
- data/lib/mihari/emitters/base.rb +49 -12
- data/lib/mihari/emitters/misp.rb +7 -6
- data/lib/mihari/emitters/slack.rb +24 -6
- data/lib/mihari/emitters/the_hive.rb +8 -7
- data/lib/mihari/emitters/webhook.rb +31 -29
- data/lib/mihari/enrichers/base.rb +53 -16
- data/lib/mihari/enrichers/google_public_dns.rb +33 -42
- data/lib/mihari/enrichers/ipinfo.rb +32 -34
- data/lib/mihari/enrichers/shodan.rb +18 -26
- data/lib/mihari/enrichers/whois.rb +121 -111
- data/lib/mihari/http.rb +3 -1
- data/lib/mihari/mixins/retriable.rb +4 -2
- data/lib/mihari/models/artifact.rb +37 -23
- data/lib/mihari/models/autonomous_system.rb +3 -2
- data/lib/mihari/models/cpe.rb +3 -2
- data/lib/mihari/models/dns.rb +3 -2
- data/lib/mihari/models/geolocation.rb +3 -2
- data/lib/mihari/models/port.rb +3 -2
- data/lib/mihari/models/reverse_dns.rb +3 -2
- data/lib/mihari/models/whois.rb +4 -3
- data/lib/mihari/schemas/analyzer.rb +2 -1
- data/lib/mihari/schemas/emitter.rb +39 -25
- data/lib/mihari/schemas/enricher.rb +28 -2
- data/lib/mihari/schemas/rule.rb +6 -2
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/endpoints/ip_addresses.rb +1 -1
- data/lib/mihari/web/public/assets/index-b5d817a3.js +1749 -0
- data/lib/mihari/web/public/index.html +1 -1
- data/lib/mihari/web/public/redoc-static.html +400 -400
- data/mihari.gemspec +2 -2
- data/mkdocs.yml +8 -6
- data/requirements.txt +1 -1
- metadata +7 -7
- data/lib/mihari/web/public/assets/index-a92abd57.js +0 -1740
data/mihari.gemspec
CHANGED
@@ -66,7 +66,7 @@ Gem::Specification.new do |spec|
|
|
66
66
|
spec.add_dependency "awrence", "2.0.1"
|
67
67
|
spec.add_dependency "dotenv", "2.8.1"
|
68
68
|
spec.add_dependency "dry-container", "0.11.0"
|
69
|
-
spec.add_dependency "dry-files", "1.0
|
69
|
+
spec.add_dependency "dry-files", "1.1.0"
|
70
70
|
spec.add_dependency "dry-monads", "1.6.0"
|
71
71
|
spec.add_dependency "dry-schema", "1.13.3"
|
72
72
|
spec.add_dependency "dry-struct", "1.6.0"
|
@@ -93,7 +93,7 @@ Gem::Specification.new do |spec|
|
|
93
93
|
spec.add_dependency "sentry-ruby", "5.12.0"
|
94
94
|
spec.add_dependency "slack-notifier", "2.4.0"
|
95
95
|
spec.add_dependency "sqlite3", "1.6.7"
|
96
|
-
spec.add_dependency "thor", "1.
|
96
|
+
spec.add_dependency "thor", "1.3.0"
|
97
97
|
spec.add_dependency "uuidtools", "2.2.0"
|
98
98
|
spec.add_dependency "whois", "5.1.0"
|
99
99
|
spec.add_dependency "whois-parser", "2.0.0"
|
data/mkdocs.yml
CHANGED
@@ -13,17 +13,19 @@ plugins:
|
|
13
13
|
case: lower
|
14
14
|
|
15
15
|
nav:
|
16
|
-
- Mihari: index.md
|
17
16
|
- Requirements: requirements.md
|
18
17
|
- Installation: installation.md
|
19
18
|
- How to Write a Rule: rule.md
|
20
19
|
- Usage: usage.md
|
21
20
|
- Configuration: configuration.md
|
22
|
-
-
|
23
|
-
|
24
|
-
|
25
|
-
-
|
26
|
-
|
21
|
+
- Tips:
|
22
|
+
- GitHub Actions: github_actions.md
|
23
|
+
- Alternatives: alternatives.md
|
24
|
+
- References:
|
25
|
+
- Analyzers: "analyzers/index.md"
|
26
|
+
- Enrichers: "enrichers/index.md"
|
27
|
+
- Emitters: "emitters/index.md"
|
28
|
+
- Tags: "./tags.md"
|
27
29
|
|
28
30
|
markdown_extensions:
|
29
31
|
- toc:
|
data/requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
mkdocs==1.5.3
|
2
|
-
mkdocs-material==9.4.
|
2
|
+
mkdocs-material==9.4.6
|
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.
|
4
|
+
version: 5.5.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: 2023-10-
|
11
|
+
date: 2023-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -380,14 +380,14 @@ dependencies:
|
|
380
380
|
requirements:
|
381
381
|
- - '='
|
382
382
|
- !ruby/object:Gem::Version
|
383
|
-
version: 1.0
|
383
|
+
version: 1.1.0
|
384
384
|
type: :runtime
|
385
385
|
prerelease: false
|
386
386
|
version_requirements: !ruby/object:Gem::Requirement
|
387
387
|
requirements:
|
388
388
|
- - '='
|
389
389
|
- !ruby/object:Gem::Version
|
390
|
-
version: 1.0
|
390
|
+
version: 1.1.0
|
391
391
|
- !ruby/object:Gem::Dependency
|
392
392
|
name: dry-monads
|
393
393
|
requirement: !ruby/object:Gem::Requirement
|
@@ -758,14 +758,14 @@ dependencies:
|
|
758
758
|
requirements:
|
759
759
|
- - '='
|
760
760
|
- !ruby/object:Gem::Version
|
761
|
-
version: 1.
|
761
|
+
version: 1.3.0
|
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: 1.
|
768
|
+
version: 1.3.0
|
769
769
|
- !ruby/object:Gem::Dependency
|
770
770
|
name: uuidtools
|
771
771
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1095,7 +1095,7 @@ files:
|
|
1095
1095
|
- lib/mihari/web/middleware/connection_adapter.rb
|
1096
1096
|
- lib/mihari/web/middleware/error_notification_adapter.rb
|
1097
1097
|
- lib/mihari/web/public/assets/index-33165282.css
|
1098
|
-
- lib/mihari/web/public/assets/index-
|
1098
|
+
- lib/mihari/web/public/assets/index-b5d817a3.js
|
1099
1099
|
- lib/mihari/web/public/assets/mode-yaml-a21faa53.js
|
1100
1100
|
- lib/mihari/web/public/favicon.ico
|
1101
1101
|
- lib/mihari/web/public/index.html
|