从Google Apps Admin SDK中的activities.list()检索审核事件时,某些活动的ipAddress字段为0.1.0.40和0.1.0.0。在什么情况下这可能是源IP地址,因为它们似乎是私有或受限制的IP地址?
{
"kind": "admin#reports#activities",
"etag": "\"6KGrH_UY2JDZNpgjPKUOF8yJF1A/l6ZMtXXRXWtSeG8M3t2g4k5pUaY\"",
"items": [
{
"kind": "admin#reports#activity",
"id": {
"time": "2016-12-28T11:23:26.269Z",
"uniqueQualifier": "2877532833757184598",
"applicationName": "drive",
"customerId": "C01c818ge"
},
"etag": "\"6KGrH_UY2JDZNpgjPKUOF8yJF1A/7lASgpMTSWwMHfLg8I4-s07wD_Q\"",
"actor": {
"email": "[email protected]",
"profileId": "115227377397945077346"
},
"ipAddress": "0.1.0.40",
"events": [
{
"type": "access",
"name": "create",
"parameters": [
{
"name": "primary_event",
"boolValue": true
},
{
"name": "owner",
"value": "[email protected]"
},
{
"name": "doc_id",
"value": "0ByoIcq_NoMgZDY19wc2RnZE0"
},
{
"name": "doc_type",
"value": "unknown"
},
{
"name": "doc_title",
"value": "Untitled"
},
{
"name": "owner_is_team_drive",
"boolValue": false
}
]
}
]
}
]
}
从这个documentation,这里声明"ipAddress"
属性包含用户的IP地址。从这个Activities: list,它包含执行操作的用户的IP地址。这是登录G Suite时用户的Internet协议(IP)地址,可能反映或可能不反映用户的物理位置。例如,IP地址可以是用户的代理服务器地址或虚拟专用网络(VPN)地址。 API支持IPv4和IPv6。