mihari 8.1.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0f4a9365970c476890029a56b880a81383fcb3c8c900e123542ec8c0bd52756
4
- data.tar.gz: 323805a72e47dacb248a3f4737ebc5f1890350875cc881a4e52619a5e1d09509
3
+ metadata.gz: f8838a34fe88cc9298632b713c7fea892bcb007b19590dda803c7194f75d593d
4
+ data.tar.gz: 3b4de2b033ef657f99ae6e78018a912f2b19bf3098fee2e417ec7b295f40e215
5
5
  SHA512:
6
- metadata.gz: ec6bb62f4d03438cc83052ca4b53950bdd13e22abab9435e92aeb993b6809c139a53f02b299f2706512aa67f72370086f2433573165b256dab1973331929b7ac
7
- data.tar.gz: 976fe873b455de92f917bde4de403531e104d3378820364a4f7ddf9274b13298e474891c774df6008c1d4e8099be391f73723cc8ea9f73839a9087fc66eb915d
6
+ metadata.gz: 5b7a97f55459f2e123746af8964a305747122c350c75600a5da00c8b73f222d554dc817d5906df6841bb3a41fa2522988d28678e0ebec29d9451303e32888e7b
7
+ data.tar.gz: 22eb5f3f4ab974baadcb6f9e16c136ae18ce776ed7c7841f4e55d1cee85d1431897e3c3d00e0e44adc24daac207c7a7782007c922b6a41eefd56712c7d5e61af
data/.rubocop.yml CHANGED
@@ -29,13 +29,14 @@ RSpec/SpecFilePathFormat:
29
29
  FactoryBot/SyntaxMethods:
30
30
  Enabled: false
31
31
  require:
32
+ - standard
33
+ plugins:
32
34
  - rubocop-capybara
33
35
  - rubocop-factory_bot
34
36
  - rubocop-performance
35
37
  - rubocop-rake
36
38
  - rubocop-rspec
37
39
  - rubocop-yard
38
- - standard
39
40
  - standard-custom
40
41
  - standard-performance
41
42
  inherit_gem:
data/Dockerfile CHANGED
@@ -1,11 +1,11 @@
1
- FROM ruby:3.3.0-alpine3.19
1
+ FROM ruby:3.4-alpine3.22
2
2
 
3
- ARG MIHARI_VERSION=0.0.0
3
+ ARG VERSION=0.0.0
4
4
 
5
5
  RUN apk --no-cache add build-base ruby-dev libpq-dev whois && \
6
6
  echo 'gem: --no-document' >> /usr/local/etc/gemrc && \
7
7
  gem install pg && \
8
- gem install mihari -v ${MIHARI_VERSION} && \
8
+ gem install mihari -v ${VERSION} && \
9
9
  apk del --purge build-base ruby-dev && \
10
10
  rm -rf /usr/local/bundle/cache/*
11
11
 
data/README.md CHANGED
@@ -12,7 +12,6 @@ Mihari can aggregate multiple searches across multiple services in a single rule
12
12
 
13
13
  Mihari supports the following services by default.
14
14
 
15
- - [BinaryEdge](https://www.binaryedge.io/)
16
15
  - [Censys](http://censys.io)
17
16
  - [CIRCL passive DNS](https://www.circl.lu/services/passive-dns/) / [passive SSL](https://www.circl.lu/services/passive-ssl/)
18
17
  - [crt.sh](https://crt.sh/)
data/Rakefile CHANGED
@@ -43,6 +43,10 @@ def build_swagger_doc(path)
43
43
  File.write(path, json.to_yaml)
44
44
  end
45
45
 
46
+ def latest_tag
47
+ `git describe --tags --abbrev=0`.strip.sub(/^v/, "")
48
+ end
49
+
46
50
  namespace :build do
47
51
  desc "Build Swagger doc"
48
52
  task :swagger, [:path] do |_t, args|
data/lib/mihari/config.rb CHANGED
@@ -9,7 +9,6 @@ module Mihari
9
9
 
10
10
  attr_config(
11
11
  # analyzers, emitters & enrichers
12
- binaryedge_api_key: nil,
13
12
  censys_id: nil,
14
13
  censys_secret: nil,
15
14
  circl_passive_password: nil,
@@ -55,9 +54,6 @@ module Mihari
55
54
  sentry_trace_sample_rate: 0.25
56
55
  )
57
56
 
58
- # @!attribute [r] binaryedge_api_key
59
- # @return [String, nil]
60
-
61
57
  # @!attribute [r] censys_id
62
58
  # @return [String, nil]
63
59
 
@@ -10,7 +10,6 @@ module Mihari
10
10
 
11
11
  # Analyzer with API key and pagination
12
12
  [
13
- Mihari::Analyzers::BinaryEdge.keys,
14
13
  Mihari::Analyzers::GreyNoise.keys,
15
14
  Mihari::Analyzers::Onyphe.keys,
16
15
  Mihari::Analyzers::Shodan.keys,
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Mihari
4
- VERSION = "8.1.0"
2
+ VERSION = "8.2.0"
5
3
  end