logstash-input-kinesis 2.2.1-java → 2.2.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/lib/logstash/inputs/kinesis.rb +3 -3
- data/spec/inputs/kinesis_spec.rb +1 -1
- 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: 5c6fe5cc0c4abd1197d0aa69926421d0872880190220ee7d77c7e139eda9a991
|
4
|
+
data.tar.gz: e22d77b1e46c5f9aac63b5d35328dd08ac714bae8362a56ee8e397006ac23931
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21ed6d475b1a08f9da10dccba8eee0d00792501712d483d69ce3e6b6ba2f0233f4e317fb5a23f5f1bb59d152061800ff9c69dfbc7670895aa28e6791a4eab4fb
|
7
|
+
data.tar.gz: 79398d8bd79a24b90f91e85d69e7b4213733a18bd38fd05250e6bd85af5f7cc61058d51df39ec1d5a8b754bf3343cf8a54175771ea0bf4dd8a636659e22b060c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
|
+
## 2.2.2
|
2
|
+
- Change `http_proxy` config type to `password` for better protection from leaks in debug logs [#101](https://github.com/logstash-plugins/logstash-input-kinesis/pull/101)
|
3
|
+
|
1
4
|
## 2.2.1
|
2
|
-
- Fix: Remove usage of `java_kind_of?` to support jruby-9.3.4.0 [#91](https://github.com/logstash-plugins/logstash-input-kinesis/
|
5
|
+
- Fix: Remove usage of `java_kind_of?` to support jruby-9.3.4.0 [#91](https://github.com/logstash-plugins/logstash-input-kinesis/pull/91)
|
3
6
|
|
4
7
|
## 2.2.0
|
5
8
|
- Proxy support for Kinesis, DynamoDB, and CloudWatch clients [#84](https://github.com/logstash-plugins/logstash-input-kinesis/issues/84)
|
@@ -70,7 +70,7 @@ class LogStash::Inputs::Kinesis < LogStash::Inputs::Base
|
|
70
70
|
config :additional_settings, :validate => :hash, :default => {}
|
71
71
|
|
72
72
|
# Proxy for Kinesis, DynamoDB, and CloudWatch (if enabled)
|
73
|
-
config :http_proxy, :validate => :
|
73
|
+
config :http_proxy, :validate => :password, :default => nil
|
74
74
|
|
75
75
|
# Hosts that should be excluded from proxying
|
76
76
|
config :non_proxy_hosts, :validate => :string, :default => nil
|
@@ -139,8 +139,8 @@ class LogStash::Inputs::Kinesis < LogStash::Inputs::Base
|
|
139
139
|
@kcl_config.send(fn, value)
|
140
140
|
end
|
141
141
|
|
142
|
-
|
143
|
-
proxy_uri = URI(@http_proxy)
|
142
|
+
if @http_proxy && !@http_proxy.value.to_s.strip.empty?
|
143
|
+
proxy_uri = URI(@http_proxy.value)
|
144
144
|
@logger.info("Using proxy #{proxy_uri.scheme}://#{proxy_uri.user}:*****@#{proxy_uri.host}:#{proxy_uri.port}")
|
145
145
|
clnt_cfg = @kcl_config.get_kinesis_client_configuration
|
146
146
|
set_client_proxy_settings(clnt_cfg, proxy_uri)
|
data/spec/inputs/kinesis_spec.rb
CHANGED
@@ -74,7 +74,7 @@ RSpec.describe "inputs/kinesis" do
|
|
74
74
|
"checkpoint_interval_seconds" => 120,
|
75
75
|
"region" => "ap-southeast-1",
|
76
76
|
"profile" => nil,
|
77
|
-
"http_proxy" => "http://user1:pwd1@proxy.example.com:3128/",
|
77
|
+
"http_proxy" => ::LogStash::Util::Password.new("http://user1:pwd1@proxy.example.com:3128/"),
|
78
78
|
"non_proxy_hosts" => "127.0.0.5",
|
79
79
|
}}
|
80
80
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-kinesis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Brian Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,7 +145,7 @@ requirements:
|
|
145
145
|
- jar 'com.amazonaws:amazon-kinesis-client', '1.13.3'
|
146
146
|
- jar 'com.amazonaws:aws-java-sdk-core', '1.11.1034'
|
147
147
|
- jar 'com.amazonaws:aws-java-sdk-sts', '1.11.1034'
|
148
|
-
rubygems_version: 3.
|
148
|
+
rubygems_version: 3.2.33
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Receives events through an AWS Kinesis stream
|