Skip to content

Commit

Permalink
test(telegram_bot_token): AWS ARN should not match
Browse files Browse the repository at this point in the history
  • Loading branch information
jfagoagas authored Sep 3, 2024
1 parent efc122a commit 5bafc1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/plugins/telegram_token_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class TestTelegramTokenDetector:
('7213808860:AAH1bjqpKKW3maRSPAxzIU-0v6xNuq2-NjM', True),
('foo:AAH1bjqpKKW3maRSPAxzIU-0v6xNuq2-NjM', False),
('foo', False),
('arn:aws:sns:aaa:111122223333:aaaaaaaaaaaaaaaaaaassssssddddddddddddd', False)
],
)
def test_analyze(self, payload, should_flag):
Expand Down

0 comments on commit 5bafc1d

Please sign in to comment.