logstash-input-beats 3.1.6-java → 3.1.7-java

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
  SHA1:
3
- metadata.gz: 9c610327c2fdb328ec173857bb83e73b8832f031
4
- data.tar.gz: cbda75703b809052465a77d4fe990ea5668c1aa6
3
+ metadata.gz: 4971aaa1b795f9f4c3b5cd40be9dbc436539fbb8
4
+ data.tar.gz: 9dd88323afe16f7c5c3289df29bf87856145fde4
5
5
  SHA512:
6
- metadata.gz: 9c87caf836245528cba9279360dea06f2839df9a54169754dcf3724a98790ecdd0499bf1959b50724ebc16f8a21a686fbdfa3456ffe9820b3231c5691db73173
7
- data.tar.gz: 2d85193b826f87facacda14ba53655663eca76ca25fceb48f4362c0e13ea428cd35819e72bb380d2407a2b101229acab9e10f64b73fc294248d9fdcc255d6a90
6
+ metadata.gz: 812fb47b55172830f48dfe260b5685edd74eb29e9aa87129c20edbe8cf34561f6c25b2a40b863120fb298cc37b903910b5a0fde90a613c9d51bf5f286c6c369b
7
+ data.tar.gz: a60ca7c6c682aea51640d11e3c40e866513d49df4cc441faca02844e732bd41caa8c13f252448fde0f4355abd864cfc6a0425ff720c272a3347a7f97255d8cc1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.1.7
2
+ - Fix an issue when only the first CA found in the certificate authorities was taking into consideration to verify clients #153
3
+
1
4
  ## 3.1.6
2
5
  - Fix an issue with the `READER_IDLE` that was closing a connection in a middle of working on a batch #141
3
6
  - Fix an issue when the plugin did not accept a specific host to bind to. #146
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.6
1
+ 3.1.7
@@ -9,4 +9,4 @@ require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.7.5')
9
9
  require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.7.5')
10
10
  require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.7.5')
11
11
  require_jar('log4j', 'log4j', '1.2.17')
12
- require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.6')
12
+ require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.7')
@@ -15,12 +15,13 @@ require_relative "../support/client_process_helpers"
15
15
 
16
16
  FILEBEAT_BINARY = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "vendor", "filebeat", "filebeat"))
17
17
 
18
-
19
18
  describe "Filebeat", :integration => true do
20
19
  include ClientProcessHelpers
21
20
  include FileHelpers
22
21
 
23
22
  before :all do
23
+ LogStash::Logging::Logger.configure_logging("debug") if ENV["DEBUG"] == 1
24
+
24
25
  unless File.exist?(FILEBEAT_BINARY)
25
26
  raise "Cannot find `Filebeat` binary in `vendor/filebeat`. Did you run `bundle exec rake test:integration:setup` before running the integration suite?"
26
27
  end
@@ -212,7 +213,6 @@ describe "Filebeat", :integration => true do
212
213
  include_examples "send events"
213
214
  end
214
215
 
215
- ### DOESNT WORK
216
216
  context "intermediate create server and client certificate" do
217
217
  include_context "Intermediate CA"
218
218
 
@@ -223,6 +223,21 @@ describe "Filebeat", :integration => true do
223
223
  include_examples "send events"
224
224
  end
225
225
 
226
+ context "with multiples different CA, and unrelated CA appear first in the file" do
227
+ include_context "Intermediate CA"
228
+
229
+ let(:secondary_ca) { Flores::PKI.generate }
230
+ let(:secondary_ca_key) { secondary_ca.last }
231
+ let(:secondary_ca_certificate) { secondary_ca.first }
232
+ let_tmp_file(:ca_file) { Flores::PKI.chain_certificates(secondary_ca_certificate, intermediate_ca_certificate) }
233
+
234
+ let(:certificate_data) { Flores::PKI.create_client_certicate("CN=localhost", intermediate_ca_certificate, intermediate_ca_key) }
235
+ let(:server_certificate_data) { Flores::PKI.create_client_certicate("CN=localhost", intermediate_ca_certificate, intermediate_ca_key) }
236
+ let(:certificate_authorities) { [ca_file] }
237
+
238
+ include_examples "send events"
239
+ end
240
+
226
241
  context "and Secondary CA multiples clients" do
227
242
  context "with CA in different files" do
228
243
  let(:secondary_ca) { Flores::PKI.generate }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-beats
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.6
4
+ version: 3.1.7
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-29 00:00:00.000000000 Z
11
+ date: 2016-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -268,7 +268,7 @@ files:
268
268
  - vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/1.1.33.Fork17/netty-tcnative-boringssl-static-1.1.33.Fork17.jar
269
269
  - vendor/jar-dependencies/log4j/log4j/1.2.17/log4j-1.2.17.jar
270
270
  - vendor/jar-dependencies/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar
271
- - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.6/logstash-input-beats-3.1.6.jar
271
+ - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.7/logstash-input-beats-3.1.7.jar
272
272
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
273
273
  licenses:
274
274
  - Apache License (2.0)