Cognito events logging

0

We are currently using the Cognito user pool as our authentication service. We want to get the logs when a user has an unsuccessful login or log out of the application. I know Cloudtrail shows when it has a successful login with a user ID, but it does not show any details about the user In the case of unsuccessful login and logout. Also, Lambda triggers do not have a solution for this. Any suggestion on how to achieve this would be helpful.

1개 답변
1

Hello.

How about enabling advanced security on your Cognito user pool?
Enabling this feature will record events of user sign-in success and failure.
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html

profile picture
전문가
답변함 2달 전
profile picture
전문가
검토됨 2달 전
profile picture
전문가
검토됨 2달 전
  • Hello, It does not talk about the option of the logout. How can I implement the logout option?

  • As far as I know, I don't think you can check logout only with the Cognito user pool. Therefore, I think you will need a unique implementation to record some kind of log at logout on the application side.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠