diff --git a/.gitleaks.toml b/.gitleaks.toml index adf4aa4..ecad3f8 100644 --- a/.gitleaks.toml +++ b/.gitleaks.toml @@ -40,3 +40,9 @@ useDefault = true # '''mock''', # '''test''' # ] + +# Custom rules for this project +[[rules]] + description = "Hardcoded password" + regex = '''password\s*=\s*".+"''' + tags = ["password", "hardcoded"]