logstash-input-http 3.3.5-java → 3.3.6-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 +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/logstash-input-http_jars.rb +1 -1
- data/lib/logstash/inputs/http/message_handler.rb +4 -0
- data/spec/inputs/http_spec.rb +8 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/{3.3.5/logstash-input-http-3.3.5.jar → 3.3.6/logstash-input-http-3.3.6.jar} +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c16f35c7b0da36b5d3a34ae730e2e9386754b4f770d91ab95c426ea51d6088b6
|
4
|
+
data.tar.gz: b7e6c19a7405151badb060b4342ff5d01d419e70031c0887afba277e0749352e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1b3f4486a8877a4aa4af9bb2f03cee3bd69cf8d66fb5bfb709781a9e9b31376e8118ad8457fcd6bdfc7375e170860e83d16121696b123e923dfe3c25f88980e
|
7
|
+
data.tar.gz: 6e62fb8e3b112b60bcea52db6fb6c09a548c51e2563110bfa80703e5afa4c55a1ae31db921cfdc3dfeb87c9b9f29c3a522d93ab30bbd62b784ef8214a91572af
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 3.3.6
|
2
|
+
- Fixes a regression introduced in 3.1.0's migration to the Netty back-end that broke some users'
|
3
|
+
browser-based workflows. When an instance of this plugin that is configured to require Basic
|
4
|
+
authentication receives a request that does not include authentication, it now appropriately
|
5
|
+
includes an `WWW-Authenticate` header in its `401 Unauthorized` response, allowing the browser
|
6
|
+
to collect credentials before retrying the request.
|
7
|
+
|
1
8
|
## 3.3.5
|
2
9
|
- Updated jackson databind and Netty dependencies. Additionally, this release removes the dependency on `tcnative` +
|
3
10
|
`boringssl`, using JVM supplied ciphers instead. This may result in fewer ciphers being available if the JCE
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.6
|
@@ -3,4 +3,4 @@
|
|
3
3
|
require 'jar_dependencies'
|
4
4
|
require_jar('io.netty', 'netty-all', '4.1.49.Final')
|
5
5
|
require_jar('org.apache.logging.log4j', 'log4j-api', '2.11.1')
|
6
|
-
require_jar('org.logstash.plugins.input.http', 'logstash-input-http', '3.3.
|
6
|
+
require_jar('org.logstash.plugins.input.http', 'logstash-input-http', '3.3.6')
|
data/spec/inputs/http_spec.rb
CHANGED
@@ -279,6 +279,11 @@ describe LogStash::Inputs::Http do
|
|
279
279
|
it "should respond with 401" do
|
280
280
|
expect(response.code).to eq(401)
|
281
281
|
end
|
282
|
+
it 'should include a WWW-Authenticate: Basic header' do
|
283
|
+
expect(response['WWW-Authenticate']).to_not be_nil
|
284
|
+
|
285
|
+
expect(response['WWW-Authenticate']).to start_with('Basic realm=')
|
286
|
+
end
|
282
287
|
it "should not generate an event" do
|
283
288
|
expect(logstash_queue).to be_empty
|
284
289
|
end
|
@@ -295,6 +300,9 @@ describe LogStash::Inputs::Http do
|
|
295
300
|
it "should respond with 401" do
|
296
301
|
expect(response.code).to eq(401)
|
297
302
|
end
|
303
|
+
it 'should not include a WWW-Authenticate header' do
|
304
|
+
expect(response['WWW-Authenticate']).to be_nil
|
305
|
+
end
|
298
306
|
it "should not generate an event" do
|
299
307
|
expect(logstash_queue).to be_empty
|
300
308
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.6
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +146,7 @@ files:
|
|
146
146
|
- spec/inputs/http_spec.rb
|
147
147
|
- vendor/jar-dependencies/io/netty/netty-all/4.1.49.Final/netty-all-4.1.49.Final.jar
|
148
148
|
- vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar
|
149
|
-
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/3.3.
|
149
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/3.3.6/logstash-input-http-3.3.6.jar
|
150
150
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
151
151
|
licenses:
|
152
152
|
- Apache License (2.0)
|