logstash-output-http 5.6.1 → 5.7.0

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: 23e48e61a55be36ec256a7a4449f2aaf555f56253f3bb15d67e250e03cd39bf9
4
- data.tar.gz: b61f7df593739a7ba2d892c62e29952c514d9274a5219c321bd6c96b09d33adb
3
+ metadata.gz: ea9e1064040e6d7b09ea61a4f77de09bd1a56186d824ec6c26b870c2ac466975
4
+ data.tar.gz: b1ae025edddfc791309aeb4edd7a0a93a2b961358b73484b83625ad029cfceb7
5
5
  SHA512:
6
- metadata.gz: a331795a25242f9f82c11746e6a3ecb619c18917dc91b77fb1f6ef8060a5ceb91d5effbfd171eeaac67ed8e7c12ad93ca3230ed279828ff8396dad71bd935882
7
- data.tar.gz: 0fb511bb512aecf1caf602c44ed755c4be7c0c5a4781c651623dcaba5fc633f253611a7dd7bd25be2d1a66d52730ceb3e7e56ac031dfa8b093896f3e0bae63fc
6
+ metadata.gz: 2594c607190fcf16a6c6793a19ee2c14bab9d787f688f567ec1ec0a06669a771d7213e0189e5675ef211e9bc0d313b728a0cc613817bc2af554ea6ad04b4d554
7
+ data.tar.gz: 74ae9117f75b81e93e706d2acefe4c8e42d15139521aa4cf5310a21a7a9f4756763fbfa242de552cc222ed0550a03501489c55ccc56a16e0c71658c5d8c9e66e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 5.7.0
2
+ - Added new `ssl_enabled` setting for enabling/disabling the SSL configurations [#144](https://github.com/logstash-plugins/logstash-output-http/pull/144)
3
+
1
4
  ## 5.6.1
2
5
  - Added body logging for non 2xx responses [#142](https://github.com/logstash-plugins/logstash-output-http/pull/142)
3
6
 
data/docs/index.asciidoc CHANGED
@@ -103,6 +103,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
103
103
  | <<plugins-{type}s-{plugin}-ssl_certificate>> |<<path,path>>|No
104
104
  | <<plugins-{type}s-{plugin}-ssl_certificate_authorities>> |list of <<path,path>>|No
105
105
  | <<plugins-{type}s-{plugin}-ssl_cipher_suites>> |list of <<string,string>>|No
106
+ | <<plugins-{type}s-{plugin}-ssl_enabled>> |<<boolean,boolean>>|No
106
107
  | <<plugins-{type}s-{plugin}-ssl_keystore_password>> |<<password,password>>|No
107
108
  | <<plugins-{type}s-{plugin}-ssl_keystore_path>> |<<path,path>>|No
108
109
  | <<plugins-{type}s-{plugin}-ssl_keystore_type>> |<<string,string>>|No
@@ -420,6 +421,15 @@ The .cer or .pem CA files to validate the server's certificate.
420
421
  The list of cipher suites to use, listed by priorities.
421
422
  Supported cipher suites vary depending on the Java and protocol versions.
422
423
 
424
+ [id="plugins-{type}s-{plugin}-ssl_enabled"]
425
+ ===== `ssl_enabled`
426
+
427
+ * Value type is <<boolean,boolean>>
428
+ * Default value is `true`
429
+
430
+ Enable SSL/TLS secured communication. It must be `true` for other `ssl_` options
431
+ to take effect.
432
+
423
433
  [id="plugins-{type}s-{plugin}-ssl_key"]
424
434
  ===== `ssl_key`
425
435
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-http'
3
- s.version = '5.6.1'
3
+ s.version = '5.7.0'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Sends events to a generic HTTP or HTTPS endpoint"
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"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
 
21
21
  # Gem dependencies
22
22
  s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
23
- s.add_runtime_dependency "logstash-mixin-http_client", ">= 7.3.0", "< 8.0.0"
23
+ s.add_runtime_dependency "logstash-mixin-http_client", ">= 7.4.0", "< 8.0.0"
24
24
 
25
25
  s.add_development_dependency 'logstash-devutils'
26
26
  s.add_development_dependency 'sinatra'
@@ -304,7 +304,7 @@ describe LogStash::Outputs::Http do
304
304
  let(:config) {
305
305
  base_config.merge({"url" => url, "http_method" => "post", "pool_max" => 1})
306
306
  }
307
- let(:expected_body) { LogStash::Json.dump(event) }
307
+ let(:expected_body) { event.to_json }
308
308
  let(:expected_content_type) { "application/json" }
309
309
 
310
310
  include_examples("a received event")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.6.1
4
+ version: 5.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-04 00:00:00.000000000 Z
11
+ date: 2024-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - ">="
37
37
  - !ruby/object:Gem::Version
38
- version: 7.3.0
38
+ version: 7.4.0
39
39
  - - "<"
40
40
  - !ruby/object:Gem::Version
41
41
  version: 8.0.0
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 7.3.0
49
+ version: 7.4.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: 8.0.0