How Do I Rename High-Risk Commands?
Currently, high-risk commands that can be renamed are COMMAND, KEYS, FLUSHDB, FLUSHALL, HGETALL, SCAN, HSCAN, SSCAN, and ZSCAN. In addition, DBSIZE and DBSTATS can be renamed for Proxy Cluster instances. For details about how to rename them, see Renaming Commands.
- Currently, Redis does not support disabling of commands. To avoid risks when using the preceding commands, rename them. For details about the supported and disabled commands in DCS, see Command Compatibility.
- After command renaming is requested, the system will restart the instance. For security purposes, renamed commands cannot be viewed on the console.
- A command can be renamed multiple times. Each new name overwrites the previous one.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.