mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 18:05:20 +00:00
27 lines
807 B
JavaScript
27 lines
807 B
JavaScript
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);
|
|
}
|
|
}
|
|
},
|
|
init: require('./init.js')
|
|
}); |