--- title: "Enabling or disabling automatic remediation using the CLI" slug: "enabling-or-disabling-automatic-remediation-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:02Z published: 2026-08-24T19:53:02Z canonical: "docs.trellix.com/enabling-or-disabling-automatic-remediation-using-the-cli" stale: true --- > ## 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. # Enabling or disabling automatic remediation using the CLI 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 ```