mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
feat(config): ignore swagger-ui assets (#1604)
also, ignore public known checkmarx secret
This commit is contained in:
1 parent
e97695b852
commit
2db25f1367
4 files changed
+18
-3
No files matched your search
@@ -22,6 +22,9 @@ regexes = [{{ range $i, $regex := . }}
|
||||
paths = [{{ range $i, $path := . }}
|
||||
'''{{ $path }}''',{{ end }}
|
||||
]{{ end }}
|
||||
{{- with .Allowlist.StopWords }}{{println}}stopwords = [{{ range $j, $stopword := . }}
|
||||
"{{ $stopword }}",{{ end }}
|
||||
]{{ end }}
|
||||
|
||||
{{ range $i, $rule := .Rules }}[[rules]]
|
||||
id = "{{$rule.RuleID}}"
|
||||
|
||||
Reference in new issue
Block a user