Skip to content

Commit

Permalink
fix(jwt): even longer segment lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
rgmz committed Jul 19, 2023
1 parent 7cd3c7b commit 9ee9639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/generate/config/rules/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func JWT() *config.Rule {
r := config.Rule{
Description: "JSON Web Token",
RuleID: "jwt",
Regex: generateUniqueTokenRegex(`ey[0-9a-z]{17,250}\.ey[0-9a-z-\/_]{17,750}\.[0-9a-zA-Z-\/_]{10,500}={0,2}`),
Regex: generateUniqueTokenRegex(`ey[0-9a-z]{17,500}\.ey[0-9a-z-\/_]{17,1000}\.[0-9a-zA-Z-\/_]{10,750}={0,2}`),
Keywords: []string{"ey"},
}

Expand Down

0 comments on commit 9ee9639

Please sign in to comment.