LDAP
The LDAP check:
- Binds using the provided username and password to the LDAP host. It supports LDAP/LDAPS protocols.
 - Searches an object type in the provided 
bindDN. 
icmp.yamlapiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
  name: ldap-pass
spec:
  schedule: "@every 5m"
  ldap:
    - url: ldap://apacheds.canaries.svc.cluster.local:10389
      name: ldap user login
      username:
        value: uid=admin,ou=system
      password:
        value: secret
      bindDN: ou=users,dc=example,dc=com
      userSearch: "(&(objectClass=organizationalPerson))"
    - url: ldap://apacheds.canaries.svc.cluster.local:10389
      name: ldap group login
      username:
        value: uid=admin,ou=system
      password:
        value: secret
      bindDN: ou=groups,dc=example,dc=com
      userSearch: "(&(objectClass=groupOfNames))"
| Field | Description | Scheme | 
|---|---|---|
bindDN* | BindDN to use in query  | string  | 
name* | Name of the check, must be unique within the canary  | string  | 
userSearch* | UserSearch to use in query  | string  | 
description | Description for the check  | string  | 
display | Expression to change the formatting of the display  | |
icon | Icon for overwriting default icon on the dashboard  | |
labels | Labels for check  | map[string]string  | 
metrics | Metrics to export from  | |
test | Evaluate whether a check is healthy  | |
transform | Transform data from a check into multiple individual checks  |