Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (55 sloc) 2.15 KB
http.host: 0.0.0.0
http.type: ssl_netty4
#transport.type: local
readonlyrest:
ssl:
enable: true
keystore_file: "keystore.jks"
keystore_pass: readonlyrest
key_pass: readonlyrest
enable: true
# Default policy is to forbid everything, so let's define a whitelist
access_control_rules:
# ES containter initializer need this rule to configure ES instance after startup
- name: "CONTAINER ADMIN"
type: allow
auth_key: admin:container
- name: "::Tweets::"
methods: GET
kibana_index: ".kibana_group1"
groups: ["group1"]
- name: "::Facebook posts::"
methods: GET
kibana_index: ".kibana_group3"
groups: ["group3"]
users:
- username: cartman
groups: ["group1", "group3"]
ldap_authentication: "ldap1"
- username: morgan
groups: ["group2", "group3"]
ldap_authentication: "ldap1"
- username: chandler
groups: ["group1", "group3"]
ldap_authentication: "ldap1"
######### LDAP1 SERVER CONFIGURATION ########################
# group1: cartman, bong
# group2: morgan
# group3: morgan, cartman, bong
#############################################################
ldaps:
- name: ldap1
host: "{LDAP1}"
port: 389 # default 389
ssl_enabled: false # default true
ssl_trust_all_certs: true # default false
bind_dn: "cn=admin,dc=example,dc=com" # skip for anonymous bind
bind_password: "password" # skip for anonymous bind
search_user_base_DN: "ou=People,dc=example,dc=com"
search_groups_base_DN: "ou=Groups,dc=example,dc=com"
user_id_attribute: "uid" # default "uid"
unique_member_attribute: "uniqueMember" # default "uniqueMember"
connection_pool_size: 10 # default 30
connection_timeout_in_sec: 10 # default 1
request_timeout_in_sec: 10 # default 1
cache_ttl_in_sec: 60 # default 0 - cache disabled
You can’t perform that action at this time.