Skip to content

Commit cd98d27

Browse files
authored
Feat: support ssl_verification_mode option (#131)
1 parent cc8dc52 commit cd98d27

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 5.2.0
2+
- Feat: support ssl_verification_mode option [#131](https://github.com/logstash-plugins/logstash-input-http_poller/pull/131)
3+
14
## 5.1.0
25
- Add ECS support [#129](https://github.com/logstash-plugins/logstash-input-http_poller/pull/129)
36

docs/index.asciidoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
146146
| <<plugins-{type}s-{plugin}-retry_non_idempotent>> |<<boolean,boolean>>|No
147147
| <<plugins-{type}s-{plugin}-schedule>> |<<hash,hash>>|Yes
148148
| <<plugins-{type}s-{plugin}-socket_timeout>> |<<number,number>>|No
149+
| <<plugins-{type}s-{plugin}-ssl_verification_mode>> |<<string,string>>|No
149150
| <<plugins-{type}s-{plugin}-target>> |<<string,string>>|No
150151
| <<plugins-{type}s-{plugin}-truststore>> |a valid filesystem path|No
151152
| <<plugins-{type}s-{plugin}-truststore_password>> |<<password,password>>|No
@@ -413,6 +414,22 @@ See: rufus/scheduler for details about different schedule options and value stri
413414

414415
Timeout (in seconds) to wait for data on the socket. Default is `10s`
415416

417+
[id="plugins-{type}s-{plugin}-ssl_verification_mode"]
418+
===== `ssl_verification_mode`
419+
420+
* Value type is <<string,string>>
421+
* Supported values are: `full`, `none`
422+
* Default value is `full`
423+
424+
Controls the verification of server certificates.
425+
The `full` option verifies that the provided certificate is signed by a trusted authority (CA)
426+
and also that the server’s hostname (or IP address) matches the names identified within the certificate.
427+
428+
The `none` setting performs no verification of the server’s certificate.
429+
This mode disables many of the security benefits of SSL/TLS and should only be used after cautious consideration.
430+
It is primarily intended as a temporary diagnostic mechanism when attempting to resolve TLS errors.
431+
Using `none` in production environments is strongly discouraged.
432+
416433
[id="plugins-{type}s-{plugin}-target"]
417434
===== `target`
418435

logstash-input-http_poller.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'logstash-input-http_poller'
3-
s.version = '5.1.0'
3+
s.version = '5.2.0'
44
s.licenses = ['Apache License (2.0)']
55
s.summary = "Decodes the output of an HTTP API into events"
66
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|
2020
# Gem dependencies
2121
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
2222
s.add_runtime_dependency 'logstash-codec-plain'
23-
s.add_runtime_dependency 'logstash-mixin-http_client', "~> 7"
23+
s.add_runtime_dependency "logstash-mixin-http_client", ">= 7.1.0"
2424
s.add_runtime_dependency 'stud', "~> 0.0.22"
2525
s.add_runtime_dependency 'rufus-scheduler', "~>3.0.9"
2626
s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~>1.3'

0 commit comments

Comments
 (0)