Skip to content

Feature Request: User Identity Logging - Improve auditing #245

Open
@ivosth

Description

@ivosth

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.

Metadata

Metadata

Assignees

Labels

BacklogIssue has been tracked in team backlogenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions