mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 16:35:29 -05:00
* feat(sqs): thread accessKeyId through RequestContext and AccountContextFilter * fix(iam): resolve caller user id and align assumed role id with role id * feat(sqs): stamp senderId on Message model and in SqsService * feat(sqs): return message-specific senderId in SQS query and JSON handlers * test(sqs): add integration tests for SenderId caller principal (#4829) * fix(sqs): guard against unsatisfied CDI instance in resolveCurrentSenderId * fix(sqs): address review findings and fix CI for caller principal SenderId - Catch RuntimeException in SqsService to prevent compiler incompatibility - Fallback SenderId to queue owner account when outside request context - Deliver SNS fanout messages with SNS service principal SenderId - Support presigned requests without X-Amz-Algorithm in AccountContextFilter - Populate assumedRoleId and roleSessionName for ECS, EKS and Lambda sessions * fix(sqs): validate session token for temporary credentials and fix CI regressions - Validate session token matching when resolving caller principal for temporary credentials - Generate unique session names for EKS Pod Identity to avoid sender ID collision - Restore default floci-session session name for Lambda execution role sessions - Align SqsService mock in SnsServiceTest with 9-parameter sendMessage signature * fix(sts,lambda): pass sessionToken to resolveCallerUserId and scope Lambda assumed role IDs * fix(lambda): align execution role session name and assumed role ID with function name * fix(sqs): resolve SenderId caller in SQS handlers, not in sendMessage Internal producers (S3 notifications, EventBridge, SNS) call sendMessage on the thread of the request that triggered them, so SenderId picked up that caller's role session. Resolve the caller in the SQS Query/JSON handlers where a real SendMessage call is known, and pass it down. sendMessage without an explicit senderId now defaults to the queue owner.