Emmanuel BENOîT
91be691ea4
This is a Go program which can synchronize Graylog 4 roles and access privileges to dashboards and streams from a LDAP directory, based on a YAML configuration file that maps LDAP groups to Graylog privileges. The code is rather ugly, some features are half-baked (LDAP TLS support, impossible to disable HTTP TLS checks, bad error handling...) and some documentation needs to be added but it's a start.
10 lines
213 B
Modula-2
10 lines
213 B
Modula-2
module glgroups
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
github.com/bitfield/script v0.18.0
|
|
github.com/go-ldap/ldap v3.0.3+incompatible
|
|
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
|
|
gopkg.in/yaml.v2 v2.2.2
|
|
)
|