Session.start event overwritten in DynamoDB Events table with Enhanced Logging sessions #3800
Labels
bpf
Used to bugs with bpf and enhanced session recording.
bug
sales-onboarding
Issues related to prospects
Milestone
Description
If enhanced logging is enabled with dynamodb storage the session.start records are overwritten by session.command or session.network events.
What happened:
A amazon 2 linux vm has enhanced recording on and is set to the required kernel settings. After opening a session and exiting the session listing shows as this. Going to the dynamodb records there are no session.start records, only session.network and session.command for that session id.
What you expected to happen:
All session.start, session.command and session.network are stored and the node, username are available
How to reproduce it (as minimally and precisely as possible):
Deploy a teleport instance that uses dynamodb storage as below. Configure AWS settings so it can access a bucket and have a .aws setting.
Configure a Vm as a teleport node for the instance that has the correct kernel settings (as for amazon 2 linux https://gravitational.com/teleport/docs/features/enhanced_session_recording/#amazon-linux). put in the enhanced logging options as below.
Open a session, run commands and exit. Confirm the session does not now the node or user in the session listing.
Environment
Teleport version (use
teleport version
): 4.2.10 entTsh version (use
tsh version
): 4.2.10OS (e.g. from
/etc/os-release
): Ubuntu bionicWhere are you running Teleport? (e.g. AWS, GCP, Dedicated Hardware): AWS EC2
The text was updated successfully, but these errors were encountered: