本文为您提供几个ConsoleSignin操作事件的相关示例。

RAM用户登录

  • 登录成功
    {
        "additionalEventData": {
            "callbackUrl": "https://home.console.aliyun.com/",
            "mfaChecked": "true"
        },
        "eventId": "93e806df-a005-40a8-b6b1-f58004ae****",
        "eventName": "ConsoleSignin",
        "eventSource": "signin.aliyun.com",
        "eventTime": "2016-01-20T01:47:45Z",
        "eventType": "ConsoleSignin",
        "eventVersion": "1",
        "requestId": "621948aa-c03a-4acd-b4b0-116a9fa3257a",
        "serviceName": "Aas",
        "sourceIpAddress": "42.120.XX.XX",
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36",
        "userIdentity": {
            "accountId": "112233445566****",
            "principalId": "28815334868278****",
            "type": "ram-user",
            "userName": "zhangsan"
        }
    }
  • 登录失败
    {
        "additionalEventData": {
            "callbackUrl": "https://home.console.aliyun.com/",
            "mfaChecked": "false"
        },
        "errorCode": "Authentication.Failed",
        "errorMessage": "Failed authentication.",
        "eventId": "f31de4a1-fb34-4299-b2e1-aee8803c****",
        "eventName": "ConsoleSignin",
        "eventSource": "signin.aliyun.com",
        "eventTime": "2016-01-20T04:17:23Z",
        "eventType": "ConsoleSignin",
        "eventVersion": "1",
        "requestId": "7fecff6c-5ca0-4be5-99b4-61dc7e1d984c",
        "serviceName": "Aas",
        "sourceIpAddress": "42.120.XX.XX",
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36",
        "userIdentity": {
            "accountId": "112233445566****",
            "principalId": "28815334868278****",
            "type": "ram-user",
            "userName": "zhangsan"
        }
    }

主账号登录

登录成功

{
    "additionalEventData": {
        "isMFAChecked": false,
        "loginAccount": "testuser@aliyun.com"
    },
    "eventId": "a53844f9-7d41-4c39-aaf7-350e04ca****",
    "eventName": "ConsoleSignin",
    "eventSource": "account.aliyun.com",
    "eventTime": "2016-01-20T01:48:58Z",
    "eventType": "ConsoleSignin",
    "eventVersion": "1",
    "requestId": "00693be9-3e1c-4d77-84a0-025d44add80b",
    "serviceName": "Aas",
    "sourceIpAddress": "42.120.XX.XX",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36",
    "userIdentity": {
        "accountId": "123456789012****",
        "principalId": "123456789012****",
        "type": "root-account"
    }
}