Socket
Book a DemoInstallSign in
Socket

fluent-plugin-ldap-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-ldap-client

0.1.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

fluent-plugin-ldap-client

Fluentd plugin to link with ldap server.

It is plugins that will search data in ldap.

filter : ldap_enrich

To do enrichment on events through ldap search.

parameters

Parameters are :

parametersdefaulttypepurpose
ldap_hostlocalhoststringldap hostname
ldap_port389integerldap port
ldap_encryptionfalsebooluse tls
ldap_base_dn''stringldap base DN for query
ldap_usernamenilstringusername for ldap bind
ldap_passwordnilstringpassword for ldap bind
ldap_ca_certnilstringpath of CA cert for ldap connection
ldap_querynilstringquery that will be interpolated against record, then sent to ldap
ldap_attributes{}hashmapping of ldap attributes to inject in record
enable_cachetrueboolenable cache to reduce query to ldap
cache_size1000intergercache size in number of entries
cache_ttl_positive24 * 3600integerttl of positive entries (not nil) in seconds
cache_ttl_negative3600integerttl of negative entries (nil) in seconds

examples

<filter test>
  @type ldap_enrich

  ldap_base_dn "dc=test"
  ldap_query "(uid=%{user})"
  ldap_attributes uid:user_uid,mail:user_mail

  cache_enable true
</filter>
  • use "dc=test" as ldap search base DN
  • ldap_query will be interpolated, with %{user} replaced by record['user'], then send the query to ldap
  • ldap_attributes will inject uid attributes as user_uid in record, will inject mail attributes as user_mail in record

Installation

Manual install, by executing:

gem install fluent-plugin-ldap-client

Add to Gemfile with:

bundle add fluent-plugin-ldap-client
  • Copyright(c) 2025-2025 Thomas Tych
  • License
    • Apache License, Version 2.0

FAQs

Package last updated on 25 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.