Merge pull request #752 from wazuh/issue-749

[ 3.5.x >= ] Adapt Wazuh 3.5
This commit is contained in:
Javier Castro 2018-08-02 12:34:49 +02:00 committed by GitHub
commit 3d066df2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

View File

@ -311,7 +311,7 @@ function (
$scope.groupMergedSum = (groupMergedSum.length) ? groupMergedSum[0].mergedSum : 'Unknown';
const agentMergedSum = agentGroups[1].data.data.items.filter(item => item.id === $scope.agent.id);
$scope.agentMergedSum = (agentMergedSum.length) ? agentMergedSum[0].merged_sum : 'Unknown';
$scope.agentMergedSum = (agentMergedSum.length) ? agentMergedSum[0].mergedSum : 'Unknown';
$scope.isSynchronized = (($scope.agentMergedSum === $scope.groupMergedSum) && !([$scope.agentMergedSum,$scope.groupMergedSum].includes('Unknown')) ) ? true : false;

View File

@ -1082,6 +1082,33 @@ export default [
"aggregatable": true,
"readFromDocValues": true
},
{
"name": "data.vulnerability.package.cvss2",
"type": "string",
"count": 0,
"scripted": false,
"searchable": true,
"aggregatable": true,
"readFromDocValues": true
},
{
"name": "data.vulnerability.package.cvss3",
"type": "string",
"count": 0,
"scripted": false,
"searchable": true,
"aggregatable": true,
"readFromDocValues": true
},
{
"name": "data.vulnerability.package.patch",
"type": "string",
"count": 0,
"scripted": false,
"searchable": true,
"aggregatable": true,
"readFromDocValues": true
},
{
"name": "data.vulnerability.published",
"type": "date",