diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/security/PostBreachParser.js b/monkey/monkey_island/cc/ui/src/components/report-components/security/PostBreachParser.js index 39dfecf7e..b56a532f7 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/security/PostBreachParser.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/security/PostBreachParser.js @@ -23,7 +23,7 @@ function aggregateShellStartupPba(results) { failedOutputs += results[i].result[0]; } } - if(aggregatedPbaResult === undefined) return; + if(aggregatedPbaResult === undefined) return results; results = results.filter(result => result.name !== SHELL_STARTUP_NAME); aggregatedPbaResult.result[0] = successfulOutputs + failedOutputs;