mihari 7.1.3 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +1 -1
  3. data/Rakefile +8 -1
  4. data/lefthook.yml +4 -1
  5. data/lib/mihari/actor.rb +9 -0
  6. data/lib/mihari/analyzers/base.rb +7 -18
  7. data/lib/mihari/analyzers/binaryedge.rb +0 -6
  8. data/lib/mihari/analyzers/censys.rb +0 -9
  9. data/lib/mihari/analyzers/circl.rb +0 -6
  10. data/lib/mihari/analyzers/fofa.rb +0 -6
  11. data/lib/mihari/analyzers/greynoise.rb +0 -6
  12. data/lib/mihari/analyzers/hunterhow.rb +0 -6
  13. data/lib/mihari/analyzers/onyphe.rb +0 -6
  14. data/lib/mihari/analyzers/otx.rb +0 -6
  15. data/lib/mihari/analyzers/passivetotal.rb +0 -4
  16. data/lib/mihari/analyzers/pulsedive.rb +0 -6
  17. data/lib/mihari/analyzers/securitytrails.rb +0 -4
  18. data/lib/mihari/analyzers/shodan.rb +0 -6
  19. data/lib/mihari/analyzers/urlscan.rb +0 -6
  20. data/lib/mihari/analyzers/virustotal.rb +0 -4
  21. data/lib/mihari/analyzers/virustotal_intelligence.rb +7 -6
  22. data/lib/mihari/analyzers/zoomeye.rb +0 -6
  23. data/lib/mihari/commands/web.rb +1 -1
  24. data/lib/mihari/concerns/falsepositive_normalizable.rb +30 -0
  25. data/lib/mihari/concerns/falsepositive_validatable.rb +1 -17
  26. data/lib/mihari/config.rb +1 -1
  27. data/lib/mihari/database.rb +18 -1
  28. data/lib/mihari/emitters/database.rb +0 -6
  29. data/lib/mihari/emitters/misp.rb +0 -6
  30. data/lib/mihari/emitters/slack.rb +5 -21
  31. data/lib/mihari/emitters/the_hive.rb +0 -6
  32. data/lib/mihari/enrichers/whois.rb +5 -7
  33. data/lib/mihari/entities/artifact.rb +6 -2
  34. data/lib/mihari/entities/autonomous_system.rb +1 -1
  35. data/lib/mihari/entities/cpe.rb +1 -1
  36. data/lib/mihari/entities/port.rb +1 -1
  37. data/lib/mihari/entities/vulnerability.rb +10 -0
  38. data/lib/mihari/errors.rb +2 -0
  39. data/lib/mihari/models/artifact.rb +65 -30
  40. data/lib/mihari/models/vulnerability.rb +12 -0
  41. data/lib/mihari/rule.rb +18 -24
  42. data/lib/mihari/schemas/rule.rb +7 -0
  43. data/lib/mihari/services/builders.rb +22 -3
  44. data/lib/mihari/services/enrichers.rb +2 -0
  45. data/lib/mihari/services/feed.rb +2 -5
  46. data/lib/mihari/services/proxies.rb +3 -3
  47. data/lib/mihari/structs/censys.rb +2 -2
  48. data/lib/mihari/structs/greynoise.rb +1 -1
  49. data/lib/mihari/structs/onyphe.rb +1 -1
  50. data/lib/mihari/structs/shodan.rb +59 -21
  51. data/lib/mihari/version.rb +1 -1
  52. data/lib/mihari/web/endpoints/artifacts.rb +4 -2
  53. data/lib/mihari/web/endpoints/rules.rb +1 -1
  54. data/lib/mihari/web/public/assets/{index-TOeU8PE2.js → index-GWurHG1o.js} +46 -46
  55. data/lib/mihari/web/public/assets/{index-dVaNxqTC.css → index-ReF8ffd-.css} +1 -1
  56. data/lib/mihari/web/public/index.html +2 -2
  57. data/lib/mihari/web/public/redoc-static.html +17 -17
  58. data/lib/mihari.rb +3 -0
  59. metadata +7 -4
@@ -6,8 +6,8 @@
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
7
  <link rel="icon" href="/favicon.ico" />
8
8
  <title>Mihari</title>
9
- <script type="module" crossorigin src="/assets/index-TOeU8PE2.js"></script>
10
- <link rel="stylesheet" crossorigin href="/assets/index-dVaNxqTC.css">
9
+ <script type="module" crossorigin src="/assets/index-GWurHG1o.js"></script>
10
+ <link rel="stylesheet" crossorigin href="/assets/index-ReF8ffd-.css">
11
11
  </head>
12
12
  <body>
13
13
  <noscript>