FortiSandbox
FortiSandbox provides a solution to protect against advanced threats and ransomware for companies who don’t want to implement and maintain a sandbox environment on their own.
ojacinto
Staff
Staff
Article Id 332864
Description This article describes how to validate the Repository Reports on CLI  when the error 'Download Reports Failed' is showed on the GUI.
Scope FortiSandbox 4.2.0 and later, FortiSandbox 4.4.0 and later.
Solution

When an admin user generates a report:

GUI -> Log and Report -> Summary Report -> Generate Report.


Each report file is stored on the FortiSandbox disk directory /drive0/private/report/.
To see that files on the CLI it is necessary to access by shell (Debug mode):
How to enable Debug Mode on FortiSandbox

After shell access is enabled to change to the directory:


cd /drive0/private/report

pwd
/drive0/private/report/

To see the files, type this command. In some cases when the admin tries to delete a report on the GUI the following error is shown:


Download Reports Failed

Please note that: Detailed report /drive0/private/report/"report_name" does not exit.

Reports_Failed.jpg

 

The administrator can review if the file does not exist on the directory by the shell:

ls -lth
total 4M
-rw-r--r-- 1 0 0 2.3K Aug 13 15:10 20240813150000_fdnstats_upload.json
-rw-r--r-- 1 0 0 2.3K Aug 13 14:13 20240813140000_fdnstats_upload.json
-rw-r--r-- 1 0 0 1.8M Aug 13 13:55 threat_activity_2024-08-13_13:55:20_by_admin.pdf
-rw-r--r-- 1 0 0 1.7M Aug 13 13:51 executive_summary_2024-08-13_13:51:08_by_admin.pdf

 

On this case the file threat_activity_2024-02-20_15:52:27_by_admin.pdf does not exist in the directory so, it is expected to see the error on the FortSandbox GUI.

 

To clear this GUI error, it is necessary to delete that entry on the GUI:

ScreenHunter_230 Aug. 13 14.26.jpg

 

ScreenHunter_231 Aug. 13 14.26.jpg