fix(rules): entropy, uppercase in samples (#1593)

`go generate` was slightly flaky,
since the example true positive secrets for these rules
did not include uppercase letters
and/or the min entropy was just barely too high
This commit is contained in:
Ben-grmbl authored and GitHub committed 2024-10-29 16:33:09 -05:00
1 parent 5c2e8132f2
commit 5fe58bf0b0
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ func SumoLogicAccessID() *config.Rule {
`sumologic_access_id = "sug5XpdpaoxtOH"`, // gitleaks:allow
`export SUMOLOGIC_ACCESSID="suDbJw97o9WVo0"`, // gitleaks:allow
`SUMO_ACCESS_ID = "suGyI5imvADdvU"`, // gitleaks:allow
utils.GenerateSampleSecret("sumo", "su"+secrets.NewSecret(utils.AlphaNumeric("12"))),
utils.GenerateSampleSecret("sumo", secrets.NewSecret(`su[a-zA-Z0-9]{12}`)),
}
fps := []string{
`- (NSNumber *)sumOfProperty:(NSString *)property;`,