mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
17 lines
469 B
JavaScript
17 lines
469 B
JavaScript
// Require config
|
|
var app = require('ui/modules').get('app/wazuh', []);
|
|
|
|
app.controller('oscapController', function ($scope, DataFactory, $mdToast, errlog, appState) {
|
|
$scope.defaultManagerName = appState.getDefaultManager().name;
|
|
|
|
//Print Error
|
|
var printError = function (error) {
|
|
$mdToast.show({
|
|
template: '<md-toast>' + error.html + '</md-toast>',
|
|
position: 'bottom left',
|
|
hideDelay: 5000,
|
|
});
|
|
}
|
|
|
|
});
|