feat(rule): validate & sort rule when generating (#1817)

This commit is contained in:
Richard Gomez authored and GitHub committed 2025-04-12 10:09:19 -05:00
1 parent 107a41827b
commit cfdeb0d7e0
18 files changed
+145 -115

No files matched your search

+1 -1
View File
@@ -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