aws / aws-parallelcluster-ui

Apache License 2.0
31 stars 18 forks source link

Feature Request: User Identity Logging - Improve auditing #245

Open ivosth opened 1 year ago

ivosth commented 1 year ago

Currently, I have been unable to find a way to include the user's identity (e.g., Cognito user ID) in the logs generated by API Gateways or Lambda Proxy when tracking user activity in the interface. I have tried utilizing variables such as "caller":"$context.identity.caller" or "user":"$context.identity.user" in the API Gateways logging configuration, but unfortunately, they do not seem to provide any info or only provide information about the executed lambda function, not showing the desired user identity data.

This feature request is to implement a solution to include the user's identity (e.g., user Cognito ID or related attributes like username) in the logs generated by API Gateways and Lambda Proxy. This enhancement is crucial for our ability to track user activities accurately and assist with security audits effectively.

BarcoMasile commented 11 months ago

Hi Ivosth, thank you for your feature request! I'm going to add this to our backlog and track you request. Unfortunately I am not able to provide an ETA for this, but a member of the team will update this issue when the feature makes it in a future release. Thank you!