--- title: "Generating a malware activity report using the CLI" slug: "generating-a-malware-activity-report-using-the-cli" tags: ["Network Security (NX)", "Product Usage"] updated: 2026-09-02T17:27:05Z published: 2026-09-02T17:27:05Z canonical: "docs.trellix.com/generating-a-malware-activity-report-using-the-cli" --- > ## 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 Follow these steps to generate a malware activity report. ### Command syntax You generate a malware activity report by using the `report generate` command with the following command-line options **`type malware_activity`** **`report_format pdf`** `time_frame <timeFrame>` where `<timeFrame>` specifies the output file format: - `past_week` - `past_month` - `past_3_months` - `between start_date <yyyy>/<mm>/<dd> start_time <hh>:<mm>:<ss> end_date <yyyy>/<mm>/<dd> end_time <hh>:<mm>:<ss>` `transport <transportType>` where `<transportType>` is the report distribution method: - `email` - `file` ### Prerequisites - Admin access to the SmartVision appliance. To generate a malware activity report: 1. Log in to the appliance CLI and go to configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Generate an malware activity report by using the following command: ``` report generate type malware_activity report_format pdf time_frame transport ``` The following example generates an malware activity report of that covers detections that occurred over the past one month: ``` hostname (config) # report generate type malware_activity report_format pdf time_frame past_month transport file Execute report command. Check email or WebUI for report. ``` :