diff --git a/lib/agent/plugins/control-panel/index.js b/lib/agent/plugins/control-panel/index.js index 3837b0b14..bc35829c0 100644 --- a/lib/agent/plugins/control-panel/index.js +++ b/lib/agent/plugins/control-panel/index.js @@ -73,8 +73,11 @@ function load_hooks() { hooks.on('event', sender.notify_event) hooks.on('data', sender.send_data) hooks.on('report', (name, data) => { + let data_to_send_panel = {  + ...data + } if (name == 'specs') hardware.track_hardware_changes(data); - sender.send_report(name, data) + sender.send_report(name, data_to_send_panel) }); // this is triggered from this own plugin's sender module diff --git a/lib/agent/providers/hardware/index.js b/lib/agent/providers/hardware/index.js index 36832448c..76a1ef2c6 100644 --- a/lib/agent/providers/hardware/index.js +++ b/lib/agent/providers/hardware/index.js @@ -84,6 +84,7 @@ exp.track_hardware_changes = (data) => { if (data.tpm_module) delete data.tpm_module; if (data.os_edition) delete data.os_edition; if (data.winsvc_version) delete data.winsvc_version; + if (data.rp_module) delete data.rp_module; var diff_count = 0; var save_data = () => {