Describe the feature
Could we default role-session-name to ${{ github.run_id }}?
Use Case
I want to correlate which AWS actions were performed by which workflow run in audit logs.
The CloudTrail log for sts:AssumeRoleWithWebIdentity unfortunately only logs the sub and aud claims but not the other claims of the Github ID token. This means I can not correlate back which run called the assume-role, leaving a hole in auditability.
If we'd set the role-session-name to the run-id then we can correlate actions performed in CloudTrail back to the run that executed them.
Proposed Solution
Default role-session-name to ${{ github.run_id }}
Other Information
No response
Acknowledgements