如要擷取網域中所有使用者的所有裝置稽核事件,請使用下列 GET HTTP 要求,並附上「授權文件」中所述的授權權杖。如要進一步瞭解要求查詢字串和回應屬性,請參閱「裝置稽核活動事件」。為了方便閱讀,以下範例會以換行格式呈現:
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all
/applications/mobile?endTime=end date&startTime=start date
&maxResults=maximum number of events returned on a response page
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/mobile?customerId=C03az79cb
依事件名稱擷取裝置稽核事件
在某些情況下,您可能需要擷取特定事件,例如可疑活動事件。如要這麼做,請使用下列表單中的 GET HTTP 要求:
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all
/applications/mobile?maxResults=maximum number of events returned on a response page
&eventName=name of the event
&filters=event parameterrelational operatorparameter value
以下範例說明如何擷取網域內 Android 使用者的所有可疑活動事件:
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/mobile?eventName=SUSPICIOUS_ACTIVITY_EVENT&filters=DEVICE_TYPE==ANDROID&maxResults=25
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-11-28 (世界標準時間)。"],[[["The Entities usage report provides insights into Google Workspace service usage across different entities within your account."],["This report categorizes usage data by application type, such as Currents, with each type having its own specific parameters."],["For a deeper understanding and implementation, refer to the Developer's Guide and the API Reference documentation."]]],["Device audit activity reports provide information on device activities within Google endpoint management, available for up to 180 days. Reports are retrieved via `GET` HTTP requests using specific parameters, including user emails, start/end dates, and the maximum number of results per page. Events can be filtered by name, such as \"SUSPICIOUS_ACTIVITY_EVENT\". Requests can target all users or specify a `customerId`. The report endpoint is `/activity/users/all/applications/mobile`. Use is restricted to lawful purposes.\n"]]