mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
Add experimental allowlist optimizations (#1731)
* feat(allowlist): optimization experiments * refactor(allowlist): remove useOptimizations flag * refactor(allowlist): simplify Validate() with helper func * refactor(config): replace global feature flag
This commit is contained in:
1 parent
79068b35e5
commit
9faaa4a09c
9 files changed
+363
-42
No files matched your search
@@ -59,8 +59,8 @@ regexes = [
|
||||
'''^/(?:bin|etc|home|opt|tmp|usr|var)/[\w ./-]+$''',
|
||||
]
|
||||
stopwords = [
|
||||
"abcdefghijklmnopqrstuvwxyz",
|
||||
"014df517-39d1-4453-b7b3-9930c563627c",
|
||||
"abcdefghijklmnopqrstuvwxyz",
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
|
||||
Reference in new issue
Block a user