Skip to content

Commit

Permalink
Fixes for signatures not enabled for GitLab Watchman
Browse files Browse the repository at this point in the history
  • Loading branch information
PaperMtn committed Nov 1, 2024
1 parent 73ecd7c commit 04ce49a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
12 changes: 12 additions & 0 deletions signatures/tokens_and_credentials/generic_tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,18 @@ signatures:
- connect
search_strings:
- PRIVATE
gitlab:
scope:
- blobs
- commits
- milestones
- wiki_blobs
- issues
- merge_requests
- notes
- snippet_titles
search_strings:
- 'private-token | private_token'
test_cases:
match_cases:
- "PRIVATE-TOKEN: 123456789abcdefg123456789123456789"
Expand Down
28 changes: 14 additions & 14 deletions signatures/tokens_and_credentials/twitter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@ signatures:
- api.twitter.com
- twitter
- oauth_token_secret
gitlab:
scope:
- blobs
- commits
- milestones
- wiki_blobs
- issues
- merge_requests
- notes
- snippet_titles
search_strings:
- api.twitter.com -(svg|png|jpeg)
- twitter_* -(svg|png|jpeg)
- oauth_token_secret -(svg|png|jpeg)
gitlab:
scope:
- blobs
- commits
- milestones
- wiki_blobs
- issues
- merge_requests
- notes
- snippet_titles
search_strings:
- api.twitter.com -(svg|png|jpeg)
- twitter_* -(svg|png|jpeg)
- oauth_token_secret -(svg|png|jpeg)
test_cases:
match_cases:
- "https://api.twitter.com/oauth/authorize?oauth_token=NPabcdefg0yU5T3abcdefg7iCotZ3cnetKwcabcdefg"
Expand Down

0 comments on commit 04ce49a

Please sign in to comment.