Enabling or disabling automatic remediation using the CLI

Prev Next

Use the CLI commands in this procedure to enable or disable automatic remediation of malicious objects and riskware email that were retroactively detected on the Email Security - Server appliance.

After you have configured the Email Security - Server appliance to remediate email using the CLI, you can view analysis of the results on the eAlerts > Alerts page.

Prerequisites

  • Administrator or Operator access to the Email Security - Server appliance.

  • A connection to the Email Security - Server appliance.

  • Microsoft Office 365 app communication and authorization.

Follow these steps to enable or disable automatic remediation using the CLI.

To enable automatic remediation:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Enable the settings for automatic remediation on the appliance.

    hostname (config) email-analysis o365 remediation enable
  3. Save your changes.

    hostname (config) # write memory
  4. Verify the status for automatic remediation.

    hostname (config) # show remediation
To disable automatic remediation:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Disable automatic remediation on the appliance.

    hostname (config) # no email-analysis o365 remediation enable
  3. Save your changes.

    hostname (config) # write memory
  4. Verify the status for automatic remediation.

    hostname (config) # show remediation