logstash-output-elasticsearch 11.15.6-java → 11.15.7-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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af8e8cfe5c9fa5cf8f363ab815476c526a7933735eb857e2d3976136c9c0193c
|
4
|
+
data.tar.gz: 8a15434d71177085ed47a7ee9664d3f0e26d4b57f89f4108342a04634c2b3fa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cf6cff9c48ed0a7ea9e6662b4cd02c370a9f6ece098754cb23f3e40aa4e52c33b678acd53594a48bdb47835623bfd8d5d357f20c99abf9b20e5b20cab1818bf
|
7
|
+
data.tar.gz: 62cd5bd83d381bd89d17bdbb9542b27285e60a09de6dfa09ac9e937b32e594e28833b8faa252b41b8ed4dd4a0dc91c91729ad31a56c25318704cb58d0e978bf1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 11.15.7
|
2
|
+
- Fixes a regression introduced in 11.14.0 which could prevent a connection from being established to Elasticsearch in some SSL configurations [#1138](https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/1138)
|
3
|
+
|
1
4
|
## 11.15.6
|
2
5
|
- Fix: avoid to reject a batch when the Elasticsearch connection is alive and the processing should continue [#1132](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1132).
|
3
6
|
|
@@ -144,12 +144,14 @@ module LogStash; module Outputs; class ElasticSearch;
|
|
144
144
|
ssl_verification_mode = params["ssl_verification_mode"]
|
145
145
|
unless ssl_verification_mode.nil?
|
146
146
|
case ssl_verification_mode
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
147
|
+
when 'none'
|
148
|
+
logger.warn "You have enabled encryption but DISABLED certificate verification, " +
|
149
|
+
"to make sure your data is secure set `ssl_verification_mode => full`"
|
150
|
+
ssl_options[:verify] = :disable
|
151
|
+
else
|
152
|
+
# Manticore's :default maps to Apache HTTP Client's DefaultHostnameVerifier,
|
153
|
+
# which is the modern STRICT verifier that replaces the deprecated StrictHostnameVerifier
|
154
|
+
ssl_options[:verify] = :default
|
153
155
|
end
|
154
156
|
end
|
155
157
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-elasticsearch'
|
3
|
-
s.version = '11.15.
|
3
|
+
s.version = '11.15.7'
|
4
4
|
s.licenses = ['apache-2.0']
|
5
5
|
s.summary = "Stores logs in Elasticsearch"
|
6
6
|
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"
|
@@ -55,7 +55,7 @@ describe "SSL options" do
|
|
55
55
|
|
56
56
|
it "should pass the flag to the ES client" do
|
57
57
|
expect(::Manticore::Client).to receive(:new) do |args|
|
58
|
-
expect(args[:ssl]).to match hash_including(:enabled => true, :verify => :
|
58
|
+
expect(args[:ssl]).to match hash_including(:enabled => true, :verify => :default)
|
59
59
|
end.and_return(manticore_double)
|
60
60
|
|
61
61
|
subject.register
|
@@ -132,7 +132,7 @@ describe "SSL options" do
|
|
132
132
|
:truststore => ssl_truststore_path,
|
133
133
|
:truststore_type => "jks",
|
134
134
|
:truststore_password => "foo",
|
135
|
-
:verify => :
|
135
|
+
:verify => :default,
|
136
136
|
:cipher_suites => ["TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"],
|
137
137
|
:protocols => ["TLSv1.3"],
|
138
138
|
)
|
@@ -168,7 +168,7 @@ describe "SSL options" do
|
|
168
168
|
:ca_file => ssl_certificate_authorities_path,
|
169
169
|
:client_cert => ssl_certificate_path,
|
170
170
|
:client_key => ssl_key_path,
|
171
|
-
:verify => :
|
171
|
+
:verify => :default,
|
172
172
|
:cipher_suites => ["TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"],
|
173
173
|
:protocols => ["TLSv1.3"],
|
174
174
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.15.
|
4
|
+
version: 11.15.7
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|