2018-04-22 18:52:55 +00:00
|
|
|
/*
|
2018-04-22 20:16:38 +00:00
|
|
|
* Wazuh app - Module for Kibana plugin definition
|
2018-04-22 18:52:55 +00:00
|
|
|
* Copyright (C) 2018 Wazuh, Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Find more information about this on the LICENSE file.
|
|
|
|
*/
|
2018-05-16 21:58:50 +00:00
|
|
|
|
|
|
|
// Imports the init module
|
2018-04-21 10:09:55 +00:00
|
|
|
import init from './init';
|
|
|
|
|
|
|
|
export default kibana => new kibana.Plugin({
|
2018-05-16 21:58:50 +00:00
|
|
|
id: 'wazuh',
|
|
|
|
name: 'wazuh',
|
2017-10-27 10:21:56 +00:00
|
|
|
require: ['kibana', 'elasticsearch'],
|
|
|
|
uiExports: {
|
|
|
|
app: {
|
2018-04-22 18:52:55 +00:00
|
|
|
id: 'wazuh',
|
|
|
|
title: 'Wazuh',
|
|
|
|
description: 'Wazuh app for Kibana',
|
|
|
|
icon: 'plugins/wazuh/img/icon.png',
|
|
|
|
main: 'plugins/wazuh/app',
|
2017-11-13 15:15:44 +00:00
|
|
|
uses: [
|
2018-04-22 18:52:55 +00:00
|
|
|
'visTypes',
|
|
|
|
'visResponseHandlers',
|
|
|
|
'visRequestHandlers',
|
|
|
|
'visEditorTypes',
|
2018-06-14 14:57:03 +00:00
|
|
|
'savedObjectTypes',
|
2018-04-22 18:52:55 +00:00
|
|
|
'spyModes',
|
2018-06-15 10:42:57 +00:00
|
|
|
'fieldFormats',
|
|
|
|
'fieldFormatEditors',
|
|
|
|
'navbarExtensions',
|
|
|
|
'managementSections',
|
|
|
|
'devTools',
|
|
|
|
'docViews',
|
|
|
|
'embeddableFactories'
|
2018-06-14 14:57:03 +00:00
|
|
|
]
|
2017-10-27 10:21:56 +00:00
|
|
|
}
|
|
|
|
},
|
2018-06-14 14:57:03 +00:00
|
|
|
init: (server,options) => init(server,options)
|
|
|
|
|
2018-04-22 18:52:55 +00:00
|
|
|
});
|