Redacts Stdout text that contain text from env variables
$ go build
$ export PASSWORD=password
$ ./test.sh |& ./concourse-filter
Without the filter
➜ concourse-filter git:(master) ✗ ./test.sh
start test
password
dpasswordd
ls: password: No such file or directory
./test.sh: line 7: ech: command not found
stop test password
With the filter
➜ concourse-filter git:(master) ✗ ./test.sh |& ./concourse-filter
start test
[redacted]
d[redacted]d
ls: [redacted]: No such file or directory
./test.sh: line 7: ech: command not found
stop test [redacted]
go get ./...
ginkgo
- Cannot handle filtering of multi-token environment variable values (ex.
SECRET='MULTI WORD SECRET'