Skip to content
Snippets Groups Projects
Commit 5f572061 authored by Johannes Knoch's avatar Johannes Knoch
Browse files

delete custom rules

parent d92cb465
No related branches found
No related tags found
Loading
Pipeline #84936 failed
title = "Custom Gitleaks Config"
[[rules]]
id = "password-detection"
description = "Detects occurrences of the word 'password'"
regex = '''(?i)\bpassword\b'''
tags = ["key", "password", "security"]
[[rules.allowlists]] # ❗ Fix: Changed from array to a table (map)
description = "Ignore common false positives"
regexes = [ '''(?i)password\s*=\s*"?(example|test|dummy|1234)"?''' ]
[[rules]]
id = "login-detection"
description = "Detects occurrences of the word 'login'"
regex = '''(?i)\bdb_login\b'''
tags = ["name", "login", "login_name"]
[allowlist]
description = "global allow list"
paths = [
'''extended-gitleaks-config\.toml''',
'''docs/MiSa.C_documentation\.html'''
]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment