
Export user activity logs on Amazon Cognito
How you can export Cognito user activity logs to a log management system
- Activate advanced security features.
- In the Advanced security tab, under Export user activity logs, select Edit.
- To enable log export, select Activate user activity log export.
- Select your desired Logging destination, and select the destination. Please note that logging destination must be in the same Region as your Cognito user pool.
- Choose Save changes.

riskLevel
is shown as HIGH
and flagged for ACCOUNT_TAKEOVER
risk. You can also see the challenge that Cognito throws to user and whether user has successfully pass the challenge or not.
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.