Open bradherman opened 10 years ago
@bradherman - not currently. You have a couple of options if you don't want to submit a PR and want to do something in your fork:
flushall
and flushdb
.If you are mostly interested in #1 this is something that we could easily support via a config opt, something along the lines of allow_admin_cmds (defaults to true).
It would be slightly more work to configure the sinatra app and the view to completely turn off the cli feature all together.
Thoughts?
I like the first option. I'm going to add that in and open a pr for you in the next few days. Also need to make sure redmon works with redis labs slowlog, so look for that soon as well.
Any way to disable the CLI? We don't want someone to accidentally be able to wipe our caches from CLI (or hack it and disable)