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

scan container registry does not work when no latest tag is present #864

Open
czunker opened this issue Oct 19, 2023 · 0 comments
Open

scan container registry does not work when no latest tag is present #864

czunker opened this issue Oct 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@czunker
Copy link
Contributor

czunker commented Oct 19, 2023

Describe the bug

cnspec scan container registry gcr.io/google-samples/microservices-demo/checkoutservice --config ~/demo.agent.credentials.json 
→ loaded configuration from /home/christian/demo.agent.credentials.json using source --config
→ using service account credentials
→ discover related assets for 1 asset(s)
x unable to connect to asset error="rpc error: code = Unknown desc = GET https://gcr.io/v2/google-samples/microservices-demo/checkoutservice/manifests/latest: MANIFEST_UNKNOWN: Failed to fetch \"latest\" from request \"/v2/google-samples/microservices-demo/checkoutservice/manifests/latest\"."

Overview of images in this repo:
https://console.cloud.google.com/gcr/images/google-samples/GLOBAL/microservices-demo/checkoutservice

To Reproduce
Steps to reproduce the behavior:

  1. Run above command
  2. Note the error

Expected behavior
Fetch all tags which are present.

Desktop (please complete the following information):

  • cnspec 9.2.1
  • provider os 9.0.14

Additional context
Add any other context about the problem here.

@czunker czunker added the bug Something isn't working label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant