Skip to content

Commit

Permalink
simplified JWT pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Dec 26, 2023
1 parent 2b5f2f0 commit 6e4c674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion credsweeper/rules/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
severity: medium
type: pattern
values:
- (^|[^.0-9A-Za-z_/+-])(?P<value>eyJ[0-9A-Za-z_=-]{15,8000}(\.[0-9A-Za-z_=-]{13,8000}){0,2})
- (^|[^.0-9A-Za-z_/+-])(?P<value>eyJ[0-9A-Za-z_=-]{15,8000}([.0-9A-Za-z_=-]{13,8000})?)
filter_type: GeneralPattern
use_ml: true
required_substrings:
Expand Down

0 comments on commit 6e4c674

Please sign in to comment.