diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 0000000..9f5e068 --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,8 @@ +# Gitleaks configuration +# https://github.com/gitleaks/gitleaks#configuration + +[allowlist] +# Test files that contain variable names matching secret patterns (e.g., s3_key) +paths = [ + '''backend/tests/.*\.py''', +] diff --git a/.gitleaksignore b/.gitleaksignore index 2685a75..3a96485 100644 --- a/.gitleaksignore +++ b/.gitleaksignore @@ -16,3 +16,4 @@ bccbc71c13570d14b8b26a11335c45f102fe3072:backend/tests/unit/test_storage.py:gene 08dce6cbb836b687002751fed4159bfc2da61f8b:backend/tests/unit/test_storage.py:generic-api-key:381 617bcbe89cff9a009d77e4f1f1864efed1820e63:backend/tests/unit/test_storage.py:generic-api-key:381 1cbd33544388e0fe6db752fa8886fab33cf9ce7c:backend/tests/unit/test_storage.py:generic-api-key:381 +7cfad28f678f5a5b8b927d694a17b9ba446b7138:backend/tests/unit/test_storage.py:generic-api-key:381 diff --git a/CHANGELOG.md b/CHANGELOG.md index 02500dc..81a509f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed production CI deployment namespace to use correct `orch-namespace` (#54) +- Added gitleaks config to allowlist test files from secret scanning (#54) ## [0.5.0] - 2026-01-23 ### Added