aboutsummaryrefslogtreecommitdiffstats
path: root/security/gitlab-analyzers-secrets/files/patch-config_path.go
blob: 419c0fb7ba4add6fcc76e2e82d43d4cf9389b277 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- config/path.go.orig	2025-11-15 14:06:29 UTC
+++ config/path.go
@@ -9,7 +9,7 @@ import (
 )
 
 // DefaultPathGitleaksConfig is the default path for the Gitleaks configuration file.
-const DefaultPathGitleaksConfig = "/gitleaks.toml"
+const DefaultPathGitleaksConfig = "/usr/local/share/gitlab-analyzers-secrets/gitleaks.toml"
 
 // GitleaksPassthroughTarget is the target filename for Gitleaks configuration in passthrough scenarios.
 const GitleaksPassthroughTarget = "gitleaks.toml"