--- title: "Generating a Malware Activity report using the CLI" slug: "generating-a-malware-activity-report-using-the-cli-1" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-09-12T20:42:23Z published: 2026-09-12T20:42:23Z canonical: "docs.trellix.com/generating-a-malware-activity-report-using-the-cli-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Generating a Malware Activity report using the CLI Use the commands in this section to generate a consolidated Malware Activity report. > [!NOTE] > Note > > Before a report can be generated and sent through email, ensure that the SMTP server or domain is configured. You must also specify the email address of the report recipient. For details about configuring these report settings, see the Network Security System Administration Guide. **To generate a Malware Activity report:** 1. Enable the CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify a Malware Activity report. ``` hostname (config) # report generate type malware_activity ``` 3. Specify an output format for the report. - To write the report to an Adobe PDF file: ``` hostname (config) # report generate type malware_activity report_format pdf ``` - To write the report to a CSV file: ``` hostname (config) # report generate type malware_activity report_format csv ``` - To write the report to Adobe Acrobat PDF and CSV files: ``` hostname (config) # report generate type malware_activity report_format both ``` 4. Specify the time period for this report. - To specify for 1 hour: ``` hostname (config) # report generate type malware_activity report_format time_frame past_hour ``` - To specify for the past day: ``` hostname (config) # report generate type malware_activity report_format time_frame past_day ``` - To specify for the past week: ``` hostname (config) # report generate type malware_activity report_format time_frame past_week ``` - To specify for the past month: ``` hostname (config) # report generate type malware_activity report_format time_frame past_month ``` - To specify the range between the start and end dates: ``` hostname (config) # report generate type malware_activity report_format time_frame between start_date yyyy/mm/dd start_time hh:mm:ss end_date yyyy/mm/dd end_time hh:mm:ss ``` 5. Specify the delivery method for the report. The default delivery is email. - To deliver the report through email, enter: ``` hostname (config) # report generate type malware_activity report_format time_frame transport email ``` - To deliver the report as a file, enter: ``` hostname (config) # report generate type malware_activity report_format time_frame transport file ``` The following example shows how to deliver a Malware Activity report as a .csv file covering the past month: ``` hostname (config) # report generate type malware_activity report_format csv time_frame past_month transport file ``` ``` Execute report command. Check email or WebUI for report. ```