mihari 5.4.0 → 5.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/frontend/package-lock.json +145 -146
- data/frontend/package.json +8 -8
- data/frontend/src/swagger.yaml +306 -272
- data/lib/mihari/analyzers/binaryedge.rb +4 -4
- data/lib/mihari/analyzers/censys.rb +2 -2
- data/lib/mihari/analyzers/circl.rb +2 -2
- data/lib/mihari/analyzers/greynoise.rb +2 -2
- data/lib/mihari/analyzers/hunterhow.rb +5 -5
- data/lib/mihari/analyzers/onyphe.rb +4 -4
- data/lib/mihari/analyzers/otx.rb +2 -2
- data/lib/mihari/analyzers/passivetotal.rb +2 -2
- data/lib/mihari/analyzers/pulsedive.rb +2 -2
- data/lib/mihari/analyzers/rule.rb +13 -12
- data/lib/mihari/analyzers/securitytrails.rb +2 -2
- data/lib/mihari/analyzers/shodan.rb +4 -4
- data/lib/mihari/analyzers/urlscan.rb +2 -2
- data/lib/mihari/analyzers/virustotal.rb +2 -2
- data/lib/mihari/analyzers/virustotal_intelligence.rb +2 -2
- data/lib/mihari/analyzers/zoomeye.rb +4 -4
- data/lib/mihari/cli/alert.rb +11 -0
- data/lib/mihari/cli/main.rb +6 -1
- data/lib/mihari/commands/alert.rb +42 -0
- data/lib/mihari/commands/rule.rb +2 -2
- data/lib/mihari/commands/search.rb +20 -59
- data/lib/mihari/config.rb +2 -2
- data/lib/mihari/emitters/base.rb +1 -1
- data/lib/mihari/emitters/database.rb +2 -2
- data/lib/mihari/errors.rb +23 -2
- data/lib/mihari/http.rb +7 -1
- data/lib/mihari/schemas/alert.rb +14 -0
- data/lib/mihari/services/alert_proxy.rb +106 -0
- data/lib/mihari/services/alert_runner.rb +22 -0
- data/lib/mihari/services/{rule.rb → rule_proxy.rb} +10 -6
- data/lib/mihari/services/rule_runner.rb +49 -0
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/endpoints/alerts.rb +22 -0
- data/lib/mihari/web/endpoints/rules.rb +8 -8
- data/lib/mihari/web/public/assets/{index-61dc587c.js → index-4d7eda9f.js} +1 -1
- data/lib/mihari/web/public/index.html +1 -1
- data/lib/mihari/web/public/redoc-static.html +29 -27
- data/lib/mihari.rb +6 -1
- data/mihari.gemspec +2 -3
- metadata +14 -23
- data/Steepfile +0 -31
data/frontend/package.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
"@fortawesome/vue-fontawesome": "^3.0.3",
|
20
20
|
"@vueuse/core": "^10.3.0",
|
21
21
|
"@vueuse/router": "^10.3.0",
|
22
|
-
"ace-builds": "^1.24.
|
22
|
+
"ace-builds": "^1.24.1",
|
23
23
|
"axios": "^1.4.0",
|
24
24
|
"bulma": "^0.9.4",
|
25
25
|
"bulma-helpers": "^0.4.3",
|
@@ -41,16 +41,16 @@
|
|
41
41
|
"@rushstack/eslint-patch": "^1.3.3",
|
42
42
|
"@tsconfig/node20": "^20.1.1",
|
43
43
|
"@types/jsdom": "^21.1.1",
|
44
|
-
"@types/node": "^20.
|
44
|
+
"@types/node": "^20.5.1",
|
45
45
|
"@types/url-parse": "^1.4.8",
|
46
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
47
|
-
"@typescript-eslint/parser": "^6.
|
48
|
-
"@vitejs/plugin-vue": "^4.
|
46
|
+
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
47
|
+
"@typescript-eslint/parser": "^6.4.0",
|
48
|
+
"@vitejs/plugin-vue": "^4.3.1",
|
49
49
|
"@vue/eslint-config-prettier": "^8.0.0",
|
50
50
|
"@vue/eslint-config-typescript": "^11.0.3",
|
51
51
|
"@vue/test-utils": "2.4.1",
|
52
52
|
"@vue/tsconfig": "^0.4.0",
|
53
|
-
"eslint": "^8.
|
53
|
+
"eslint": "^8.47.0",
|
54
54
|
"eslint-config-prettier": "^9.0.0",
|
55
55
|
"eslint-plugin-prettier": "^5.0.0",
|
56
56
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
@@ -58,10 +58,10 @@
|
|
58
58
|
"husky": "^8.0.3",
|
59
59
|
"jsdom": "^22.1.0",
|
60
60
|
"npm-run-all": "^4.1.5",
|
61
|
-
"prettier": "^3.0.
|
61
|
+
"prettier": "^3.0.2",
|
62
62
|
"typescript": "~5.1.6",
|
63
63
|
"vite": "^4.4.9",
|
64
|
-
"vitest": "^0.34.
|
64
|
+
"vitest": "^0.34.2",
|
65
65
|
"vue-tsc": "^1.8.8"
|
66
66
|
}
|
67
67
|
}
|