fix(repo): git CLI output mangles stdout #7547
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
target/repository
Issues relating to VCS repository scanning
Description
When scanning a git repository with
trivy repo
, the progress ofgit clone
is written to standard output, resulting in a parse error.It should be
os.Stderr
.trivy/pkg/fanal/artifact/repo/git.go
Line 131 in dbd2dd6
Discussed in #7544
The text was updated successfully, but these errors were encountered: