Skip to content

Commit

Permalink
Removed ^ in additional match to make it work
Browse files Browse the repository at this point in the history
  • Loading branch information
aegilops committed Jun 11, 2024
1 parent 0000fd4 commit 146f0df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jwt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Add these additional matches to the [Secret Scanning Custom Pattern](https://doc
- Not Match:

```regex
^eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIs
eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIs
```

</details>
2 changes: 1 addition & 1 deletion jwt/patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ patterns:
# don't match on JWT that are used in private GitHub issues - they now always start with:
# {"iss":"github.com","aud":"raw.githubusercontent.com",
additional_not_match:
- ^eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIs
- eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIs
test:
data: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjM2MzcxNDkzLCJleHAiOjE5NTE5NDc0OTN9.T365h6AcgnvibAWvN_rIiaFnOK5R1ZGqdEkPI45zsNs

Expand Down

0 comments on commit 146f0df

Please sign in to comment.