Use this command to generate an email anti-virus report.
Reports can be provided as files available on the appliance's Web UI. The reports can also be mailed to pre-specified email accounts. These email accounts are set up using the report email recipient command.
Note
You must configure an SMTP mail server before the reports can be emailed to the specified recipients. To configure the SMTP mail server, use the
report email smtp servercommand.
Syntax
report generate type email_av_report report_format <format> time_frame <timeFrame> transport <transport>
Parameters
format
Specifies the report format. The following formats are available:
csv- Comma Seperated Value (.csv) spreadsheet
timeFrame
Specifies the report's time frame. The following time frames are available:
past_daypast_weekpast_monthpast_3_monthsbetween start_date <startdate> start_time <startTime> end_date <endDate> end_time <endTime><startDate>The start date in the format:YYYY/MM/DD<startTime>The start time (24 hour clock) in the format:HH/MM/SS<endDate>The end date in the format:YYYY/MM/DD<endTime>The end time (24 hour clock) in the format:HH/MM/SS
transport
The method used to obtain the report. The following methods are available:
email- The report will be emailed to the recipient(s) specified with the report email recipient command.file- The report will be added to the Reports tab on appliance's Web UI.
Example
The following example generates a report of the previous day's anti-virus detections as a .csv file provided as a file on the appliance's Web UI:
hostname (config) # report generate type email_av_report report_format csv time_frame past_day transport file
The following example generates a report of the previous week's anti-virus detections as a .csv file provided by email to the pre-designated recipients:
hostname (config) # report generate type email_av_report report_format csv time_frame past_week transport email
The following example generates a report of the anti-virus detections between January 9, 2016 at 8:15 a.m. and March 16, 2016 at 6:30 p.m. as a .csv file provided by email to the pre-designated recipients:
hostname (config) # report generate type email_av_report report_format csv time_frame between start_date 2016/01/09 start_time 08:15:00 end_date 2016/03/16 end_time 18:30:00 transport email
User role
Admin
Command mode
Config
Supported appliances
Central Management System: 7.8
Email Security — Server: 7.8