logstash-input-netldap 1.0.1 → 1.0.3
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/README.md +1 -1
- data/lib/logstash/inputs/netldap.rb +3 -0
- data/logstash-input-netldap.gemspec +4 -3
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2807fe04012d88dc5dc6e0acb531f146699a2f331f9f5f9b4241745d3793d2f4
|
4
|
+
data.tar.gz: 9ab52574c928c23fd98c5d8db6e07b7ed6416f66ebc6f5087b0ad3ae0d0250c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34815de8abf3eced4e309c39f4cfc9a717e419209ceae680dd724bcb0c4e3c2313d98b5530df6a2e7ec722b819e2db4a09ce90f8a6f7612f2fea7579b81b6b73
|
7
|
+
data.tar.gz: 89c3bc81a6b8181aae0d60e102a1d7f81cb7d24eaa2dc4d9015c9bad9147cd1f6625ca12276aee13eb92d44b61053f9e8535ec591714e7305238ac76350bda9b
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ Logstash provides infrastructure to automatically build documentation for this p
|
|
10
10
|
|
11
11
|
* For formatting config examples, you can use the asciidoc `[source,json]` directive
|
12
12
|
* For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
|
13
|
-
* Information for this plugin configuration can be found [here](docs/index.asciidoc)
|
13
|
+
* Information for this plugin configuration can be found [here](https://github.com/damterroba/logstash-input-netldap/blob/master/docs/index.asciidoc)
|
14
14
|
|
15
15
|
## Developing
|
16
16
|
|
@@ -63,6 +63,9 @@ class LogStash::Inputs::NetLdap < LogStash::Inputs::Base
|
|
63
63
|
if @anonymous
|
64
64
|
auth = { :method => :anonymous}
|
65
65
|
else
|
66
|
+
if @dn.nil? or @password.nil?
|
67
|
+
raise(LogStash::ConfigurationError, ":dn and :password must be set when bind is not anonymous.")
|
68
|
+
end
|
66
69
|
auth = {
|
67
70
|
:method => :simple,
|
68
71
|
:username => @dn,
|
@@ -1,13 +1,14 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-netldap'
|
3
|
-
s.version = '1.0.
|
3
|
+
s.version = '1.0.3'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = "Logstash input plugin that performs an LDAP search."
|
6
|
-
s.description = "This gem is a Logstash plugin
|
6
|
+
s.description = "This gem is a Logstash input plugin allowing to retrieve entries from a LDAP directory. This gem has 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"
|
7
7
|
s.authors = ["damterroba"]
|
8
8
|
s.email = 'mathieu.terroba@gmail.com'
|
9
9
|
s.homepage = "https://github.com/damterroba/logstash-input-netldap/"
|
10
10
|
s.require_paths = ["lib"]
|
11
|
+
s.required_ruby_version = ">= 2.0.0"
|
11
12
|
|
12
13
|
# Files
|
13
14
|
s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
|
@@ -21,6 +22,6 @@ Gem::Specification.new do |s|
|
|
21
22
|
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
|
22
23
|
s.add_runtime_dependency 'logstash-codec-plain'
|
23
24
|
s.add_runtime_dependency 'stud', '>= 0.0.22'
|
24
|
-
s.add_runtime_dependency 'net-ldap'
|
25
|
+
s.add_runtime_dependency 'net-ldap', '>= 0.16.1'
|
25
26
|
s.add_development_dependency 'logstash-devutils'
|
26
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-netldap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- damterroba
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,7 +63,7 @@ dependencies:
|
|
63
63
|
requirements:
|
64
64
|
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
66
|
+
version: 0.16.1
|
67
67
|
name: net-ldap
|
68
68
|
prerelease: false
|
69
69
|
type: :runtime
|
@@ -71,7 +71,7 @@ dependencies:
|
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: 0.16.1
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
@@ -86,9 +86,10 @@ dependencies:
|
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
|
-
description: This gem is a Logstash plugin
|
90
|
-
|
91
|
-
gem is not a stand-alone
|
89
|
+
description: This gem is a Logstash input plugin allowing to retrieve entries from
|
90
|
+
a LDAP directory. This gem has to be installed on top of the Logstash core pipeline
|
91
|
+
using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone
|
92
|
+
program
|
92
93
|
email: mathieu.terroba@gmail.com
|
93
94
|
executables: []
|
94
95
|
extensions: []
|
@@ -116,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
117
|
requirements:
|
117
118
|
- - ">="
|
118
119
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
120
|
+
version: 2.0.0
|
120
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
122
|
requirements:
|
122
123
|
- - ">="
|