Support Redis Cluster for cache #4382
iliashkolyar
started this conversation in
Ideas
Replies: 1 comment
-
Trivy doesn't support the cluster mode for now. I think this page helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've tried enabling trivy server and connecting it to a redis that was deployed in cluster mode.
The redis-cli works when supplying the
-c
flag which means that cluster is configured properly.Server was enabled using this command:
/usr/local/bin/trivy server --cache-backend redis://<redis-hostname>:6379 &
Scan was triggered using this command:
/usr/local/bin/trivy image --server http://127.0.0.1:4954 --debug --security-checks vuln <image>
The error I received seems like an error related to SDKs that do communicate with redis in cluster mode (hence the
MOVED
error response).So my question is whether trivy supports connections to cluster based redis?
If so, it there some other flag I need to provide?
Error:
Beta Was this translation helpful? Give feedback.
All reactions