feat(config): ignore swagger-ui assets (#1604)

also, ignore public known checkmarx secret
This commit is contained in:
Richard Gomez authored and GitHub committed 2024-10-27 07:43:14 -05:00
1 parent e97695b852
commit 2db25f1367
4 files changed
+18 -3

No files matched your search

+3 -1
View File
@@ -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": {