Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[bug] use-csub flag missing from OCI Collector #2423

Closed
robert-cronin opened this issue Jan 8, 2025 · 0 comments · Fixed by #2424
Closed

[bug] use-csub flag missing from OCI Collector #2423

robert-cronin opened this issue Jan 8, 2025 · 0 comments · Fixed by #2424
Labels
bug Something isn't working

Comments

@robert-cronin
Copy link
Collaborator

Describe the bug
The --use-csub flag is missing from the BuildFlags on the OCI Collector, causing an error when --use-csub=false is set

To Reproduce
Steps to reproduce the behavior:

  1. Spin up a guac stack using make start-service
  2. Try to collect an image:
    go run cmd/guacone/main.go collect image --use-csub=false ghcr.io/guacsec/go-multi-test:7ddfb3e035b42cd70649cc33393fe32c
  3. Observe the image not being collected due to unknown flag:
    image

Expected behavior
Image should be collected directly when not using csub

GUAC version
v0.12.3

@robert-cronin robert-cronin added the bug Something isn't working label Jan 8, 2025
@kodiakhq kodiakhq bot closed this as completed in #2424 Jan 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant