רישום ביומן הביקורת של reCAPTCHA

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

שם השירות

כדי להציג את יומני הביקורת של reCAPTCHA:

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

    כניסה לדף Logs Explorer

  2. מעתיקים את השאילתה הבאה לשדה Query ב-Logs Explorer ולוחצים על Run query.

        protoPayload.serviceName="recaptchaenterprise.googleapis.com"
      

קודי Method לפי סוג ההרשאה

לכל הרשאה ב-IAM יש מאפיין type עם enum שיכול להיות אחד מארבעת הערכים הבאים: ADMIN_READ,‏ ADMIN_WRITE,‏ DATA_READ או DATA_WRITE. כשקוראים ל-method, ב-reCAPTCHA נוצר יומן ביקורת שהקטגוריה שלו תלויה במאפיין 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.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListIpOverrides
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships
ADMIN_WRITE google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AddIpOverride
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RemoveIpOverride
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey
DATA_WRITE google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment

יומני ביקורת של ממשק ה-API

במאמר בנושא ניהול הזהויות והרשאות הגישה (IAM) ל-reCAPTCHA מוסבר איך מתבצעת הבדיקה של ההרשאות לכל method ואילו הרשאות נבדקות.

google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService

יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.

AddIpOverride

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AddIpOverride
  • סוג יומן הביקורת: פעילות אדמין
  • הרשאות:
    • recaptchaenterprise.keys.update - ADMIN_WRITE
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AddIpOverride"

AnnotateAssessment

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • recaptchaenterprise.assessments.annotate - DATA_WRITE
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment"

CreateAssessment

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • recaptchaenterprise.assessments.create - DATA_WRITE
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment"

CreateFirewallPolicy

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy
  • סוג יומן הביקורת: פעילות אדמין
  • הרשאות:
    • recaptchaenterprise.firewallpolicies.create - ADMIN_WRITE
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy"

CreateKey

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey
  • סוג יומן הביקורת: פעילות אדמין
  • הרשאות:
    • recaptchaenterprise.keys.create - ADMIN_WRITE
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey"

DeleteFirewallPolicy

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy
  • סוג יומן הביקורת: פעילות אדמין
  • הרשאות:
    • recaptchaenterprise.firewallpolicies.delete - ADMIN_WRITE
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy"

DeleteKey

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey
  • סוג יומן הביקורת: פעילות אדמין
  • הרשאות:
    • recaptchaenterprise.keys.delete - ADMIN_WRITE
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey"

GetFirewallPolicy

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • recaptchaenterprise.firewallpolicies.get - ADMIN_READ
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy"

GetKey

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • recaptchaenterprise.keys.get - ADMIN_READ
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey"

GetMetrics

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • recaptchaenterprise.metrics.get - ADMIN_READ
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics"

ListFirewallPolicies

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • recaptchaenterprise.firewallpolicies.list - ADMIN_READ
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies"

ListIpOverrides

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListIpOverrides
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • recaptchaenterprise.keys.get - ADMIN_READ
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListIpOverrides"

ListKeys

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • recaptchaenterprise.keys.list - ADMIN_READ
  • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
  • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys"

ListRelatedAccountGroupMemberships

  • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships
  • סוג יומן הביקורת: גישה לנתונים
  • הרשאות:
    • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
    • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships"

    ListRelatedAccountGroups

    • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups
    • סוג יומן הביקורת: גישה לנתונים
    • הרשאות:
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups"

      MigrateKey

      • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey
      • סוג יומן הביקורת: פעילות אדמין
      • הרשאות:
        • recaptchaenterprise.keys.update - ADMIN_WRITE
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey"

      RemoveIpOverride

      • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RemoveIpOverride
      • סוג יומן הביקורת: פעילות אדמין
      • הרשאות:
        • recaptchaenterprise.keys.update - ADMIN_WRITE
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RemoveIpOverride"

      ReorderFirewallPolicies

      • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies
      • סוג יומן הביקורת: פעילות אדמין
      • הרשאות:
        • recaptchaenterprise.firewallpolicies.update - ADMIN_WRITE
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies"

      RetrieveLegacySecretKey

      • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey
      • סוג יומן הביקורת: גישה לנתונים
      • הרשאות:
        • recaptchaenterprise.keys.retrievelegacysecretkey - ADMIN_READ
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey"

      SearchRelatedAccountGroupMemberships

      • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships
      • סוג יומן הביקורת: גישה לנתונים
      • הרשאות:
        • recaptchaenterprise.relatedaccountgroupmemberships.list - ADMIN_READ
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships"

      UpdateFirewallPolicy

      • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy
      • סוג יומן הביקורת: פעילות אדמין
      • הרשאות:
        • recaptchaenterprise.firewallpolicies.update - ADMIN_WRITE
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy"

      UpdateKey

      • Method:‏ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey
      • סוג יומן הביקורת: פעילות אדמין
      • הרשאות:
        • recaptchaenterprise.keys.update - ADMIN_WRITE
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey"

      google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1

      יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.

      CreateAssessment

      • Method:‏ google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment
      • סוג יומן הביקורת: גישה לנתונים
      • הרשאות:
        • recaptchaenterprise.assessments.create - PERMISSION_TYPE_UNSPECIFIED
      • ה-method היא פעולה ממושכת או פעולת סטרימינג: לא.
      • סינון לפי ה-method: ‏ protoPayload.methodName="google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment"

      אילו methods לא יוצרות יומני ביקורת

      יכולות להיות כמה סיבות שב-method מסוימת לא נוצרים יומני ביקורת:

      • מדובר ב-method שיש בה נפח גבוה של יומנים, שיצירה שלהם עלולה לגרור עלויות גבוהות של אחסון ויצירה.
      • הערך של הביקורת נמוך.
      • כבר יש יומן ביקורת או יומן פלטפורמה אחרים שמכסים את ה-method.

      ה-methods הבאות לא יוצרות יומני ביקורת:

      • google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment