Closed mbacchi closed 6 years ago
Stderr should be separated from stdout on error.
I'm opening a PR to make it do this properly:
`[mbacchi@hostname git-secrets]$ ./git-secrets --scan -r . 2>err 1>out [mbacchi@hostname git-secrets]$ cat out [mbacchi@hostname git-secrets]$ cat err ./creds:1:AKIAISITMFSJISKWFAJQ
[ERROR] Matched one or more prohibited patterns
Possible mitigations:
Stderr should be separated from stdout on error.
I'm opening a PR to make it do this properly:
`[mbacchi@hostname git-secrets]$ ./git-secrets --scan -r . 2>err 1>out [mbacchi@hostname git-secrets]$ cat out [mbacchi@hostname git-secrets]$ cat err ./creds:1:AKIAISITMFSJISKWFAJQ
[ERROR] Matched one or more prohibited patterns
Possible mitigations: