aws-ssm-session-log-destination
Interactive shell transcripts can record typed passwords, tokens, credential files, and command output.
Where it sits
| location | CloudWatch Logs/S3 Session Manager transcript |
| location kind | log_field |
| data kinds | credential password api_key access_key secret_key private_key sensitive_data |
| emits edge | ContainsCredential |
| service | Systems Manager (aws:ssm) |
Collection recipe
| access mode | indirect_destination |
| operation | logs:FilterLogEvents or s3:GetObject |
| response path | transcript event or object body |
| encoding | string |
| params | {"Destination": "\u003csession-log-destination\u003e", "SessionId": "\u003csession-id\u003e"} |
Required permissions
ssm:DescribeSessions
logs:FilterLogEvents
References