本文列出 Google Cloud Managed Lustre 的稽核方法。 Google Cloud 服務會產生稽核記錄,用來記錄 Google Cloud 資源中的管理和存取活動。如要進一步瞭解 Cloud 稽核記錄,請參閱以下內容:
服務名稱
如要查看 Google Cloud Managed Lustre 稽核記錄,請按照下列步驟操作:
前往 Google Cloud 控制台的「Logs Explorer」頁面:
複製下列查詢並貼到「Logs Explorer」的「查詢」欄位,然後點選「執行查詢」。
protoPayload.serviceName="lustre.googleapis.com"
依權限類型區分的方法
每個 IAM 權限都具有 type 屬性,其值為以下四個列舉值之一:ADMIN_READ、ADMIN_WRITE、DATA_READ 或 DATA_WRITE。呼叫方法時,Google Cloud Managed Lustre 會產生一筆稽核記錄,記錄類別依執行該方法所需權限的 type 屬性而定。若方法需要的 IAM 權限,type 屬性值為 DATA_READ、DATA_WRITE 或 ADMIN_READ,就會產生資料存取稽核記錄;若所需 IAM 權限的 type 屬性值為 ADMIN_WRITE,則會產生管理員活動稽核記錄。
| 權限類型 | 方法 |
|---|---|
ADMIN_READ |
google.cloud.lustre.v1.Lustre.GetInstancegoogle.cloud.lustre.v1.Lustre.ListInstancesgoogle.cloud.lustre.v1alpha.Lustre.GetInstancegoogle.cloud.lustre.v1alpha.Lustre.ListInstancesgoogle.longrunning.Operations.GetOperationgoogle.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.lustre.v1.Lustre.CreateInstance (LRO)google.cloud.lustre.v1.Lustre.DeleteInstance (LRO)google.cloud.lustre.v1.Lustre.RescheduleMaintenancegoogle.cloud.lustre.v1.Lustre.UpdateInstance (LRO)google.cloud.lustre.v1alpha.Lustre.CreateInstance (LRO)google.cloud.lustre.v1alpha.Lustre.DeleteInstance (LRO)google.cloud.lustre.v1alpha.Lustre.RescheduleMaintenancegoogle.cloud.lustre.v1alpha.Lustre.UpdateInstance (LRO)google.longrunning.Operations.CancelOperationgoogle.longrunning.Operations.DeleteOperation |
DATA_READ |
google.cloud.lustre.v1.Lustre.ExportData (LRO)google.cloud.lustre.v1alpha.Lustre.ExportData (LRO) |
DATA_WRITE |
google.cloud.lustre.v1.Lustre.ImportData (LRO)google.cloud.lustre.v1alpha.Lustre.ImportData (LRO) |
API 介面稽核記錄
如要瞭解各方法所需的權限及評估方式,請參閱 Google Cloud Managed Lustre 的 Identity and Access Management 說明文件。
google.cloud.lustre.v1.Lustre
屬於 google.cloud.lustre.v1.Lustre 的方法會產生以下稽核記錄。
CreateInstance
- 方法:
google.cloud.lustre.v1.Lustre.CreateInstance - 稽核記錄類型:管理員活動
- 權限:
lustre.instances.create - ADMIN_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1.Lustre.CreateInstance"
DeleteInstance
- 方法:
google.cloud.lustre.v1.Lustre.DeleteInstance - 稽核記錄類型:管理員活動
- 權限:
lustre.instances.delete - ADMIN_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1.Lustre.DeleteInstance"
ExportData
- 方法:
google.cloud.lustre.v1.Lustre.ExportData - 稽核記錄類型:資料存取
- 權限:
lustre.instances.exportData - DATA_READ
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1.Lustre.ExportData"
GetInstance
- 方法:
google.cloud.lustre.v1.Lustre.GetInstance - 稽核記錄類型:資料存取
- 權限:
lustre.instances.get - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1.Lustre.GetInstance"
ImportData
- 方法:
google.cloud.lustre.v1.Lustre.ImportData - 稽核記錄類型:資料存取
- 權限:
lustre.instances.importData - DATA_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1.Lustre.ImportData"
ListInstances
- 方法:
google.cloud.lustre.v1.Lustre.ListInstances - 稽核記錄類型:資料存取
- 權限:
lustre.instances.list - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1.Lustre.ListInstances"
RescheduleMaintenance
- 方法:
google.cloud.lustre.v1.Lustre.RescheduleMaintenance - 稽核記錄類型:管理員活動
- 權限:
lustre.instances.rescheduleMaintenance - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1.Lustre.RescheduleMaintenance"
UpdateInstance
- 方法:
google.cloud.lustre.v1.Lustre.UpdateInstance - 稽核記錄類型:管理員活動
- 權限:
lustre.instances.update - ADMIN_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1.Lustre.UpdateInstance"
google.cloud.lustre.v1alpha.Lustre
屬於 google.cloud.lustre.v1alpha.Lustre 的方法會產生以下稽核記錄。
CreateInstance
- 方法:
google.cloud.lustre.v1alpha.Lustre.CreateInstance - 稽核記錄類型:管理員活動
- 權限:
lustre.instances.create - ADMIN_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1alpha.Lustre.CreateInstance"
DeleteInstance
- 方法:
google.cloud.lustre.v1alpha.Lustre.DeleteInstance - 稽核記錄類型:管理員活動
- 權限:
lustre.instances.delete - ADMIN_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1alpha.Lustre.DeleteInstance"
ExportData
- 方法:
google.cloud.lustre.v1alpha.Lustre.ExportData - 稽核記錄類型:資料存取
- 權限:
lustre.instances.exportData - DATA_READ
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1alpha.Lustre.ExportData"
GetInstance
- 方法:
google.cloud.lustre.v1alpha.Lustre.GetInstance - 稽核記錄類型:資料存取
- 權限:
lustre.instances.get - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1alpha.Lustre.GetInstance"
ImportData
- 方法:
google.cloud.lustre.v1alpha.Lustre.ImportData - 稽核記錄類型:資料存取
- 權限:
lustre.instances.importData - DATA_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1alpha.Lustre.ImportData"
ListInstances
- 方法:
google.cloud.lustre.v1alpha.Lustre.ListInstances - 稽核記錄類型:資料存取
- 權限:
lustre.instances.list - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1alpha.Lustre.ListInstances"
RescheduleMaintenance
- 方法:
google.cloud.lustre.v1alpha.Lustre.RescheduleMaintenance - 稽核記錄類型:管理員活動
- 權限:
lustre.instances.rescheduleMaintenance - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1alpha.Lustre.RescheduleMaintenance"
UpdateInstance
- 方法:
google.cloud.lustre.v1alpha.Lustre.UpdateInstance - 稽核記錄類型:管理員活動
- 權限:
lustre.instances.update - ADMIN_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.lustre.v1alpha.Lustre.UpdateInstance"
google.longrunning.Operations
屬於 google.longrunning.Operations 的方法會產生以下稽核記錄。
CancelOperation
- 方法:
google.longrunning.Operations.CancelOperation - 稽核記錄類型:管理員活動
- 權限:
lustre.operations.cancel - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- 方法:
google.longrunning.Operations.DeleteOperation - 稽核記錄類型:管理員活動
- 權限:
lustre.operations.delete - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- 方法:
google.longrunning.Operations.GetOperation - 稽核記錄類型:資料存取
- 權限:
lustre.operations.get - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- 方法:
google.longrunning.Operations.ListOperations - 稽核記錄類型:資料存取
- 權限:
lustre.operations.list - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.longrunning.Operations.ListOperations"
不會產生稽核記錄的方法
某些方法可能不會產生稽核記錄,原因包括以下一或多項:
- 該方法的流量使用量高,若產生稽核記錄,會導致記錄與儲存成本過高。
- 稽核價值低。
- 其他稽核記錄或平台記錄已涵蓋該方法的活動。
下列方法不會產生稽核記錄:
google.cloud.location.Locations.GetLocationgoogle.cloud.location.Locations.ListLocationsgoogle.cloud.lustre.v1.Lustre.CreateMirrorgoogle.cloud.lustre.v1.Lustre.DeleteMirrorgoogle.cloud.lustre.v1.Lustre.GetDirectoryPolicygoogle.cloud.lustre.v1.Lustre.GetMirrorgoogle.cloud.lustre.v1.Lustre.ListDirectoryPoliciesgoogle.cloud.lustre.v1.Lustre.ListMirrorsgoogle.cloud.lustre.v1.Lustre.UpdateMirrorgoogle.cloud.lustre.v1alpha.Lustre.CreateMirrorgoogle.cloud.lustre.v1alpha.Lustre.DeleteMirrorgoogle.cloud.lustre.v1alpha.Lustre.GetDirectoryPolicygoogle.cloud.lustre.v1alpha.Lustre.GetMirrorgoogle.cloud.lustre.v1alpha.Lustre.ListDirectoryPoliciesgoogle.cloud.lustre.v1alpha.Lustre.ListMirrorsgoogle.cloud.lustre.v1alpha.Lustre.UpdateMirrorgoogle.longrunning.Operations.WaitOperation