--- title: "Enabling or disabling Trellix Riskware detection using the CLI" slug: "enabling-or-disabling-trellix-riskware-detection-using-the-cli" updated: 2026-09-08T21:45:37Z published: 2026-09-08T21:45:37Z canonical: "docs.trellix.com/enabling-or-disabling-trellix-riskware-detection-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. # Enabling or disabling Trellix Riskware detection using the CLI Use the CLI commands to globally enable or disable the Trellix Riskware rules on the appliance. | ![note.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-d85c1afe-9035-f751-67eb-48e8204dbe50(3).png?sv=2026-02-06&spr=https&st=2026-11-20T03%3A49%3A16Z&se=2026-11-20T04%3A49%3A16Z&sr=c&sp=r&sig=HTsRAOhpRYZkDuSPFxQMiuqo2t3jJpxuJiK8nRvAWM0%3D) | Riskware detection for Trellix Riskware rules are enabled by default. | | --- | --- | To globally enable the Trellix Riskware rules for alerts: 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable the Trellix Riskware rules on the appliance. ``` hostname (config) # analysis riskware policy fe-rules enable ``` 3. ``` hostname (config) # write memory ``` Save your changes. To globally disable the Trellix Riskware rules for alerts: 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Disable Trellix riskware rules on the appliance. The following message is displayed: ``` hostname (config) # no analysis riskware policy fe-rules enable ``` ``` % The rules are now disabled.Trellix recommends re-enabling these rules for security reasons. ``` 3. Save your changes. ``` hostname (config) # write memory ``` :