Scheduling an alert details report using the CLI

Prev Next

Follow these steps to schedule an alert details report using the CLI.

Command syntax

You schedule an Alert Details report by using the report schedule command with the following command-line options

type alert_details

Prerequisites

To schedule an alert details report for automatic generation and email distribution:
  1. Schedule an alert details report by using the following command:

    report schedule run <frequency> type alert_details report_format <format> report_detail <detail> time_frame <timeFrame> alert_type <type> transport <transportType>

    The recurring report os assigned an identification number. The report ID, type, and specifications are added to the top of the scheduled reports list.

    hostname (config) # report schedule run weekly every Sun at 2359 type alert_details report_format xml time_frame past_month report_detail extended alert_type malware-object transport file Created report schedule 2.

    After the scheduled report runs, the report file is emailed using the configured email server and recipient list.

  2. Verify the configuration for the report schedule.

    hostname (config) # show report schedule
        Periodicity  MonthDay         WeekDay  Time   Transport  Command
        2 weekly       -              Sun      23:59   email     alert_details
                                                                 report_format json
                                                                 report_detail concise
                                                                 alert_type malware-object
                                                                 time_frame past_week
        3 monthly      end-of-month   -        23:59   file      alert_details
                                                                 report_format xml
                                                                 alert_type malware-object
                                                                 report_detail extended
                                                                 time_frame past_month
    
    Total reporting jobs scheduled: 2.