mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* remove legacy security plugin * remove legacy plugin check * adapt mocha tests * update CODEOWNERS # Conflicts: # .github/CODEOWNERS
This commit is contained in:
parent
11458060da
commit
3c889c995f
3 changed files with 1 additions and 23 deletions
0
.github/CODEOWNERS
vendored
0
.github/CODEOWNERS
vendored
|
@ -5,9 +5,8 @@
|
|||
*/
|
||||
|
||||
import { xpackMain } from './legacy/plugins/xpack_main';
|
||||
import { security } from './legacy/plugins/security';
|
||||
import { spaces } from './legacy/plugins/spaces';
|
||||
|
||||
module.exports = function (kibana) {
|
||||
return [xpackMain(kibana), spaces(kibana), security(kibana)];
|
||||
return [xpackMain(kibana), spaces(kibana)];
|
||||
};
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/*
|
||||
* 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 { Root } from 'joi';
|
||||
import { resolve } from 'path';
|
||||
|
||||
export const security = (kibana: Record<string, any>) =>
|
||||
new kibana.Plugin({
|
||||
id: 'security',
|
||||
publicDir: resolve(__dirname, 'public'),
|
||||
require: ['elasticsearch'],
|
||||
configPrefix: 'xpack.security',
|
||||
config: (Joi: Root) =>
|
||||
Joi.object({ enabled: Joi.boolean().default(true) })
|
||||
.unknown()
|
||||
.default(),
|
||||
init() {},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue