mihari 7.1.3 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/Rakefile +8 -1
- data/lefthook.yml +4 -1
- data/lib/mihari/actor.rb +9 -0
- data/lib/mihari/analyzers/base.rb +7 -18
- data/lib/mihari/analyzers/binaryedge.rb +0 -6
- data/lib/mihari/analyzers/censys.rb +0 -9
- data/lib/mihari/analyzers/circl.rb +0 -6
- data/lib/mihari/analyzers/fofa.rb +0 -6
- data/lib/mihari/analyzers/greynoise.rb +0 -6
- data/lib/mihari/analyzers/hunterhow.rb +0 -6
- data/lib/mihari/analyzers/onyphe.rb +0 -6
- data/lib/mihari/analyzers/otx.rb +0 -6
- data/lib/mihari/analyzers/passivetotal.rb +0 -4
- data/lib/mihari/analyzers/pulsedive.rb +0 -6
- data/lib/mihari/analyzers/securitytrails.rb +0 -4
- data/lib/mihari/analyzers/shodan.rb +0 -6
- data/lib/mihari/analyzers/urlscan.rb +0 -6
- data/lib/mihari/analyzers/virustotal.rb +0 -4
- data/lib/mihari/analyzers/virustotal_intelligence.rb +7 -6
- data/lib/mihari/analyzers/zoomeye.rb +0 -6
- data/lib/mihari/commands/web.rb +1 -1
- data/lib/mihari/concerns/falsepositive_normalizable.rb +30 -0
- data/lib/mihari/concerns/falsepositive_validatable.rb +1 -17
- data/lib/mihari/config.rb +1 -1
- data/lib/mihari/database.rb +18 -1
- data/lib/mihari/emitters/database.rb +0 -6
- data/lib/mihari/emitters/misp.rb +0 -6
- data/lib/mihari/emitters/slack.rb +5 -21
- data/lib/mihari/emitters/the_hive.rb +0 -6
- data/lib/mihari/enrichers/whois.rb +5 -7
- data/lib/mihari/entities/artifact.rb +6 -2
- data/lib/mihari/entities/autonomous_system.rb +1 -1
- data/lib/mihari/entities/cpe.rb +1 -1
- data/lib/mihari/entities/port.rb +1 -1
- data/lib/mihari/entities/vulnerability.rb +10 -0
- data/lib/mihari/errors.rb +2 -0
- data/lib/mihari/models/artifact.rb +65 -30
- data/lib/mihari/models/vulnerability.rb +12 -0
- data/lib/mihari/rule.rb +18 -24
- data/lib/mihari/schemas/rule.rb +7 -0
- data/lib/mihari/services/builders.rb +22 -3
- data/lib/mihari/services/enrichers.rb +2 -0
- data/lib/mihari/services/feed.rb +2 -5
- data/lib/mihari/services/proxies.rb +3 -3
- data/lib/mihari/structs/censys.rb +2 -2
- data/lib/mihari/structs/greynoise.rb +1 -1
- data/lib/mihari/structs/onyphe.rb +1 -1
- data/lib/mihari/structs/shodan.rb +59 -21
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/endpoints/artifacts.rb +4 -2
- data/lib/mihari/web/endpoints/rules.rb +1 -1
- data/lib/mihari/web/public/assets/{index-TOeU8PE2.js → index-GWurHG1o.js} +46 -46
- data/lib/mihari/web/public/assets/{index-dVaNxqTC.css → index-ReF8ffd-.css} +1 -1
- data/lib/mihari/web/public/index.html +2 -2
- data/lib/mihari/web/public/redoc-static.html +17 -17
- data/lib/mihari.rb +3 -0
- metadata +7 -4
data/lib/mihari.rb
CHANGED
@@ -55,6 +55,7 @@ require "mihari/concerns/autonomous_system_normalizable"
|
|
55
55
|
require "mihari/concerns/configurable"
|
56
56
|
require "mihari/concerns/database_connectable"
|
57
57
|
require "mihari/concerns/error_unwrappable"
|
58
|
+
require "mihari/concerns/falsepositive_normalizable"
|
58
59
|
require "mihari/concerns/falsepositive_validatable"
|
59
60
|
require "mihari/concerns/refangable"
|
60
61
|
require "mihari/concerns/retriable"
|
@@ -207,6 +208,7 @@ require "mihari/models/reverse_dns"
|
|
207
208
|
require "mihari/models/rule"
|
208
209
|
require "mihari/models/tag"
|
209
210
|
require "mihari/models/tagging"
|
211
|
+
require "mihari/models/vulnerability"
|
210
212
|
require "mihari/models/whois"
|
211
213
|
|
212
214
|
# Emitters
|
@@ -323,6 +325,7 @@ require "mihari/entities/messages"
|
|
323
325
|
require "mihari/entities/port"
|
324
326
|
require "mihari/entities/reverse_dns"
|
325
327
|
require "mihari/entities/tag"
|
328
|
+
require "mihari/entities/vulnerability"
|
326
329
|
require "mihari/entities/whois"
|
327
330
|
|
328
331
|
require "mihari/entities/artifact"
|
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.
|
4
|
+
version: 7.2.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: 2024-01-
|
11
|
+
date: 2024-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: better_errors
|
@@ -1109,6 +1109,7 @@ files:
|
|
1109
1109
|
- lib/mihari/concerns/configurable.rb
|
1110
1110
|
- lib/mihari/concerns/database_connectable.rb
|
1111
1111
|
- lib/mihari/concerns/error_unwrappable.rb
|
1112
|
+
- lib/mihari/concerns/falsepositive_normalizable.rb
|
1112
1113
|
- lib/mihari/concerns/falsepositive_validatable.rb
|
1113
1114
|
- lib/mihari/concerns/refangable.rb
|
1114
1115
|
- lib/mihari/concerns/retriable.rb
|
@@ -1141,6 +1142,7 @@ files:
|
|
1141
1142
|
- lib/mihari/entities/reverse_dns.rb
|
1142
1143
|
- lib/mihari/entities/rule.rb
|
1143
1144
|
- lib/mihari/entities/tag.rb
|
1145
|
+
- lib/mihari/entities/vulnerability.rb
|
1144
1146
|
- lib/mihari/entities/whois.rb
|
1145
1147
|
- lib/mihari/errors.rb
|
1146
1148
|
- lib/mihari/http.rb
|
@@ -1156,6 +1158,7 @@ files:
|
|
1156
1158
|
- lib/mihari/models/rule.rb
|
1157
1159
|
- lib/mihari/models/tag.rb
|
1158
1160
|
- lib/mihari/models/tagging.rb
|
1161
|
+
- lib/mihari/models/vulnerability.rb
|
1159
1162
|
- lib/mihari/models/whois.rb
|
1160
1163
|
- lib/mihari/rule.rb
|
1161
1164
|
- lib/mihari/schemas/alert.rb
|
@@ -1204,8 +1207,8 @@ files:
|
|
1204
1207
|
- lib/mihari/web/endpoints/tags.rb
|
1205
1208
|
- lib/mihari/web/middleware/capture_exceptions.rb
|
1206
1209
|
- lib/mihari/web/middleware/connection.rb
|
1207
|
-
- lib/mihari/web/public/assets/index-
|
1208
|
-
- lib/mihari/web/public/assets/index-
|
1210
|
+
- lib/mihari/web/public/assets/index-GWurHG1o.js
|
1211
|
+
- lib/mihari/web/public/assets/index-ReF8ffd-.css
|
1209
1212
|
- lib/mihari/web/public/assets/mode-yaml-BC4MIiYj.js
|
1210
1213
|
- lib/mihari/web/public/favicon.ico
|
1211
1214
|
- lib/mihari/web/public/index.html
|