Fix .gitguardian.yaml: remove unsupported regex patterns

- Remove complex regex patterns that GitGuardian doesn't support
- Keep simple string patterns and SHA256 hashes
- Test files are already excluded via ignored_paths
This commit is contained in:
Alexsander Hamir 2026-01-05 16:29:08 -08:00
parent b92363b5b5
commit cd47357382

View file

@ -97,9 +97,6 @@ secret:
- name: Generic test API key pattern
match: test-api-key
- name: Short fake sk keys
match: \bsk-\d{1,9}\b
# Common test fixtures
- name: Test API key fixture 88dc28d0f03
match: 88dc28d0f030c55ed4ab77ed8faf098196cb1c05df778539800c9f1243fe6b4b
@ -111,11 +108,5 @@ secret:
match: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- name: Test JWT token pattern
match: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\.
- name: Mock data in code comments
match: \/\*.*api_key.*\*\/
- name: Commented Langfuse credentials
match: #\s+langfuse_(public_key|secret):
match: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9