mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-08 02:38:51 +00:00
Merge pull request #752 from wazuh/issue-749
[ 3.5.x >= ] Adapt Wazuh 3.5
This commit is contained in:
commit
3d066df2af
@ -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;
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user