logstash-input-kinesis 2.0.11-java → 2.1.0-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: 8b73933809822a3ae0d3dd18eea38e18cba4e7370092efd22729268d290c3424
4
- data.tar.gz: 003f5c0a310e31efed2644b53bfccea4ec1b2713a391c434168f1cd507350467
3
+ metadata.gz: 0a408a0f2c40378594c68c71dc444c9ae309a54339ea18f0a2a75141a69db8c9
4
+ data.tar.gz: 4c91a0117e9e7e19dc1eb4661cfe316001c46ae70a7da93fd7c7afaf999dcd93
5
5
  SHA512:
6
- metadata.gz: d60d1dd1700b0d219ae7b5d7c6d59d4b6f4e689a752fb2fe58cc9b218a762a1ba297eb1a91ab9ad2159071263afbac8ed983fbbeaf402836c27960a5c2548eac
7
- data.tar.gz: c7c65d11674124af023a62763951630b1d3af0d63223c671c75ee44ee13292316a6555b2570f4577d6f4276e9b74b0a1240d27281b5539e97627226a8ecb2d20
6
+ metadata.gz: 44dc3e7387dfad78a0324393187135f7bc0580d3b0dcc5eba55b99bffca02e891272a9e95e7269575ac91d91d323418a0c00f8ae084ba4c0ce334edbab3d209f
7
+ data.tar.gz: 27f72f9835c52321ed7fa973f8fbcbf2d60874aac9c7da407d046cb574ef547e97cbeb54436e64c1c4909dcbc614d432a89406b57c26a5c5048a603476f296ed
@@ -1,3 +1,6 @@
1
+ ## 2.1.0
2
+ - Changed role assumption to also assume role for interactions with dynamodb and cloudwatch [#66](https://github.com/logstash-plugins/logstash-input-kinesis/pull/66)
3
+
1
4
  ## 2.0.11
2
5
  - Added the ability to assume a role [#40](https://github.com/logstash-plugins/logstash-input-kinesis/pull/40)
3
6
 
@@ -110,9 +110,7 @@ class LogStash::Inputs::Kinesis < LogStash::Inputs::Base
110
110
  @kcl_config = KCL::KinesisClientLibConfiguration.new(
111
111
  @application_name,
112
112
  @kinesis_stream_name,
113
- kinesis_creds, # credential provider for accessing the kinesis stream
114
- creds, # credential provider for creating / accessing the dynamo table
115
- creds, # credential provider for cloudwatch metrics
113
+ kinesis_creds, # credential provider for Kinesis, DynamoDB and Cloudwatch access
116
114
  worker_id).
117
115
  withInitialPositionInStream(initial_position_in_stream).
118
116
  withRegionName(@region)
@@ -2,7 +2,7 @@
2
2
  module Logstash
3
3
  module Input
4
4
  module Kinesis
5
- VERSION = "2.0.11"
5
+ VERSION = "2.1.0"
6
6
  end
7
7
  end
8
8
  end
@@ -126,8 +126,8 @@ RSpec.describe "inputs/kinesis" do
126
126
  it "uses STS for accessing the kinesis stream if role_arn is specified" do
127
127
  kinesis_with_role_arn.register
128
128
  expect(kinesis_with_role_arn.kcl_config.get_kinesis_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider")
129
- expect(kinesis_with_role_arn.kcl_config.get_dynamo_db_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.DefaultAWSCredentialsProviderChain")
130
- expect(kinesis_with_role_arn.kcl_config.get_cloud_watch_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.DefaultAWSCredentialsProviderChain")
129
+ expect(kinesis_with_role_arn.kcl_config.get_dynamo_db_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider")
130
+ expect(kinesis_with_role_arn.kcl_config.get_cloud_watch_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider")
131
131
  end
132
132
 
133
133
  subject!(:kinesis_with_latest) { LogStash::Inputs::Kinesis.new(config_with_latest) }
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.0.11
4
+ version: 2.1.0
5
5
  platform: java
6
6
  authors:
7
7
  - Brian Palmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-04 00:00:00.000000000 Z
11
+ date: 2019-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement