mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
19 lines
505 B
JavaScript
19 lines
505 B
JavaScript
import { uiModules } from 'ui/modules';
|
|
import {
|
|
setAngularModule,
|
|
setServices
|
|
} from 'plugins/kibana/discover/kibana_services';
|
|
import { npStart } from 'ui/new_platform';
|
|
import { buildServices } from 'plugins/kibana/discover/build_services';
|
|
|
|
// Set up Wazuh app
|
|
const app = uiModules.get('app/wazuh', ['ngCookies', 'ngMaterial', 'chart.js']);
|
|
setAngularModule(app);
|
|
|
|
// Set up services needed for discover
|
|
const services = buildServices(
|
|
npStart.core,
|
|
npStart.plugins
|
|
);
|
|
setServices(services);
|