Open pzarfostph opened 1 year ago
This PR doesn't seem to actually include the new functionality. It adds the option, but doesn't use the option. Is there a commit missing?
If you rebase this on master you can skip the say
check and then tests will run. Or if you give maintainers permission to push to your branch then I can do it.
Description of changes:
--name-only
command line optionThe PR adds a
--name-only
option, to print only the file name containing the secret, not the secret value itself.This is for useful for CICD processes, in the case that someone actually commits and pushes a credential that gets caught by the CICD script. You want the file to get flagged, but you don't want the actual credential echoed into the CICD log files.
This is a potential solution for Issue #187
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.