mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 18:05:20 +00:00
Merge branch 'development' of https://github.com/wazuh/wazuh-kibana-ui into development
This commit is contained in:
commit
74c7c92a32
@ -97,7 +97,7 @@ app.controller('fimController', function ($scope, DataFactory, $mdToast) {
|
||||
loadWatch = $scope.$watch(function () {
|
||||
return $scope.$parent._agent;
|
||||
}, function () {
|
||||
DataFactory.initialize('get', '/syscheck/' + $scope.$parent._agent.id + '/files', {}, 100, 0)
|
||||
DataFactory.initialize('get', '/syscheck/' + $scope.$parent._agent.id, {}, 100, 0)
|
||||
.then(function (data) {
|
||||
DataFactory.clean(objectsArray['/files']);
|
||||
objectsArray['/files'] = data;
|
||||
@ -117,7 +117,7 @@ app.controller('fimController', function ($scope, DataFactory, $mdToast) {
|
||||
};
|
||||
|
||||
var load = function () {
|
||||
DataFactory.initialize('get', '/syscheck/' + $scope.$parent._agent.id + '/files', {}, 100, 0)
|
||||
DataFactory.initialize('get', '/syscheck/' + $scope.$parent._agent.id, {}, 100, 0)
|
||||
.then(function (data) {
|
||||
objectsArray['/files'] = data;
|
||||
DataFactory.get(objectsArray['/files'])
|
||||
|
@ -63,7 +63,7 @@ module.exports = function (server, options) {
|
||||
|
||||
var payload = {
|
||||
'offset': offset ? offset : 0,
|
||||
'limit': (10 < maxSize) ? 10 : maxSize
|
||||
'limit': (250 < maxSize) ? 250 : maxSize
|
||||
};
|
||||
|
||||
var options = {
|
||||
|
Loading…
Reference in New Issue
Block a user