2017-10-27 10:21:56 +00:00
|
|
|
module.exports = (kibana) => new kibana.Plugin({
|
|
|
|
id: 'wazuh',
|
|
|
|
name: 'wazuh',
|
|
|
|
require: ['kibana', 'elasticsearch'],
|
|
|
|
uiExports: {
|
|
|
|
app: {
|
|
|
|
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: [
|
|
|
|
'visTypes',
|
|
|
|
'visResponseHandlers',
|
|
|
|
'visRequestHandlers',
|
|
|
|
'visEditorTypes',
|
|
|
|
'savedObjectTypes',
|
|
|
|
'spyModes',
|
|
|
|
'fieldFormats',
|
|
|
|
],
|
2018-04-13 15:26:41 +00:00
|
|
|
injectVars: server => {
|
|
|
|
return server.plugins.kibana.injectVars(server);
|
2017-02-01 21:06:05 +00:00
|
|
|
}
|
2017-10-27 10:21:56 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
init: require('./init.js')
|
|
|
|
});
|