On this page

Show all

Help Center/ Distributed Cache Service/ FAQs/ Redis Commands/ How Do I Rename High-Risk Commands?

How Do I Rename High-Risk Commands?

Updated on 2024-12-11 GMT+08:00

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.

NOTE:
  • 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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback