Skip to content

Commit 146f0df

Browse files
committed
Removed ^ in additional match to make it work
1 parent 0000fd4 commit 146f0df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jwt/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Add these additional matches to the [Secret Scanning Custom Pattern](https://doc
4747
- Not Match:
4848

4949
```regex
50-
^eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIs
50+
eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIs
5151
```
5252

5353
</details>

jwt/patterns.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ patterns:
1515
# don't match on JWT that are used in private GitHub issues - they now always start with:
1616
# {"iss":"github.com","aud":"raw.githubusercontent.com",
1717
additional_not_match:
18-
- ^eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIs
18+
- eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIs
1919
test:
2020
data: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjM2MzcxNDkzLCJleHAiOjE5NTE5NDc0OTN9.T365h6AcgnvibAWvN_rIiaFnOK5R1ZGqdEkPI45zsNs
2121

0 commit comments

Comments
 (0)