awslabs / git-secrets

Prevents you from committing secrets and credentials into git repositories
Apache License 2.0
12.36k stars 1.17k forks source link

include prohibited regular expressions from a .gitprohibited file #163

Open willphdavies opened 4 years ago

willphdavies commented 4 years ago

Update git-secrets to include prohibited regular expressions from a .gitprohibited file

Issue #, if available:

Add the possibility of using a .gitprohibited file in the repository root to include prohibited patterns - much the same as .gitallowed is used to mark false positives

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

chrisba11 commented 3 years ago

Would love to see this merged in!