Open ejernkrook opened 1 year ago
Fix for error: KeyError: 'total_files_scanned'
KeyError: 'total_files_scanned'
real-time-protection-statistics have changed the json output from underscore to camelcase for total files scanned. mdatp diagnostic real-time-protection-statistics --output json Example:
mdatp diagnostic real-time-protection-statistics --output json
{ "id": 1, "isActive": true, "maxFileScanTime": "0", "name": "systemd", "path": "/usr/lib/systemd/systemd", "resourceScanTime": "0", "scannedFilePaths": null, "totalEventsSent": "0", "totalFilesScanned": "0", "totalScanTime": "0" },
Tested on Ubuntu 22.04 mdatp version: Product version: 101.23052.0009
Having this issue as well, would be amazing if this was fixed.
Fix for error:
KeyError: 'total_files_scanned'
real-time-protection-statistics have changed the json output from underscore to camelcase for total files scanned.
mdatp diagnostic real-time-protection-statistics --output json
Example:Tested on Ubuntu 22.04 mdatp version: Product version: 101.23052.0009