You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.
suppressing/redirecting git's progress to stdout (e.g. when trying to parse the output of trivy repo --format json)
Adding a git.CloneOptions (or wrapping CloneOptions in a fanal type as image.NewArtifact does with DockerOptions) parameter to remote.NewArtifact would offer flexibility to fanal's consumers.
The text was updated successfully, but these errors were encountered:
remote.NewArtifact
currently uses a hardcoded git.CloneOptions to clone the default branch and write progress to stdout (https://github.com/aquasecurity/fanal/blob/main/artifact/remote/git.go#L30-L34)This prevents multiple scanning use cases:
trivy repo --format json
)Adding a git.CloneOptions (or wrapping CloneOptions in a fanal type as image.NewArtifact does with DockerOptions) parameter to
remote.NewArtifact
would offer flexibility to fanal's consumers.The text was updated successfully, but these errors were encountered: