From cd4735738231b97068c85233cddcef3d96db71c4 Mon Sep 17 00:00:00 2001 From: Alexsander Hamir Date: Mon, 5 Jan 2026 16:29:08 -0800 Subject: [PATCH] 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 --- .gitguardian.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.gitguardian.yaml b/.gitguardian.yaml index ce22fcfb68e..f6976da6297 100644 --- a/.gitguardian.yaml +++ b/.gitguardian.yaml @@ -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