רישום ביומני ביקורת של Gemini Cloud Assist

שירותי Google Cloud יוצרים יומני ביקורת שבהם מתועדים אירועי גישה למשאבי Google Cloud והפעולות שהאדמינים עשו בהם.במאמר הזה מפורטות השיטות שנבדקו ב-Gemini Cloud Assist. אתם יכולים לקרוא מידע נוסף על יומני הביקורת של Cloud במאמרים האלה:

שם השירות

כדי לראות את יומני הביקורת של Gemini Cloud Assist:

  1. נכנסים לדף Logs Explorer במסוף Google Cloud :

    כניסה לדף Logs Explorer

  2. מעתיקים את השאילתה הבאה לשדה 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 של ה-API ברשימה הבאה שמסומנות ב-(LRO) הן פעולות ממושכות. בדרך כלל, ה-methods האלה יוצרות שתי רשומות ביומן הביקורת: אחת כשהפעולה מתחילה ואחת כשהיא מסתיימת. אתם יכולים לקרוא מידע נוסף במאמר בנושא יומני ביקורת של פעולות ממושכות.
סוג ההרשאה Methods
ADMIN_READ google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigation
google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationRevision
google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationRevisions
google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigations
google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigation
google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationRevision
google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationRevisions
google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigations
GetIamPolicy
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
ADMIN_WRITE google.cloud.geminicloudassist.v1.InvestigationService.CreateInvestigation
google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigation
google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationRevision
google.cloud.geminicloudassist.v1.InvestigationService.RunInvestigationRevision (LRO)
google.cloud.geminicloudassist.v1.InvestigationService.UpdateInvestigation
google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigation
google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationRevision
google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigation
google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationRevision
google.cloud.geminicloudassist.v1alpha.InvestigationService.ModifyInvestigationRevision
google.cloud.geminicloudassist.v1alpha.InvestigationService.RunInvestigationRevision (LRO)
google.cloud.geminicloudassist.v1alpha.InvestigationService.UpdateInvestigation
SetIamPolicy
google.longrunning.Operations.CancelOperation
google.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.CreateTaskPushNotificationConfig
  • a2a.v1.A2AService.DeleteTaskPushNotificationConfig
  • a2a.v1.A2AService.GetAgentCard
  • a2a.v1.A2AService.GetTaskPushNotificationConfig
  • a2a.v1.A2AService.ListTaskPushNotificationConfig
  • google.cloud.geminicloudassist.v1alpha.McpProxy.AskCloudAssist
  • google.cloud.geminicloudassist.v1alpha.McpProxy.DesignInfra
  • google.cloud.geminicloudassist.v1alpha.McpProxy.InvestigateIssue
  • google.cloud.geminicloudassist.v1alpha.McpProxy.InvokeOperation
  • google.cloud.geminicloudassist.v1alpha.McpProxy.OptimizeCosts
  • google.cloud.location.Locations.GetLocation
  • google.cloud.location.Locations.ListLocations
  • google.longrunning.Operations.WaitOperation
  • lf.a2a.v1.A2AService.CancelTask
  • lf.a2a.v1.A2AService.CreateTaskPushNotificationConfig
  • lf.a2a.v1.A2AService.DeleteTaskPushNotificationConfig
  • lf.a2a.v1.A2AService.GetExtendedAgentCard
  • lf.a2a.v1.A2AService.GetTask
  • lf.a2a.v1.A2AService.GetTaskPushNotificationConfig
  • lf.a2a.v1.A2AService.ListTaskPushNotificationConfigs
  • lf.a2a.v1.A2AService.ListTasks
  • lf.a2a.v1.A2AService.SendMessage
  • lf.a2a.v1.A2AService.SendStreamingMessage
  • lf.a2a.v1.A2AService.SubscribeToTask