mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
feat(rule): validate & sort rule when generating (#1817)
This commit is contained in:
1 parent
107a41827b
commit
cfdeb0d7e0
18 files changed
+145
-115
No files matched your search
@@ -34,7 +34,7 @@ func GCPAPIKey() *config.Rule {
|
||||
Keywords: []string{
|
||||
"AIza",
|
||||
},
|
||||
Allowlists: []config.Allowlist{
|
||||
Allowlists: []*config.Allowlist{
|
||||
{
|
||||
Regexes: []*regexp.Regexp{
|
||||
// example keys from https://github.com/firebase/firebase-android-sdk
|
||||
|
||||
Reference in new issue
Block a user