Skip to content

Commit

Permalink
Remove safetynet last used service ticket (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkst-nick authored Jul 25, 2024
1 parent c42435e commit f864d45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions aws-token-infra/lambdas/APITokensSafetyNet/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ def check_credential_report():
print('Looking up {u} to trigger alert!'.format(u=url))
req = urllib.request.Request(url, data)
response = urllib.request.urlopen(req)
msg = f"The token is {token}. The service last used is {last_service_used}. Please follow the playbook: {PLAYBOOK_URL}"
file_ticket(subject="Canarytokens.org AWS Safety Net Caught Something", text=msg)
except urllib.error.URLError as e:
print('Failed to trigger token: {e}'.format(e=e))
ticket_exception(e)
Expand Down

0 comments on commit f864d45

Please sign in to comment.