wazuh-kibana-app/index.js

27 lines
807 B
JavaScript
Raw Normal View History

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',
uses: [
'visTypes',
'visResponseHandlers',
'visRequestHandlers',
'visEditorTypes',
'savedObjectTypes',
'spyModes',
'fieldFormats',
],
injectVars: server => {
return server.plugins.kibana.injectVars(server);
}
2017-10-27 10:21:56 +00:00
}
},
init: require('./init.js')
});