edit-icon download-icon

STS event log examples

Last Updated: Mar 21, 2018

A RAM user switches the role by using the console

  1. {
  2. "apiVersion": "2015-04-01",
  3. "eventId": "64e9b93e-13da-4ea4-8b72-081069ff4d8c",
  4. "eventName": "AssumeRole",
  5. "eventSource": "sts.aliyuncs.com",
  6. "eventTime": "2016-01-05T02:41:58Z",
  7. "eventType": "ApiCall",
  8. "eventVersion": "1",
  9. "recipientAccountId": "1024405406196576",
  10. "requestId": "F678C471-BEAA-4DE4-B09E-FD7F5A5248E8",
  11. "requestParameters": {
  12. "RoleArn": "acs:ram::43274:role/ram-admin",
  13. "RoleSessionName": "lisi"
  14. },
  15. "serviceName": "Sts",
  16. "sourceIpAddress": "42.120.74.96",
  17. "userAgent": "AliyunConsole",
  18. "userIdentity": {
  19. "type": "ram-user",
  20. "accountId": "1024405406196576",
  21. "principalId": "248949151961082597",
  22. "userName": "lisi",
  23. "sessionContext": {
  24. "attributes": {
  25. "creationDate": "2016-01-05T02:41:58Z",
  26. "mfaAuthenticated": "true"
  27. }
  28. }
  29. }
  30. }

A RAM user calls the STS to switch the role by using the SDK

  1. {
  2. "apiVersion": "2015-04-01",
  3. "eventId": "23f2a6b5-c628-49bb-8dc9-8f9760503bc6",
  4. "eventName": "AssumeRole",
  5. "eventSource": "sts.aliyuncs.com",
  6. "eventTime": "2016-01-05T02:41:58Z",
  7. "eventType": "ApiCall",
  8. "eventVersion": "1",
  9. "recipientAccountId": "1024405406196576",
  10. "requestId": "8BE01A78-4026-4E7D-B4E1-95B0323E968E",
  11. "requestParameters": {
  12. "RoleArn": "acs:ram::43274:role/ram-admin",
  13. "RoleSessionName": "lisi"
  14. },
  15. "serviceName": "Sts",
  16. "sourceIpAddress": "42.120.74.96",
  17. "userAgent": "aliyuncli/2.0.6",
  18. "userIdentity": {
  19. "type": "ram-user",
  20. "accountId": "1024405406196576",
  21. "principalId": "248949151961082597",
  22. "accessKeyId": "55nCtAwmPLkkt5PB",
  23. "userName": "lisi"
  24. }
  25. }
Thank you! We've received your feedback.