logstash-filter-geoip 7.3.0-java → 7.3.1-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7db08a266d05be61267f7921ede9b9e9c7177804574c96fcc94a25615b6449d
4
- data.tar.gz: bdd2133e4acbea8e12dfd6dc57ce45a9b5e628cf7672a0c299768041855ec001
3
+ metadata.gz: 381f84a6a7bd07469d152e2c97c1841b3d77c229f23c7f8e9a88976a546a5117
4
+ data.tar.gz: 42c1922d9d8ee49a7e527bc1159412a531d92742c783d91d9d1662f083664be5
5
5
  SHA512:
6
- metadata.gz: d659cea20b030c2dfbfe30d7b1ce283b308250a710e90287595c836a0cb6ef678b25d473cca6da7b7d82d87e31dc5557ad37802e85e06c437a4f5b104d5c5b48
7
- data.tar.gz: 5157efccb1f54d898d53ad6db5ae9ba1659473858de168d353789ca6f1fd7b78ffe8777e76130e9adda0d33cd23ebb2215c5d4812ec127b254ec925dfc6937ba
6
+ metadata.gz: 7ad313fccdc5174dd735f768adb10576c89acadea3c4dfc3e640ac8a4fd5d9ace7fa9d89a34cef91610fa12a7e84ebba03183c5db3613bb4112b8ad1b4735eb8
7
+ data.tar.gz: 627cfd2e7cabaed7cd3a0fee677285db3c1c93202f88656ae61b51edba01228d8451a0a20aa38d7eaa7963bf9a962f6646e6a72dd406efecde07f71eb351e33e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 7.3.1
2
+ - Avoid to crash pipelines when lookup a database with customised fields. [#225](https://github.com/logstash-plugins/logstash-filter-geoip/pull/225)
3
+
1
4
  ## 7.3.0
2
5
  - Added support for MaxMind GeoIP2 Enterprise and Anonymous-IP databases ([#223](https://github.com/logstash-plugins/logstash-filter-geoip/pull/223))
3
6
  - Updated MaxMind dependencies.
@@ -3,4 +3,4 @@
3
3
  require 'jar_dependencies'
4
4
  require_jar('com.maxmind.geoip2', 'geoip2', '2.17.0')
5
5
  require_jar('com.maxmind.db', 'maxmind-db', '2.1.0')
6
- require_jar('org.logstash.filters', 'logstash-filter-geoip', '7.3.0')
6
+ require_jar('org.logstash.filters', 'logstash-filter-geoip', '7.3.1')
@@ -22,7 +22,7 @@ describe LogStash::Filters::GeoIP do
22
22
  let(:common_options) { {"source" => "message", "database" => CITYDB, "target" => target} }
23
23
 
24
24
  before(:each) do
25
- allow_any_instance_of(described_class).to receive(:ecs_compatibility).and_return(ecs_compatibility)
25
+ allow(plugin).to receive(:ecs_compatibility).and_return(ecs_compatibility)
26
26
  plugin.register
27
27
  end
28
28
 
@@ -170,7 +170,7 @@ describe LogStash::Filters::GeoIP do
170
170
 
171
171
  context "ECS disabled" do
172
172
  before do
173
- allow_any_instance_of(described_class).to receive(:ecs_compatibility).and_return(:disabled)
173
+ allow(plugin).to receive(:ecs_compatibility).and_return(:disabled)
174
174
  plugin.register
175
175
  plugin.filter(event)
176
176
  end
@@ -193,7 +193,7 @@ describe LogStash::Filters::GeoIP do
193
193
 
194
194
  context "ECS mode" do
195
195
  before do
196
- allow_any_instance_of(described_class).to receive(:ecs_compatibility).and_return(:v1)
196
+ allow(plugin).to receive(:ecs_compatibility).and_return(:v1)
197
197
  end
198
198
 
199
199
  context "`target` is unset" do
@@ -63,7 +63,7 @@ describe LogStash::Filters::GeoIP do
63
63
  end
64
64
 
65
65
  before(:each) do
66
- allow_any_instance_of(described_class).to receive(:load_database_manager?).and_return(true)
66
+ allow(plugin).to receive(:load_database_manager?).and_return(true)
67
67
  stub_const("LogStash::Filters::Geoip::DatabaseManager", double("DatabaseManager.Class", :instance => mock_manager))
68
68
  end
69
69
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-geoip
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.0
4
+ version: 7.3.1
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -20,8 +20,8 @@ dependencies:
20
20
  - !ruby/object:Gem::Version
21
21
  version: '2.99'
22
22
  name: logstash-core-plugin-api
23
- prerelease: false
24
23
  type: :runtime
24
+ prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
@@ -37,8 +37,8 @@ dependencies:
37
37
  - !ruby/object:Gem::Version
38
38
  version: '1.2'
39
39
  name: logstash-mixin-ecs_compatibility_support
40
- prerelease: false
41
40
  type: :runtime
41
+ prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
@@ -51,8 +51,8 @@ dependencies:
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  name: logstash-devutils
54
- prerelease: false
55
54
  type: :development
55
+ prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
@@ -65,8 +65,8 @@ dependencies:
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  name: insist
68
- prerelease: false
69
68
  type: :development
69
+ prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
@@ -79,8 +79,8 @@ dependencies:
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  name: benchmark-ips
82
- prerelease: false
83
82
  type: :development
83
+ prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
@@ -93,8 +93,8 @@ dependencies:
93
93
  - !ruby/object:Gem::Version
94
94
  version: 7.14.0
95
95
  name: logstash-core
96
- prerelease: false
97
96
  type: :runtime
97
+ prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
@@ -129,7 +129,7 @@ files:
129
129
  - vendor/GeoLite2-City.mmdb
130
130
  - vendor/jar-dependencies/com/maxmind/db/maxmind-db/2.1.0/maxmind-db-2.1.0.jar
131
131
  - vendor/jar-dependencies/com/maxmind/geoip2/geoip2/2.17.0/geoip2-2.17.0.jar
132
- - vendor/jar-dependencies/org/logstash/filters/logstash-filter-geoip/7.3.0/logstash-filter-geoip-7.3.0.jar
132
+ - vendor/jar-dependencies/org/logstash/filters/logstash-filter-geoip/7.3.1/logstash-filter-geoip-7.3.1.jar
133
133
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
134
134
  licenses:
135
135
  - Apache License (2.0)
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
154
  requirements: []
155
- rubygems_version: 3.2.33
155
+ rubygems_version: 3.3.26
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: Adds geographical information about an IP address