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
@@ -89,10 +89,12 @@ func TestConfigAllowlistPaths(t *testing.T) {
|
||||
invalid []string
|
||||
valid []string
|
||||
}{
|
||||
"javascript - jquery.js": {
|
||||
"javascript - common static assets": {
|
||||
invalid: []string{
|
||||
`src/main/resources/static/jquery-ui-1.12.1/jquery-ui-min.js`,
|
||||
`src/main/resources/static/js/jquery-ui-1.10.4.min.js`,
|
||||
`swagger/swaggerui/swagger-ui-bundle.js.map`,
|
||||
`swagger/swaggerui/swagger-ui-es-bundle.js.map`,
|
||||
},
|
||||
},
|
||||
"python": {
|
||||
|
||||
Reference in new issue
Block a user