From a36e35620065d5025f86e0cb4b96097bdb177ade Mon Sep 17 00:00:00 2001 From: Jose Sanchez Robles Date: Wed, 27 Nov 2019 21:33:07 +0100 Subject: [PATCH] Normalize the field whodata in the group reporting (#1921) --- server/controllers/wazuh-reporting.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/controllers/wazuh-reporting.js b/server/controllers/wazuh-reporting.js index 7bcb071bb0..04d3197de8 100644 --- a/server/controllers/wazuh-reporting.js +++ b/server/controllers/wazuh-reporting.js @@ -2045,6 +2045,7 @@ export class WazuhReportingCtrl { row.push(x.path); columns.forEach(y => { if (y !== '') { + y = y !== "check_whodata" ? y : 'whodata'; row.push(x[y] ? 'yes' : 'no'); } });