Add comma as operator for GenerateSemiGenericRegex (#1679)

* feat: add comma as operator for GenerateSemiGenericRegex

* test: fix tests.
This commit is contained in:
rmdwe authored and GitHub committed 2025-01-13 08:21:45 -06:00
1 parent ab38a46986
commit f0d4499064
4 files changed
+100 -99

No files matched your search

+1
View File
@@ -59,5 +59,6 @@ func JFrogIdentityToken() *config.Rule {
tps = append(tps, utils.GenerateSampleSecrets("artifactory", secrets.NewSecret(utils.AlphaNumeric("64")))...)
tps = append(tps, utils.GenerateSampleSecrets("bintray", secrets.NewSecret(utils.AlphaNumeric("64")))...)
tps = append(tps, utils.GenerateSampleSecrets("xray", secrets.NewSecret(utils.AlphaNumeric("64")))...)
tps = append(tps, fmt.Sprintf("\"artifactory\", \"%s\"", secrets.NewSecret(utils.AlphaNumeric("64"))))
return utils.Validate(r, tps, nil)
}