logstash-input-elasticsearch 4.17.1 → 4.17.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54b223c24702d4e9eb27efc05d351dbe9138d7be576a72e552bea3ef40254bb5
|
|
4
|
+
data.tar.gz: 697ade265dd83a9b87a6802e650a9100e64195315577e927c8228cdb6b18e720
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50ac2baa3e825cca7ffd51321bf42530b5c6f32dd88db94c9a0ce5ec2e978de5e0e82f645d6c8116972b40e6efae01782a73dc38bbda50d513df1bb88acf6e75
|
|
7
|
+
data.tar.gz: 50290a768d6f8985cef40b393bdf4d80842416825c5d3e8d835485b9a96adf4f52cbfd654fb687c92cc22fdcc616cf70147f0d9ded807e1a07d135f23e6a2fd7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 4.17.2
|
|
2
|
+
- Fixes a regression introduced in 4.17.0 which could prevent a connection from being established to Elasticsearch in some SSL configurations [#193](https://github.com/logstash-plugins/logstash-input-elasticsearch/pull/193)
|
|
3
|
+
|
|
1
4
|
## 4.17.1
|
|
2
5
|
- Fix: scroll slice high memory consumption [#189](https://github.com/logstash-plugins/logstash-input-elasticsearch/pull/189)
|
|
3
6
|
|
|
@@ -521,7 +521,9 @@ class LogStash::Inputs::Elasticsearch < LogStash::Inputs::Base
|
|
|
521
521
|
"to make sure your data is secure set `ssl_verification_mode => full`"
|
|
522
522
|
ssl_options[:verify] = :disable
|
|
523
523
|
else
|
|
524
|
-
|
|
524
|
+
# Manticore's :default maps to Apache HTTP Client's DefaultHostnameVerifier,
|
|
525
|
+
# which is the modern STRICT verifier that replaces the deprecated StrictHostnameVerifier
|
|
526
|
+
ssl_options[:verify] = :default
|
|
525
527
|
end
|
|
526
528
|
end
|
|
527
529
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-input-elasticsearch'
|
|
4
|
-
s.version = '4.17.
|
|
4
|
+
s.version = '4.17.2'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Reads query results from an Elasticsearch cluster"
|
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
|
@@ -123,7 +123,7 @@ describe "SSL options" do
|
|
|
123
123
|
|
|
124
124
|
it "should pass the flag to the ES client" do
|
|
125
125
|
expect(::Elasticsearch::Client).to receive(:new) do |args|
|
|
126
|
-
expect(args[:ssl]).to match hash_including(:ssl => true, :verify => :
|
|
126
|
+
expect(args[:ssl]).to match hash_including(:ssl => true, :verify => :default)
|
|
127
127
|
end.and_return(es_client_double)
|
|
128
128
|
|
|
129
129
|
subject.register
|
|
@@ -200,7 +200,7 @@ describe "SSL options" do
|
|
|
200
200
|
:truststore => ssl_truststore_path,
|
|
201
201
|
:truststore_type => "jks",
|
|
202
202
|
:truststore_password => "foo",
|
|
203
|
-
:verify => :
|
|
203
|
+
:verify => :default,
|
|
204
204
|
:cipher_suites => ["TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"],
|
|
205
205
|
:protocols => ["TLSv1.3"],
|
|
206
206
|
)
|
|
@@ -236,7 +236,7 @@ describe "SSL options" do
|
|
|
236
236
|
:ca_file => ssl_certificate_authorities_path,
|
|
237
237
|
:client_cert => ssl_certificate_path,
|
|
238
238
|
:client_key => ssl_key_path,
|
|
239
|
-
:verify => :
|
|
239
|
+
:verify => :default,
|
|
240
240
|
:cipher_suites => ["TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"],
|
|
241
241
|
:protocols => ["TLSv1.3"],
|
|
242
242
|
)
|
|
@@ -4,7 +4,7 @@ require "logstash/plugin"
|
|
|
4
4
|
require "logstash/inputs/elasticsearch"
|
|
5
5
|
require_relative "../../../spec/es_helper"
|
|
6
6
|
|
|
7
|
-
describe LogStash::Inputs::Elasticsearch do
|
|
7
|
+
describe LogStash::Inputs::Elasticsearch, :integration => true do
|
|
8
8
|
|
|
9
9
|
SECURE_INTEGRATION = ENV['SECURE_INTEGRATION'].eql? 'true'
|
|
10
10
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-input-elasticsearch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.17.
|
|
4
|
+
version: 4.17.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -304,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
304
304
|
- !ruby/object:Gem::Version
|
|
305
305
|
version: '0'
|
|
306
306
|
requirements: []
|
|
307
|
-
rubygems_version: 3.
|
|
307
|
+
rubygems_version: 3.2.33
|
|
308
308
|
signing_key:
|
|
309
309
|
specification_version: 4
|
|
310
310
|
summary: Reads query results from an Elasticsearch cluster
|