diff --git a/cred_scanner.py b/cred_scanner.py index e72cdcc..d3365b3 100644 --- a/cred_scanner.py +++ b/cred_scanner.py @@ -3,33 +3,54 @@ import sys import click +EXCLUDED_DIRS = {'.git', '__pycache__', 'venv'} +ALLOWED_EXTENSIONS = {'.py', '.txt', '.env', '.cfg', '.json', '.yaml', '.yml'} + +AWS_KEY_PATTERN = r'(?