mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 18:05:20 +00:00
47 lines
1.3 KiB
JavaScript
47 lines
1.3 KiB
JavaScript
/*
|
|
* Wazuh app - Module for Kibana plugin definition
|
|
* 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.
|
|
*/
|
|
|
|
// Imports the init module
|
|
import init from './init';
|
|
|
|
export default 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',
|
|
'fieldFormatEditors',
|
|
'navbarExtensions',
|
|
'managementSections',
|
|
'devTools',
|
|
'docViews',
|
|
'embeddableFactories'
|
|
]
|
|
}
|
|
},
|
|
init: (server,options) => init(server,options)
|
|
|
|
});
|