Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Redis rename command #262

Open
hengyoush opened this issue Jan 9, 2025 · 0 comments
Open

Add support for Redis rename command #262

hengyoush opened this issue Jan 9, 2025 · 0 comments
Labels
feature-request good first issue Good for newcomers protocol protocol module

Comments

@hengyoush
Copy link
Owner

hengyoush commented Jan 9, 2025

Is your feature request related to a problem? Please describe.
In production environments, some sensitive Redis commands like flushall and shutdown are renamed in the configuration file to other names to prevent misuse(https://redis.io/docs/latest/commands/rename/). However, Kyanos is not aware of these configurations, so it currently cannot parse them correctly. It would be helpful to provide a command-line option under the Redis subcommand, such as: --renames 'origin_name1=current_name1,origin_name2=current_name2', so that kyanos can parse this command successfully.

Describe the solution you'd like
look at: agent/protocol/redis.go.

Describe alternatives you've considered
None

Additional context
None

@hengyoush hengyoush added the good first issue Good for newcomers label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request good first issue Good for newcomers protocol protocol module
Projects
None yet
Development

No branches or pull requests

1 participant