mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
32 lines
984 B
JavaScript
32 lines
984 B
JavaScript
var app = require('ui/modules').get('app/wazuh', []);
|
|
|
|
app.controller('overviewGeneralController', function ($scope, DataFactory, genericReq, $mdToast, errlog) {
|
|
|
|
$scope.load = true;
|
|
$scope.defaultManager = $scope.$parent.state.getDefaultManager().name;
|
|
|
|
});
|
|
|
|
app.controller('overviewFimController', function ($scope, DataFactory, genericReq, $mdToast, errlog) {
|
|
|
|
$scope.load = true;
|
|
$scope.defaultManager = $scope.$parent.state.getDefaultManager().name;
|
|
|
|
});
|
|
|
|
app.controller('overviewPMController', function ($scope, DataFactory, genericReq, $mdToast, errlog) {
|
|
|
|
$scope.load = true;
|
|
$scope.$parent.state.setOverviewState('pm');
|
|
$scope.defaultManager = $scope.$parent.state.getDefaultManager().name;
|
|
|
|
});
|
|
|
|
app.controller('overviewOSCAPController', function ($scope, DataFactory, genericReq, $mdToast, errlog) {
|
|
|
|
$scope.load = true;
|
|
$scope.$parent.state.setOverviewState('oscap');
|
|
$scope.defaultManager = $scope.$parent.state.getDefaultManager().name;
|
|
|
|
});
|