kibana/x-pack/test_utils/kbn_server_config.ts
Larry Gregory 74ee0d0ba4
[Docs] - Deprecate kibana_user role (#54606)
* rename kibana_user => kibana_admin

* add migration note

* [DOCS] Fixes link for use in multiple books

* i18n fixes after merge from master

* fix i18n

* Apply suggestions from code review

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
2020-01-31 14:26:12 -05:00

35 lines
770 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { resolve } from 'path';
type Licenses = 'oss' | 'basic' | 'gold' | 'trial';
export const TestKbnServerConfig = {
kbn: {
plugins: { paths: [resolve(__dirname, '../../x-pack')] },
xpack: {
monitoring: {
tests: {
cloud_detector: {
enabled: false,
},
},
},
},
},
es: {
license: 'trial' as Licenses,
},
users: [
{
username: 'kibana_admin',
password: 'x-pack-test-password',
roles: ['kibana_admin'],
},
],
};