Skip to content

Support for redis sentinel master ACL#45

Merged
reasonerjt merged 1 commit intogoharbor:mainfrom
MinerYang:support-redis-acl
Jan 26, 2026
Merged

Support for redis sentinel master ACL#45
reasonerjt merged 1 commit intogoharbor:mainfrom
MinerYang:support-redis-acl

Conversation

@MinerYang
Copy link
Copy Markdown

@MinerYang MinerYang commented Jan 26, 2026

Fix: goharbor/harbor#22777

Before fix:

2026-01-26T10:29:50Z [INFO] [/pkg/scan/job.go:172]: Report mime types: [application/vnd.security.vulnerability.report; version=1.1]
2026-01-26T10:29:50Z [ERROR] [/pkg/scan/job.go:379]: scan job: submit scan request: v1 client: submit scan: enqueuing scan job: enqueuing scan job: creating scan job creating scan job: WRONGPASS invalid username-password pair or user is disabled.: general response handler: unexpected status code: 500, expected: 202

After fix:

yminer@yminer:~/goharbor/harbor$ redis-cli -h <serverhost>  -a mypwd --user foo -p 30009
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
<serverhost>:30009> select 5
OK
<server-host>:30009[5]> keys *
1) "harbor.scanner.trivy:job-queue:jobs:scan_artifact:lock:ec9128e4a177dc3e3d475369:application/vnd.security.vulnerability.report; version=1.1"
2) "harbor.scanner.trivy:store:scan-job:8ab037984496a03cd8671004:application/vnd.security.sbom.report+json; version=1.0:application/spdx+json"
3) "harbor.scanner.trivy:store:scan-job:ec9128e4a177dc3e3d475369:application/vnd.security.vulnerability.report; version=1.1"
4) "harbor.scanner.trivy:job-queue:jobs:scan_artifact:lock:8ab037984496a03cd8671004:application/vnd.security.sbom.report+json; version=1.0:application/spdx+json

Signed-off-by: my036811 <miner.yang@broadcom.com>
@MinerYang MinerYang changed the title Support for redis master ACL Support for redis sentinel master ACL Jan 26, 2026
Copy link
Copy Markdown

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown

@reasonerjt reasonerjt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@reasonerjt reasonerjt merged commit 7c6bada into goharbor:main Jan 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harbor trivy scanner do not support redis sentinel acl properly

3 participants