שירותי Google Cloud יוצרים יומני ביקורת שבהם מתועדים אירועי גישה למשאבי Google Cloud והפעולות שהאדמינים עשו בהם.במאמר הזה מפורטות השיטות שנבדקו ב-Gemini Cloud Assist. אתם יכולים לקרוא מידע נוסף על יומני הביקורת של Cloud במאמרים האלה:
- הסוגים של יומני הביקורת
- המבנה של רשומות ביומני הביקורת
- שמירה וניתוב של יומני ביקורת
- מחירון מקוצר של Cloud Logging
- הפעלת יומני ביקורת של גישה לנתונים
שם השירות
כדי לראות את יומני הביקורת של Gemini Cloud Assist:
נכנסים לדף Logs Explorer במסוף Google Cloud :
מעתיקים את השאילתה הבאה לשדה Query ב-Logs Explorer ולוחצים על Run query.
protoPayload.serviceName="geminicloudassist.googleapis.com"
קודי Method לפי סוג ההרשאה
לכל הרשאה ב-IAM יש מאפיין type עם enum שיכול להיות אחד מארבעת הערכים הבאים: ADMIN_READ, ADMIN_WRITE, DATA_READ או DATA_WRITE. כשקוראים ל-method, Gemini Cloud Assist יוצר יומן ביקורת שהקטגוריה שלו תלויה במאפיין type של ההרשאה שנדרשת לביצוע ה-method.
ה-methods שבשבילן צריך הרשאה ב-IAM עם הערכים DATA_READ, DATA_WRITE או ADMIN_READ במאפיין type יוצרות יומני ביקורת של Data Access.
ה-methods שבשבילן צריך הרשאה ב-IAM עם הערכים ADMIN_WRITE במאפיין type יוצרות יומני ביקורת של Admin Activity.
| סוג ההרשאה | Methods |
|---|---|
ADMIN_READ |
google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationgoogle.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationRevisiongoogle.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationRevisionsgoogle.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationsgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationRevisiongoogle.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationRevisionsgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationsGetIamPolicygoogle.longrunning.Operations.GetOperationgoogle.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.geminicloudassist.v1.InvestigationService.CreateInvestigationgoogle.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationgoogle.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationRevisiongoogle.cloud.geminicloudassist.v1.InvestigationService.RunInvestigationRevision (LRO)google.cloud.geminicloudassist.v1.InvestigationService.UpdateInvestigationgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationRevisiongoogle.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationRevisiongoogle.cloud.geminicloudassist.v1alpha.InvestigationService.ModifyInvestigationRevisiongoogle.cloud.geminicloudassist.v1alpha.InvestigationService.RunInvestigationRevision (LRO)google.cloud.geminicloudassist.v1alpha.InvestigationService.UpdateInvestigationSetIamPolicygoogle.longrunning.Operations.CancelOperationgoogle.longrunning.Operations.DeleteOperation |
יומני ביקורת של ממשק ה-API
במאמר בנושא ניהול הזהויות והרשאות הגישה (IAM) ל-Gemini Cloud Assist מוסבר איך מתבצעת הבדיקה של ההרשאות לכל method, ואילו הרשאות נבדקות.
google.cloud.geminicloudassist.v1.InvestigationService
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.geminicloudassist.v1.InvestigationService.
CreateInvestigation
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.CreateInvestigation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigations.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.CreateInvestigation"
DeleteInvestigation
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigations.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigation"
DeleteInvestigationRevision
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationRevision - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigationRevisions.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationRevision"
GetInvestigation
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigation - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigations.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigation"
GetInvestigationRevision
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationRevision - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigationRevisions.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationRevision"
ListInvestigationRevisions
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationRevisions - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigationRevisions.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationRevisions"
ListInvestigations
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigations - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigations.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigations"
RunInvestigationRevision
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.RunInvestigationRevision - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigationRevisions.run - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.RunInvestigationRevision"
UpdateInvestigation
- Method:
google.cloud.geminicloudassist.v1.InvestigationService.UpdateInvestigation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigations.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.UpdateInvestigation"
google.cloud.geminicloudassist.v1alpha.InvestigationService
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.geminicloudassist.v1alpha.InvestigationService.
CreateInvestigation
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigations.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigation"
CreateInvestigationRevision
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationRevision - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigationRevisions.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationRevision"
DeleteInvestigation
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigations.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigation"
DeleteInvestigationRevision
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationRevision - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigationRevisions.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationRevision"
GetInvestigation
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigation - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigations.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigation"
GetInvestigationRevision
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationRevision - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigationRevisions.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationRevision"
ListInvestigationRevisions
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationRevisions - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigationRevisions.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationRevisions"
ListInvestigations
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigations - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigations.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigations"
ModifyInvestigationRevision
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.ModifyInvestigationRevision - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigationRevisions.modify - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.ModifyInvestigationRevision"
RunInvestigationRevision
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.RunInvestigationRevision - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigationRevisions.run - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.RunInvestigationRevision"
UpdateInvestigation
- Method:
google.cloud.geminicloudassist.v1alpha.InvestigationService.UpdateInvestigation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigations.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.UpdateInvestigation"
google.iam.v1.IAMPolicy
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.iam.v1.IAMPolicy.
GetIamPolicy
- Method:
GetIamPolicy - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.investigations.getIamPolicy - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="GetIamPolicy"
SetIamPolicy
- Method:
SetIamPolicy - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.investigations.setIamPolicy - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="SetIamPolicy"
google.longrunning.Operations
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.longrunning.Operations.
CancelOperation
- Method:
google.longrunning.Operations.CancelOperation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.operations.cancel - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- Method:
google.longrunning.Operations.DeleteOperation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
geminicloudassist.operations.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- Method:
google.longrunning.Operations.GetOperation - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.operations.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- Method:
google.longrunning.Operations.ListOperations - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
geminicloudassist.operations.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.ListOperations"
אילו methods לא יוצרות יומני ביקורת
יכולות להיות כמה סיבות שב-method מסוימת לא נוצרים יומני ביקורת:
- מדובר ב-method שיש בה נפח גבוה של יומנים, שיצירה שלהם עלולה לגרור עלויות גבוהות של אחסון ויצירה.
- הערך של הביקורת נמוך.
- כבר יש יומן ביקורת או יומן פלטפורמה אחרים שמכסים את ה-method.
ה-methods הבאות לא יוצרות יומני ביקורת:
a2a.v1.A2AService.CreateTaskPushNotificationConfiga2a.v1.A2AService.DeleteTaskPushNotificationConfiga2a.v1.A2AService.GetAgentCarda2a.v1.A2AService.GetTaskPushNotificationConfiga2a.v1.A2AService.ListTaskPushNotificationConfiggoogle.cloud.geminicloudassist.v1alpha.McpProxy.AskCloudAssistgoogle.cloud.geminicloudassist.v1alpha.McpProxy.DesignInfragoogle.cloud.geminicloudassist.v1alpha.McpProxy.InvestigateIssuegoogle.cloud.geminicloudassist.v1alpha.McpProxy.InvokeOperationgoogle.cloud.geminicloudassist.v1alpha.McpProxy.OptimizeCostsgoogle.cloud.location.Locations.GetLocationgoogle.cloud.location.Locations.ListLocationsgoogle.longrunning.Operations.WaitOperationlf.a2a.v1.A2AService.CancelTasklf.a2a.v1.A2AService.CreateTaskPushNotificationConfiglf.a2a.v1.A2AService.DeleteTaskPushNotificationConfiglf.a2a.v1.A2AService.GetExtendedAgentCardlf.a2a.v1.A2AService.GetTasklf.a2a.v1.A2AService.GetTaskPushNotificationConfiglf.a2a.v1.A2AService.ListTaskPushNotificationConfigslf.a2a.v1.A2AService.ListTaskslf.a2a.v1.A2AService.SendMessagelf.a2a.v1.A2AService.SendStreamingMessagelf.a2a.v1.A2AService.SubscribeToTask