--- title: "Enabling or disabling riskware detection using the CLI" slug: "enabling-or-disabling-riskware-detection-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-09-12T20:42:33Z published: 2026-09-12T20:42:33Z canonical: "docs.trellix.com/enabling-or-disabling-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 riskware detection using the CLI Use the CLI commands to globally enable or disable the Trellix Riskware rules on the appliance. > [!NOTE] > Note > > Riskware detection for Trellix Riskware rules are enabled by default. **To globally enable the Trellix Riskware rules for alerts:** ``` hostname (config) # write memory ``` 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. 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. ``` hostname (config) # no analysis riskware policy fe-rules enable ``` The following message is displayed: ``` % The rules are now disabled.Trellix recommends re-enabling these rules for security reasons. ``` 3. Save your changes. ``` hostname (config) # write memory ```