2014-11-24 18:11:30 -05:00
|
|
|
{
|
|
|
|
"defaults": {
|
|
|
|
"plugins": [
|
|
|
|
"lmenezes/elasticsearch-kopf",
|
2015-01-22 18:01:59 -05:00
|
|
|
"elasticsearch/elasticsearch-license/latest",
|
|
|
|
"elasticsearch/marvel/latest",
|
|
|
|
{ "name": "shield", "path" : "file:../../target/releases/elasticsearch-shield-1.0.0-SNAPSHOT.zip" }
|
2014-11-24 18:11:30 -05:00
|
|
|
],
|
|
|
|
"config" : {
|
|
|
|
"cluster.name": "shield",
|
|
|
|
"indices.store.throttle.max_bytes_per_sec": "100mb",
|
|
|
|
"discovery": {
|
|
|
|
"type": "zen",
|
|
|
|
"zen.ping" : {
|
|
|
|
"multicast.enabled": false,
|
2015-01-22 18:01:59 -05:00
|
|
|
"unicast.hosts": [ "127.0.0.1:9300", "127.0.0.1:9301" ]
|
2014-11-24 18:11:30 -05:00
|
|
|
}
|
|
|
|
},
|
2015-01-22 18:01:59 -05:00
|
|
|
"network": {
|
|
|
|
"bind_host": "127.0.0.1",
|
|
|
|
"publish_host": "127.0.0.1"
|
|
|
|
},
|
|
|
|
"marvel.agent.exporter.es.hosts": [ "https://admin-plain:changeme@127.0.0.1:9200"],
|
|
|
|
"marvel.agent.exporter.es.ssl.truststore.path": "../../src/test/resources/org/elasticsearch/shield/transport/ssl/certs/simple/testnode.jks",
|
|
|
|
"marvel.agent.exporter.es.ssl.truststore.password": "testnode",
|
|
|
|
"http.cors": {
|
|
|
|
"enabled": true,
|
|
|
|
"allow-origin": "/http:\/\/www.elasticsearch.(org|com)/"
|
|
|
|
},
|
2014-11-24 18:11:30 -05:00
|
|
|
"shield": {
|
|
|
|
"enabled": true,
|
|
|
|
"system_key.file": ".esvm-shield-config/system_key",
|
|
|
|
"audit.enabled": true,
|
|
|
|
"transport.ssl": true,
|
|
|
|
"http.ssl": true,
|
2015-01-22 18:01:59 -05:00
|
|
|
"ssl.hostname_verification": true,
|
2014-11-24 18:11:30 -05:00
|
|
|
"ssl.keystore": {
|
|
|
|
"path": "../../src/test/resources/org/elasticsearch/shield/transport/ssl/certs/simple/testnode.jks",
|
|
|
|
"password": "testnode"
|
|
|
|
},
|
|
|
|
"authc.realms" : {
|
|
|
|
"esusers": {
|
|
|
|
"type" : "esusers",
|
|
|
|
"order" : 0,
|
|
|
|
"files" : {
|
|
|
|
"users" : ".esvm-shield-config/users",
|
|
|
|
"users_roles" : ".esvm-shield-config/users_roles"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"authz.store.files.roles" : ".esvm-shield-config/roles.yml"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"clusters": {
|
|
|
|
"shield": {
|
|
|
|
"version": "1.4"
|
|
|
|
},
|
|
|
|
"oldap": {
|
|
|
|
"version": "1.4",
|
|
|
|
"config": {
|
|
|
|
"shield.authc.realms.oldap": {
|
|
|
|
"type": "ldap",
|
|
|
|
"order": 1,
|
|
|
|
"url": "ldaps://54.200.235.244:636",
|
|
|
|
"user_dn_templates": ["uid={0},ou=people,dc=oldap,dc=test,dc=elasticsearch,dc=com"],
|
2015-01-22 18:01:59 -05:00
|
|
|
"group_search.base_dn": "ou=people,dc=oldap,dc=test,dc=elasticsearch,dc=com",
|
|
|
|
"unmapped_groups_as_roles": false,
|
|
|
|
"hostname_verification": false,
|
|
|
|
"files.role_mapping": ".esvm-shield-config/role_mapping.yml"
|
2014-11-24 18:11:30 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ad": {
|
|
|
|
"version": "1.4",
|
|
|
|
"config": {
|
|
|
|
"shield.authc.realms.ad": {
|
|
|
|
"type": "active_directory",
|
|
|
|
"order": 1,
|
|
|
|
"domain_name": "ad.test.elasticsearch.com",
|
|
|
|
"url": "ldaps://ad.test.elasticsearch.com:636",
|
2015-01-22 18:01:59 -05:00
|
|
|
"unmapped_groups_as_roles": false,
|
|
|
|
"hostname_verification": false,
|
|
|
|
"files.role_mapping": ".esvm-shield-config/role_mapping.yml"
|
2014-11-24 18:11:30 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|