Azure China scope is incorrect #7559
Closed
bloomadcariad
started this conversation in
Bugs
Replies: 1 comment
-
Track #7562 |
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
-
Description
In feaef96 https://github.com/aquasecurity/trivy/blob/main/pkg/fanal/image/registry/azure/azure.go was modified, but the scope for China cloud was set incorrectly. Line 48 should be "chinaScope" but was copy-pasted as "scope."
Desired Behavior
Authentication with China cloud ACR should work.
Actual Behavior
Authentication with China cloud ACR does not work.
Reproduction Steps
1. Call trivy on an image in a China Cloud ACR
Target
None
Scanner
None
Output Format
None
Mode
None
Debug Output
Operating System
Ubuntu
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions