diff --git a/public/controllers/agents.js b/public/controllers/agents.js index 1958fd2ac..c5c42e598 100644 --- a/public/controllers/agents.js +++ b/public/controllers/agents.js @@ -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; diff --git a/server/integration-files/known-fields.js b/server/integration-files/known-fields.js index 456d3eaf7..663e42834 100644 --- a/server/integration-files/known-fields.js +++ b/server/integration-files/known-fields.js @@ -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",