mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
feat(config): add rule for .p12 files (#1738)
This commit is contained in:
1 parent
d71d95d65e
commit
6411402d43
4 files changed
+30
-2
No files matched your search
@@ -29,7 +29,8 @@ paths = [{{ range $i, $path := . }}
|
||||
{{- range $i, $rule := .Rules }}{{println}}[[rules]]
|
||||
id = "{{$rule.RuleID}}"
|
||||
description = "{{$rule.Description}}"
|
||||
regex = '''{{$rule.Regex}}'''
|
||||
{{- with $rule.Regex }}
|
||||
regex = '''{{ . }}'''{{ end -}}
|
||||
{{- with $rule.Path }}
|
||||
path = '''{{ . }}'''{{ end -}}
|
||||
{{- with $rule.SecretGroup }}
|
||||
|
||||
Reference in new issue
Block a user