SAML Audit Activity Events
本文件會列出各種 SAML 稽核活動事件的事件和參數。您可以呼叫 Activities.list() 來擷取這些事件。applicationName=saml
Saml 登入
登入事件類型。
這種類型的事件會以 type=login
傳回。
登入失敗
SAML 登入失敗。
活動詳細資料 |
事件名稱 |
login_failure |
參數 |
application_name |
string
Saml SP 應用程式名稱。
|
device_id |
string
Saml 裝置 ID。
|
failure_type |
string
登入失敗類型。
可能的值包括:
failure_app_not_configured_for_user 使用者是否因尚未設定應用程式而登入失敗。
failure_app_not_enabled_for_user 表示使用者未啟用應用程式,導致登入失敗。
failure_invalid_sp_id 登入 SP ID 無效時是否登入。
failure_invalid_user_id_mapping 表示登入要求無效,導致登入失敗。
failure_malformed_request 要求因格式有誤而無法登入。
failure_no_passive 登入失敗導致使用者無法通過驗證。
failure_request_denied 表示登入要求是否失敗,
failure_unknown 登入失敗的原因不明。
failure_user_id_mapping_unavailable 無法登入,因為無法使用 Userid 對應。
|
initiated_by |
string
SAML 驗證的請求者。
可能的值包括:
idp IdP 發起的 SIM 卡驗證。
sp SP 啟動的 SIM 卡驗證。
|
orgunit_path |
string
使用者所屬機構單位。
|
saml_second_level_status_code |
string
回應次級狀態。
|
saml_status_code |
string
回應狀態。
|
|
要求範例 |
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/saml?eventName=login_failure&maxResults=10&access_token=YOUR_ACCESS_TOKEN
|
管理控制台訊息格式 |
{actor} failed to login because of the following error: {failure_type}
|
成功登入
成功登入 SAML。
活動詳細資料 |
事件名稱 |
login_success |
參數 |
application_name |
string
Saml SP 應用程式名稱。
|
device_id |
string
Saml 裝置 ID。
|
initiated_by |
string
SAML 驗證的請求者。
可能的值包括:
idp IdP 發起的 SIM 卡驗證。
sp SP 啟動的 SIM 卡驗證。
|
orgunit_path |
string
使用者所屬機構單位。
|
saml_status_code |
string
回應狀態。
|
|
要求範例 |
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/saml?eventName=login_success&maxResults=10&access_token=YOUR_ACCESS_TOKEN
|
管理控制台訊息格式 |
{actor} logged in
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-12-19 (世界標準時間)。
[null,null,["上次更新時間:2022-12-19 (世界標準時間)。"],[[["This document outlines SAML Audit activity events, accessible via the Activities.list() method with applicationName=saml."],["It details the parameters and event types for both successful (login_success) and failed (login_failure) SAML login attempts."],["For failed logins, the failure_type parameter provides specific reasons for authentication failures."],["Successful and failed login events both include application name, device ID, initiator (IdP or SP), org unit, and SAML status codes."]]],["This document outlines SAML audit activity events, retrievable via `Activities.list()` with `applicationName=saml`. Two event types are detailed: successful login (`login_success`) and failed login (`login_failure`). For failed logins, parameters include the application name, device ID, failure type (e.g., `failure_app_not_configured_for_user`), initiator (IdP or SP), orgunit path, and SAML status codes. Successful login parameters include application name, device ID, initiator, orgunit path, and status code. Each event has sample requests and admin console message formats.\n"]]